Hi Ankur,
> 
> In the IPSEC ESN test vector the cipher offset for encryption
> should be 8 bytes which is the size of esp header.
> This patch also changes the ciphertext and the digest reference
> data against which the operaton result is validated.
> 
> Fixes: 699741912d71 ("test/crypto: add case for auth only trailer")
> 
> Signed-off-by: Ankur Dwivedi <adwiv...@marvell.com>
> ---

Why do we need this change?
The existing test case is to demonstrate a generic case where we can
have an auth only trailer as well. It is similar to a case of IPSEC ESN
but not exactly IPSec. Cipher offset can be anything as per the app
requirement.
I don't think there is anything wrong in the vector. It should pass in
every hardware without any issue.

Regards,
Akhil

Reply via email to