[dpdk-dev] [PATCH] test/crypto: change cipher offset for esn vector
Akhil Goyal
akhil.goyal at nxp.com
Mon Jul 6 14:23:33 CEST 2020
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 <adwivedi at 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
More information about the dev
mailing list