Re: [dpdk-dev] test/crypto: fix auth-cipher compare length in oop

2021-05-05 Thread Akhil Goyal
> > 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 destinatio

[dpdk-dev] test/crypto: fix auth-cipher compare length in oop

2021-05-05 Thread Kai Ji
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.no.

Re: [dpdk-dev] test/crypto: fix auth-cipher compare length in oop

2021-05-04 Thread Zhang, Roy Fan
> -Original Message- > From: Ji, Kai > Sent: Tuesday, May 4, 2021 3:20 PM > To: dev@dpdk.org > Cc: damianx.no...@intel.com; Zhang, Roy Fan ; > Ji, Kai > Subject: [dpdk-dev] test/crypto: fix auth-cipher compare length in oop > > For out-of-place operations, co

[dpdk-dev] test/crypto: fix auth-cipher compare length in oop

2021-05-04 Thread Kai Ji
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.no.