X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=test%2Ftest%2Ftest_cryptodev_kasumi_test_vectors.h;h=ee6ddefcc334a2b223164647a8c4e7246ba58605;hb=681f540da52bfa2a86b283d05191af597842ab8a;hp=6a7efb89fbf57ca0992cbe55759b418792aabd7d;hpb=acf8616901b54af120758360488f72718f651768;p=dpdk.git diff --git a/test/test/test_cryptodev_kasumi_test_vectors.h b/test/test/test_cryptodev_kasumi_test_vectors.h index 6a7efb89fb..ee6ddefcc3 100644 --- a/test/test/test_cryptodev_kasumi_test_vectors.h +++ b/test/test/test_cryptodev_kasumi_test_vectors.h @@ -1,7 +1,7 @@ /*- * BSD LICENSE * - * Copyright(c) 2016 Intel Corporation. All rights reserved. + * Copyright(c) 2016-2017 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -42,13 +42,13 @@ struct kasumi_test_data { struct { uint8_t data[64] __rte_aligned(16); unsigned len; - } iv; + } cipher_iv; /* Includes: COUNT (4 bytes) and FRESH (4 bytes) */ struct { uint8_t data[8]; unsigned len; - } aad; + } auth_iv; struct { uint8_t data[1024]; /* Data may include direction bit */ @@ -88,7 +88,7 @@ struct kasumi_test_data kasumi_test_case_1 = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x72, 0xA4, 0xF2, 0x0F, 0x64, 0x00, 0x00, 0x00 }, @@ -143,7 +143,7 @@ struct kasumi_test_data kasumi_test_case_2 = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00 }, @@ -188,13 +188,13 @@ struct kasumi_test_data kasumi_test_case_3 = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 }, .len = 8 }, - .aad = { + .auth_iv = { .data = { 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49 }, @@ -237,7 +237,7 @@ struct kasumi_test_data kasumi_test_case_4 = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x39, 0x8A, 0x59, 0xB4, 0x2C, 0x00, 0x00, 0x00, }, @@ -274,7 +274,7 @@ struct kasumi_test_data kasumi_test_case_5 = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00 }, @@ -331,13 +331,13 @@ struct kasumi_test_data kasumi_test_case_6 = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 }, .len = 8 }, - .aad = { + .auth_iv = { .data = { 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49 },