elements/src/crypto
Andrew Poelstra c4182106af Merge 2b45cf0bcd into merged_master (Bitcoin PR bitcoin/bitcoin#19521)
This is part of the "UTXO Set Statistics" project in Core, which aims
to make things like "checking coin supply" faster. This stuff, and
related things in coinstats.cpp, have always been broken for Elements
in the sense that we consider only explicit outputs and we ignore
assets (so everything just gets added together to get a meaningless
total). It probably wouldn't be too hard to restrict this to only
consider policyAsset, but it's out of scope for a rebase IMO.

Also, I think this situation is fine .. I don't understand the motivation
for this or why Core is merging this when they refuse to merge an address
index .. but I guess we'll see if there are users who care about this data
and who care about it being meaningful on Elements.

Also, apologies for the big diff -- there were some mechanical changes
to deal with CT amounts, but most of the changes related to the difference
in how fees are accounted for. While I'm not thrilled with this PR, its
functional test is really good! So I think what I eventually came up with
is internally consistent.
2021-07-04 19:51:38 +00:00
..
ctaes
aes.cpp
aes.h
chacha20.cpp
chacha20.h
chacha_poly_aead.cpp
chacha_poly_aead.h doc: Use https URLs where possible 2021-01-04 12:23:16 +08:00
common.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
hkdf_sha256_32.cpp
hkdf_sha256_32.h
hmac_sha256.cpp
hmac_sha256.h
hmac_sha512.cpp
hmac_sha512.h
muhash.cpp crypto: Make MuHash Remove method efficient 2021-04-19 20:28:46 +02:00
muhash.h refactor: Improve encapsulation between MuHash3072 and Num3072 2021-01-24 16:28:27 +01:00
poly1305.cpp
poly1305.h
ripemd160.cpp
ripemd160.h
sha1.cpp
sha1.h
sha3.cpp Unroll Keccak-f implementation 2020-09-06 18:35:23 -07:00
sha3.h
sha256.cpp Merge 99813a9745 into merged_master (Bitcoin PR #17829) 2020-11-14 16:52:02 +00:00
sha256.h
sha256_avx2.cpp
sha256_shani.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
sha256_sse4.cpp doc: Use https URLs where possible 2021-01-04 12:23:16 +08:00
sha256_sse41.cpp
sha512.cpp
sha512.h
siphash.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
siphash.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00