]> 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:04:23 +0000 (10:04 +0100)
commit607a46d003f472d4bce646f3df6e85725094d68a
treedadeac6f0db77d97d4e405ee77ec554441c3a438
parent539b17b6580f2ca235b5e1db529e87793b8a807c
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)
apps/speed.c