forked from lightningdevkit/rust-lightning
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
ChaCha20::get_single_block
return a full, single block
While the current uses for `ChaCha20::get_single_block` only actually want 32 bytes, a ChaCha20 block is 64 bytes, and future uses may want another 32 bytes, so we can go ahead and return the whole block when asked for one.
- Loading branch information
1 parent
6777783
commit 224008d
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters