forked from tink-crypto/tink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EVP_CIPHER is the legacy OpenSSL API that's kind of a disaster, hence recent issues around null pointers and the like. New code should be written against EVP_AEAD which is much more sensible. Notably, this file is about half as long now. On top of things, this should be more efficient as it allows BoringSSL to reuse the AES key schedule. (EVP_AEAD_CTX is immutable after initialization. It can used multiple times or concurrently or whatever.) PiperOrigin-RevId: 211020450 GitOrigin-RevId: 0734d56e3432c24e9e75e78accefd6ae36eb9be4
- Loading branch information
1 parent
e699fe1
commit 48d066c
Showing
2 changed files
with
51 additions
and
164 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