Page MenuHomePhabricator

crypto: add the ChaCha20Poly1305 AEAD as specified in RFC8439
Needs ReviewPublic

Authored by PiRK on Tue, Dec 2, 14:47.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

This adds an implementation of the ChaCha20Poly1305 AEAD exactly matching
the version specified in RFC8439 section 2.8, including tests and official
test vectors.

This is a partial backport of core#28008
https://github.com/bitcoin/bitcoin/pull/28008/commits/9ff0768bdcca06836ccc673eacfa648e801930cb

Depends on D19017

Test Plan

ninja all check-all