[EXTERNAL] [PATCH v2] app/crypto-perf: fix plaintext size exceeds buffer size

Akhil Goyal gakhil at marvell.com
Wed Oct 1 09:48:46 CEST 2025


> When test vector plaintext exceeds buffer size, only the first
> max_buffer_size bytes are processed, causing incorrect digest
> verification (computed vs expected mismatch).
> 
> This patch fixes this issue by checking that the plaintext size is
> larger than the buffer size and returns an error with a log.
> 
> Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Shani Peretz <shperetz at nvidia.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>

Applied to dpdk-next-crypto
Thanks.


More information about the dev mailing list