-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always allocate new toAuthData, and specify the size needed.
This ensures that encrypt or decrypt do not have unexpected side-effects if associated data is a slice of a bigger byte array. See test. PiperOrigin-RevId: 534332269 Change-Id: I063cea81c498b3a6ae2e4841461226dbda22190f
- Loading branch information
1 parent
dde7729
commit 71a1dbb
Showing
2 changed files
with
35 additions
and
5 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