-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libutee: Remove buffering for AES GCM
GCM mode of AES algorithm is essentially a stream cipher. It means that there is no requirements for input data size related to block size. And every time when AEUpdate is called input data must be processed and output immediately generated. That is why it is incorrect to apply for AES GCM the input buffering on AEUpdate call when size is not multiple of block size. Signed-off-by: Bogdan Liulko <bogdan.liulko@globallogic.com> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: Bogdan Liulko <bogdan.liulko@globallogic.com> (R-Car) Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
- Loading branch information
1 parent
351b242
commit afc0c18
Showing
1 changed file
with
60 additions
and
27 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