[dpdk-dev] test/crypto: fix auth-cipher compare length in oop
Zhang, Roy Fan
roy.fan.zhang at intel.com
Tue May 4 18:10:34 CEST 2021
> -----Original Message-----
> From: Ji, Kai <kai.ji at intel.com>
> Sent: Tuesday, May 4, 2021 3:20 PM
> To: dev at dpdk.org
> Cc: damianx.nowak at intel.com; Zhang, Roy Fan <roy.fan.zhang at intel.com>;
> Ji, Kai <kai.ji at intel.com>
> Subject: [dpdk-dev] test/crypto: fix auth-cipher compare length in oop
>
> For out-of-place operations, comparing expected ciphertext with
> the operation result should skip cipher_offset bytes, as those
> will not be copied from source to the destination buffer, making
> the tests fail.
>
> Fixes: 02ed7b3871d6 ("test/crypto: add SNOW3G test cases for auth-cipher")
> Cc: damianx.nowak at intel.com
>
> Signed-off-by: Kai Ji <kai.ji at intel.com>
> Signed-off-by: Damian Nowak <damianx.nowak at intel.com>
> ---
> app/test/test_cryptodev.c | 24 ++++++++++++++++--------
> 1 file changed, 16 insertions(+), 8 deletions(-)
>
Welcome Kai!
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
More information about the dev
mailing list