Page MenuHomePhabricator

bench: add benchmark for FSChaCha20Poly1305
Needs ReviewPublic

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

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Add a benchmark for FSChaCha20Poly1305 encryption, so the overhead of key
generation and authentication can be observed for various message sizes.

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

Test Plan

ninja bench-bitcoin