Add get_single_block to chacha20 module
authorValentine Wallace <vwallace@protonmail.com>
Tue, 30 Nov 2021 00:36:59 +0000 (19:36 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 16 Dec 2021 23:30:52 +0000 (15:30 -0800)
commit1d516a6fc505783ce752f0289322ce73ae10bcf4
treed28e836e6acc1c8fe8ab97b7ca34b8f042048a90
parent063b7583c13e17e339fc9f3083ca3d54e2d2d050
Add get_single_block to chacha20 module

In the next commit, we'll want to get a single block from a chacha stream that
takes a 16-byte nonce.
lightning/src/util/chacha20.rs