-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid an unnecessary copy on encrypt and decrypt in AesSiv.
- For encryption, we first create the final ciphertext, and then let the aesCtr cipher write its output directly there into the correct location. - For decryption, we let aesCtr directly read from the correct location. PiperOrigin-RevId: 646146249 Change-Id: I3cec17ac47275082c294683fe31605917897e755
- Loading branch information
1 parent
e13941d
commit ff90fb9
Showing
1 changed file
with
20 additions
and
8 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