HomePhabricator

Make unrestricted ChaCha20 cipher not waste keystream bytes

Description

Make unrestricted ChaCha20 cipher not waste keystream bytes

Summary:
Co-authored-by: dhruv <856960+dhruv@users.noreply.github.com>

This is a partial backport of core#26153
https://github.com/bitcoin/bitcoin/pull/26153/commits/12ff72476ac0dbf8add736ad3fb5fad2eeab156c
Depends on D18818

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Sep 21 2022, 20:42
PiRKCommitted on Thu, Oct 23, 17:41
PiRKPushed on Thu, Oct 23, 17:41
Reviewer
Restricted Project
Differential Revision
D18819: Make unrestricted ChaCha20 cipher not waste keystream bytes
Parents
rABC894eed691fed: Rename ChaCha20::Seek -> Seek64 to clarify multiple of 64
Branches
Unknown
Tags
Unknown