X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=test%2Ftest%2Ftest_cryptodev_zuc_test_vectors.h;h=a22e1edb42a6f1ca2d83857888cb38daaac26b4b;hb=681f540da52bfa2a86b283d05191af597842ab8a;hp=50fb53846ea02db4a6b7692c428d119f6fcb0c09;hpb=acf8616901b54af120758360488f72718f651768;p=dpdk.git diff --git a/test/test/test_cryptodev_zuc_test_vectors.h b/test/test/test_cryptodev_zuc_test_vectors.h index 50fb53846e..a22e1edb42 100644 --- a/test/test/test_cryptodev_zuc_test_vectors.h +++ b/test/test/test_cryptodev_zuc_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,7 +42,7 @@ struct wireless_test_data { struct { uint8_t data[64] __rte_aligned(16); unsigned len; - } iv; + } cipher_iv; struct { uint8_t data[2048]; @@ -69,7 +69,7 @@ struct wireless_test_data { struct { uint8_t data[64]; unsigned len; - } aad; + } auth_iv; struct { uint8_t data[64]; @@ -84,7 +84,7 @@ static struct wireless_test_data zuc_test_case_cipher_193b = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00, 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00 @@ -125,7 +125,7 @@ static struct wireless_test_data zuc_test_case_cipher_800b = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00, 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00 @@ -184,7 +184,7 @@ static struct wireless_test_data zuc_test_case_cipher_1570b = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x76, 0x45, 0x2E, 0xC1, 0x14, 0x00, 0x00, 0x00, 0x76, 0x45, 0x2E, 0xC1, 0x14, 0x00, 0x00, 0x00 @@ -267,7 +267,7 @@ static struct wireless_test_data zuc_test_case_cipher_2798b = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0xE4, 0x85, 0x0F, 0xE1, 0x84, 0x00, 0x00, 0x00, 0xE4, 0x85, 0x0F, 0xE1, 0x84, 0x00, 0x00, 0x00 @@ -388,7 +388,7 @@ static struct wireless_test_data zuc_test_case_cipher_4019b = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x27, 0x38, 0xCD, 0xAA, 0xD0, 0x00, 0x00, 0x00, 0x27, 0x38, 0xCD, 0xAA, 0xD0, 0x00, 0x00, 0x00 @@ -547,7 +547,7 @@ static struct wireless_test_data zuc_test_case_cipher_200b_auth_200b = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00, 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00 @@ -578,7 +578,7 @@ static struct wireless_test_data zuc_test_case_cipher_200b_auth_200b = { .validCipherLenInBits = { .len = 200 }, - .aad = { + .auth_iv = { .data = { 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00, 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 @@ -602,7 +602,7 @@ static struct wireless_test_data zuc_test_case_cipher_800b_auth_120b = { }, .len = 16 }, - .iv = { + .cipher_iv = { .data = { 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00, 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00 @@ -651,7 +651,7 @@ static struct wireless_test_data zuc_test_case_cipher_800b_auth_120b = { .validCipherLenInBits = { .len = 800 }, - .aad = { + .auth_iv = { .data = { 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00, 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 @@ -675,7 +675,7 @@ struct wireless_test_data zuc_test_case_auth_1b = { }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 @@ -703,7 +703,7 @@ struct wireless_test_data zuc_test_case_auth_90b = { }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0x56, 0x1E, 0xB2, 0xDD, 0xA0, 0x00, 0x00, 0x00, 0x56, 0x1E, 0xB2, 0xDD, 0xA0, 0x00, 0x00, 0x00 @@ -734,7 +734,7 @@ struct wireless_test_data zuc_test_case_auth_577b = { }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0xA9, 0x40, 0x59, 0xDA, 0x50, 0x00, 0x00, 0x00, 0x29, 0x40, 0x59, 0xDA, 0x50, 0x00, 0x80, 0x00 @@ -773,7 +773,7 @@ struct wireless_test_data zuc_test_case_auth_2079b = { }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0x05, 0x09, 0x78, 0x50, 0x80, 0x00, 0x00, 0x00, 0x85, 0x09, 0x78, 0x50, 0x80, 0x00, 0x80, 0x00 @@ -835,7 +835,7 @@ struct wireless_test_data zuc_test_auth_5670b = { }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0x56, 0x1E, 0xB2, 0xDD, 0xE0, 0x00, 0x00, 0x00, 0x56, 0x1E, 0xB2, 0xDD, 0xE0, 0x00, 0x00, 0x00 @@ -950,7 +950,7 @@ static struct wireless_test_data zuc_test_case_auth_128b = { .data = { 0x0 }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0x0 }, .len = 16 }, @@ -975,7 +975,7 @@ static struct wireless_test_data zuc_test_case_auth_2080b = { }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0x05, 0x09, 0x78, 0x50, 0x80, 0x00, 0x00, 0x00, 0x85, 0x09, 0x78, 0x50, 0x80, 0x00, 0x80, 0x00 @@ -1037,7 +1037,7 @@ static struct wireless_test_data zuc_test_case_auth_584b = { }, .len = 16 }, - .aad = { + .auth_iv = { .data = { 0xa9, 0x40, 0x59, 0xda, 0x50, 0x0, 0x0, 0x0, 0x29, 0x40, 0x59, 0xda, 0x50, 0x0, 0x80, 0x0