Skip to content

Commit 9fd085a

Browse files
committed
crypto: remove outdated variant of ChaCha20Poly1305 AEAD
Remove the variant of ChaCha20Poly1305 AEAD that was previously added in anticipation of BIP324 using it. BIP324 was updated to instead use rekeying wrappers around otherwise unmodified versions of the ChaCha20 stream cipher and the ChaCha20Poly1305 AEAD as specified in RFC8439.
1 parent f57e724 commit 9fd085a

8 files changed

+1
-605
lines changed

src/Makefile.am

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,6 @@ crypto_libbitcoin_crypto_base_la_LDFLAGS = $(AM_LDFLAGS) -static
546546
crypto_libbitcoin_crypto_base_la_SOURCES = \
547547
crypto/aes.cpp \
548548
crypto/aes.h \
549-
crypto/chacha_poly_aead.h \
550-
crypto/chacha_poly_aead.cpp \
551549
crypto/chacha20.h \
552550
crypto/chacha20.cpp \
553551
crypto/common.h \

src/Makefile.bench.include

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ bench_bench_bitcoin_SOURCES = \
2222
bench/block_assemble.cpp \
2323
bench/ccoins_caching.cpp \
2424
bench/chacha20.cpp \
25-
bench/chacha_poly_aead.cpp \
2625
bench/checkblock.cpp \
2726
bench/checkqueue.cpp \
2827
bench/crypto_hash.cpp \

src/Makefile.test.include

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ test_fuzz_fuzz_SOURCES = \
261261
test/fuzz/crypto_aes256.cpp \
262262
test/fuzz/crypto_aes256cbc.cpp \
263263
test/fuzz/crypto_chacha20.cpp \
264-
test/fuzz/crypto_chacha20_poly1305_aead.cpp \
265264
test/fuzz/crypto_common.cpp \
266265
test/fuzz/crypto_diff_fuzz_chacha20.cpp \
267266
test/fuzz/crypto_hkdf_hmac_sha256_l32.cpp \

src/bench/chacha_poly_aead.cpp

Lines changed: 0 additions & 126 deletions
This file was deleted.

src/crypto/chacha_poly_aead.cpp

Lines changed: 0 additions & 132 deletions
This file was deleted.

0 commit comments

Comments
 (0)