forked from kevintraynor/dpdk-stable-queue-1811
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/crypto: fix SNOW3G vector IV format
[ upstream commit 3271c24b295caa7ee3fe227225a2ce962757d9c4 ] Some of the cipher and authentication IVs did not follow the spec for SNOW3G algorithm [1]. Cipher IVs must have the last 3 bytes of each 8 byte block as 0x0. IV[4] and IV[12] must have the last 2 bits set to 0. Each 8 byte block is repeated. Auth IVs must also have a repeated 8 byte block. IV[8] and IV[14] may have a flipped bit based on direction. [1] https://www.gsma.com/aboutus/wp-content/uploads/2014/12/uea2uia2d1v21.pdf Fixes: 8bdf665 ("app/test: add SNOW 3G") Fixes: 24342ad ("test/crypto: check SNOW3G when digest is encrypted") Fixes: 02ed7b3 ("test/crypto: add SNOW3G test cases for auth-cipher") Fixes: 11c5485 ("test/crypto: add scatter-gather tests for IP and OOP") Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Tejasree Kondoj <ktejasree@marvell.com>
- Loading branch information
Showing
1 changed file
with
71 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters