Re: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256 bit key
From: Vidya Sagar Velumuri <hidden>
Date: 2021-10-30 12:26:06
Hi Pablo, Tried the test vector zuc256_test_case_auth_1 and the digest did not match with the generated digest in our platform. As per spec, IV[i] for i = 17 to 24 are 6-bit string occupying the 6 least signi cant bits of a byte. But in the vectors, The values in the IV(byte -17 to 24) are > 0x3f. Could you please elaborate how these bytes are considered for generation of digest. Regards Sagar ________________________________ From: De Lara Guarch, Pablo <redacted> Sent: 29 October 2021 18:07 To: Vidya Sagar Velumuri <redacted>; Ankur Dwivedi <redacted>; Anoob Joseph <redacted>; Tejasree Kondoj <redacted>; Nithin Kumar Dabilpuram <redacted>; Akhil Goyal <redacted>; Doherty, Declan <redacted> Cc: dev@dpdk.org <redacted> Subject: [EXT] RE: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256 bit key External Email ---------------------------------------------------------------------- Hi Vidya,
-----Original Message----- From: dev <redacted> On Behalf Of Vidya Sagar Velumuri Sent: Wednesday, October 27, 2021 9:41 AM To: adwivedi@marvell.com; anoobj@marvell.com; ktejasree@marvell.com; ndabilpuram@marvell.com; gakhil@marvell.com; Doherty, Declan [off-list ref] Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256 bit key Fix the IV and MAC in the test vectors added for zuc 256-bit key Fixes: fa5bf9345d4e (test/crypto: add ZUC cases with 256-bit keys) Signed-off-by: Vidya Sagar Velumuri <redacted>
The new vectors are failing for us. Could you check if the ones we added work for you? Thanks, Pablo