]> git.ipfire.org Git - thirdparty/openssl.git/commit
apps/speed.c: Fix the benchmarking for AEAD ciphers
authorMohammed Alhabib <zelda923@gmail.com>
Tue, 29 Oct 2024 09:00:54 +0000 (12:00 +0300)
committerTomas Mraz <tomas@openssl.org>
Mon, 4 Nov 2024 09:06:37 +0000 (10:06 +0100)
commit1904416273296bb8919140437d60a31569f627c2
tree65dc43fda0eb2655d4aafc66a33e2ad43c0563e8
parent0a3fa6543f09fe942a489a9295079cda8324d35d
apps/speed.c: Fix the benchmarking for AEAD ciphers

Fixed the benchmarking for the evp aead interface for ccm, gcm, ocb, and siv,
where decryption fails when executing
`openssl speed -evp aes-128-ccm -decrypt` and
`openssl speed -evp aes-128-gcm -decrypt`.

Related issues are [24686](https://github.com/openssl/openssl/issues/24686)
and [24250](https://github.com/openssl/openssl/issues/24250).
Now both encryption and decryption, with or without AAD, executes correctly
without issues.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25823)

(cherry picked from commit 607a46d003f472d4bce646f3df6e85725094d68a)
apps/speed.c