bitcoin/src/crypto
Dhruv Mehta cd37356ff9 [crypto] Fix K1/K2 use in ChaCha20-Poly1305 AEAD
BIP324 mentions K1 is used for the associated data and K2 is used for
the payload. The code does the opposite. This is not a security problem
but will be a problem across implementations based on the HKDF key
derivations.
2021-06-23 09:46:38 -07:00
..
ctaes Update ctaes 2016-12-08 17:09:07 -08:00
aes.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
aes.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha20.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha20.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha_poly_aead.cpp [crypto] Fix K1/K2 use in ChaCha20-Poly1305 AEAD 2021-06-23 09:46:38 -07:00
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 scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
hkdf_sha256_32.h Add HKDF HMAC_SHA256 L=32 implementations 2019-05-11 09:14:07 +02:00
hmac_sha256.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha256.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha512.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha512.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
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 Add Poly1305 implementation 2019-03-26 18:12:29 +01:00
poly1305.h Add Poly1305 implementation 2019-03-26 18:12:29 +01:00
ripemd160.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
ripemd160.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sha1.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha1.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sha3.cpp Unroll Keccak-f implementation 2020-09-06 18:35:23 -07:00
sha3.h Implement keccak-f[1600] and SHA3-256 2020-09-06 18:35:18 -07:00
sha256.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha256.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
sha256_avx2.cpp scripted-diff: Add missed copyright headers 2020-01-04 20:18:28 +02:00
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 scripted-diff: Add missed copyright headers 2020-01-04 20:18:28 +02:00
sha512.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha512.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
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