Skip to content

Commit

Permalink
apps/speed.c: Fix the benchmarking for AEAD ciphers
Browse files Browse the repository at this point in the history
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](openssl#24686)
and [24250](openssl#24250).
Now both encryption and decryption, with or without AAD, executes correctly
without issues.

Reviewed-by: Tom Cosgrove <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#25823)
  • Loading branch information
zelda923 authored and t8m committed Nov 4, 2024
1 parent 539b17b commit 607a46d
Showing 1 changed file with 285 additions and 75 deletions.
Loading

0 comments on commit 607a46d

Please sign in to comment.