HomePhabricator

crypto: remove outdated variant of ChaCha20Poly1305 AEAD

Description

crypto: remove outdated variant of ChaCha20Poly1305 AEAD

Summary:
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.

This is a partial backport of core#28008
https://github.com/bitcoin/bitcoin/pull/28008/commits/9fd085a1a49d317abcaf1492b71c48bf1a1b3007
Depends on D19016

Test Plan: ninja all check-all bench-bitcoin bitcoin-fuzzers

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D19017

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Jun 28 2023, 18:09
PiRKCommitted on Wed, Dec 3, 12:20
PiRKPushed on Wed, Dec 3, 12:20
Reviewer
Restricted Project
Differential Revision
D19017: crypto: remove outdated variant of ChaCha20Poly1305 AEAD
Parents
rABC2c7236d682f0: Switch all callers from poly1305_auth to Poly1305 class
Branches
Unknown
Tags
Unknown