test/crypto: replace wireless algos test vectors
PATCH 1/1 test/crypto: replace wireless algos test vectors
This patch replaces all KASUMI, SNOW3G, ZUC and all mixed crypto unit test vectors with randomly generated input arrays. All outputs were calculated and verified on both QAT PMD and appropriate software-only PMDs wherever possible.
--- .../test_cryptodev_kasumi_hash_test_vectors.h | 158 +- app/test/test_cryptodev_kasumi_test_vectors.h | 292 ++-- app/test/test_cryptodev_mixed_test_vectors.h | 1324 ++++++++--------- .../test_cryptodev_snow3g_hash_test_vectors.h | 644 ++++---- app/test/test_cryptodev_snow3g_test_vectors.h | 497 +++---- app/test/test_cryptodev_zuc_test_vectors.h | 1245 ++++++++-------- 6 files changed, 2076 insertions(+), 2084 deletions(-)
app/test/test_cryptodev_kasumi_hash_test_vectors.h +79 -79
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright(c) 2016-2017 Intel Corporation +* Copyright(c) 2016-2020 Intel Corporation */ #ifndef TEST_CRYPTODEV_KASUMI_HASH_TEST_VECTORS_H_
@@ -30,22 +30,22 @@ struct kasumi_hash_test_data {struct kasumi_hash_test_data kasumi_hash_test_case_1 = { .key = { .data = { -0x2B ,0xD6 ,0x45 ,0x9F ,0x82 ,0xC5 ,0xB3 ,0x00 , -0x95 ,0x2C ,0x49 ,0x10 ,0x48 ,0x81 ,0xFF ,0x48 +0xB5 ,0x03 ,0xF0 ,0x93 ,0x0C ,0x73 ,0xD4 ,0x70 , +0x4E ,0x1D ,0xCD ,0x1B ,0x3B ,0xCE ,0x70 ,0xCF }, .len =16 }, .plaintext = { .data = { -0x38 ,0xA6 ,0xF0 ,0x56 ,0x05 ,0xD2 ,0xEC ,0x49 , -0x6B ,0x22 ,0x77 ,0x37 ,0x29 ,0x6F ,0x39 ,0x3C , -0x80 ,0x79 ,0x35 ,0x3E ,0xDC ,0x87 ,0xE2 ,0xE8 , -0x05 ,0xD2 ,0xEC ,0x49 ,0xA4 ,0xF2 ,0xD8 ,0xE2 +0x56 ,0x1A ,0x0F ,0x7A ,0x14 ,0x63 ,0x13 ,0xB7 , +0x0E ,0x6C ,0x3A ,0xE5 ,0x4A ,0xA2 ,0x10 ,0xFE , +0x88 ,0xD1 ,0xE6 ,0x22 ,0x6F ,0x99 ,0xDC ,0xF3 , +0x79 ,0x09 ,0x9B ,0x56 ,0x3E ,0x5A ,0xCB ,0x94 }, .len =256 }, .digest = { - .data = {0xF6 ,0x3B ,0xD7 ,0x2C }, + .data = {0xE4 ,0x1C ,0x36 ,0x82 }, .len =4 } };
@@ -53,23 +53,23 @@ struct kasumi_hash_test_data kasumi_hash_test_case_1 = {struct kasumi_hash_test_data kasumi_hash_test_case_2 = { .key = { .data = { -0xD4 ,0x2F ,0x68 ,0x24 ,0x28 ,0x20 ,0x1C ,0xAF , -0xCD ,0x9F ,0x97 ,0x94 ,0x5E ,0x6D ,0xE7 ,0xB7 +0xD7 ,0x43 ,0x53 ,0x7E ,0xA3 ,0x26 ,0x57 ,0x83 , +0xCC ,0x68 ,0x1F ,0x16 ,0xAB ,0x3E ,0x4F ,0xD4 }, .len =16 }, .plaintext = { .data = { -0x3E ,0xDC ,0x87 ,0xE2 ,0xA4 ,0xF2 ,0xD8 ,0xE2 , -0xB5 ,0x92 ,0x43 ,0x84 ,0x32 ,0x8A ,0x4A ,0xE0 , -0x0B ,0x73 ,0x71 ,0x09 ,0xF8 ,0xB6 ,0xC8 ,0xDD , -0x2B ,0x4D ,0xB6 ,0x3D ,0xD5 ,0x33 ,0x98 ,0x1C , -0xEB ,0x19 ,0xAA ,0xD5 ,0x2A ,0x5B ,0x2B ,0xC3 +0xDD ,0x6F ,0xAD ,0xB6 ,0xC0 ,0x48 ,0xEB ,0xB4 , +0x35 ,0x2E ,0xD0 ,0xFB ,0x16 ,0xD3 ,0x9F ,0xF9 , +0x23 ,0x0B ,0xEE ,0x31 ,0x18 ,0x03 ,0x1E ,0x18 , +0xE0 ,0x10 ,0xC0 ,0x6E ,0x7D ,0x70 ,0xB1 ,0x5B , +0xE0 ,0x5F ,0x11 ,0xA0 ,0xA7 ,0xFC ,0x55 ,0xDD }, .len =320 }, .digest = { - .data = {0xA9 ,0xDA ,0xF1 ,0xFF }, + .data = {0x85 ,0xC2 ,0x18 ,0x91 }, .len =4 } };
@@ -77,25 +77,25 @@ struct kasumi_hash_test_data kasumi_hash_test_case_2 = {struct kasumi_hash_test_data kasumi_hash_test_case_3 = { .key = { .data = { -0xFD ,0xB9 ,0xCF ,0xDF ,0x28 ,0x93 ,0x6C ,0xC4 , -0x83 ,0xA3 ,0x18 ,0x69 ,0xD8 ,0x1B ,0x8F ,0xAB +0x2C ,0xE7 ,0xD1 ,0x10 ,0xF8 ,0x71 ,0x43 ,0x42 , +0xE3 ,0x36 ,0xF1 ,0xF1 ,0x6B ,0xF7 ,0x8B ,0x82 }, .len =16 }, .plaintext = { .data = { -0x36 ,0xAF ,0x61 ,0x44 ,0x98 ,0x38 ,0xF0 ,0x3A , -0x59 ,0x32 ,0xBC ,0x0A ,0xCE ,0x2B ,0x0A ,0xBA , -0x33 ,0xD8 ,0xAC ,0x18 ,0x8A ,0xC5 ,0x4F ,0x34 , -0x6F ,0xAD ,0x10 ,0xBF ,0x9D ,0xEE ,0x29 ,0x20 , -0xB4 ,0x3B ,0xD0 ,0xC5 ,0x3A ,0x91 ,0x5C ,0xB7 , -0xDF ,0x6C ,0xAA ,0x72 ,0x05 ,0x3A ,0xBF ,0xF3 , -0x80 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 +0xD8 ,0x0C ,0x7B ,0x32 ,0xAD ,0xE5 ,0x80 ,0xB6 , +0x20 ,0x7C ,0xAF ,0x4C ,0xBE ,0x58 ,0x4D ,0xE7 , +0x39 ,0xDB ,0x79 ,0x82 ,0xEC ,0xE3 ,0x89 ,0x93 , +0xD8 ,0xC3 ,0x70 ,0x91 ,0x9B ,0xB0 ,0x3C ,0x73 , +0xBD ,0xB8 ,0xA6 ,0x6A ,0x9D ,0x26 ,0x21 ,0xBE , +0xA3 ,0xD1 ,0x0B ,0x61 ,0x2A ,0x58 ,0x48 ,0x63 , +0x33 ,0xC2 ,0xE5 ,0x1F ,0xA6 ,0x6F ,0xB2 ,0x7E }, .len =448 }, .digest = { - .data = {0x15 ,0x37 ,0xD3 ,0x16 }, + .data = {0xC7 ,0xDB ,0xB4 ,0xC8 }, .len =4 } };
@@ -103,26 +103,26 @@ struct kasumi_hash_test_data kasumi_hash_test_case_3 = {struct kasumi_hash_test_data kasumi_hash_test_case_4 = { .key = { .data = { -0xC7 ,0x36 ,0xC6 ,0xAA ,0xB2 ,0x2B ,0xFF ,0xF9 , -0x1E ,0x26 ,0x98 ,0xD2 ,0xE2 ,0x2A ,0xD5 ,0x7E +0x01 ,0xEB ,0x6B ,0x5C ,0xD2 ,0x44 ,0x32 ,0x0D , +0x99 ,0x16 ,0x4F ,0x67 ,0x76 ,0x86 ,0xB1 ,0xE1 }, .len =16 }, .plaintext = { .data = { -0x14 ,0x79 ,0x3E ,0x41 ,0x03 ,0x97 ,0xE8 ,0xFD , -0xD0 ,0xA7 ,0xD4 ,0x63 ,0xDF ,0x9F ,0xB2 ,0xB2 , -0x78 ,0x83 ,0x3F ,0xA0 ,0x2E ,0x23 ,0x5A ,0xA1 , -0x72 ,0xBD ,0x97 ,0x0C ,0x14 ,0x73 ,0xE1 ,0x29 , -0x07 ,0xFB ,0x64 ,0x8B ,0x65 ,0x99 ,0xAA ,0xA0 , -0xB2 ,0x4A ,0x03 ,0x86 ,0x65 ,0x42 ,0x2B ,0x20 , -0xA4 ,0x99 ,0x27 ,0x6A ,0x50 ,0x42 ,0x70 ,0x09 , -0xC0 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 +0x74 ,0x5B ,0xDE ,0x1F ,0xA2 ,0x3F ,0x31 ,0x5C , +0x9A ,0x9D ,0xFB ,0x53 ,0x30 ,0x74 ,0x8C ,0xA8 , +0x5C ,0x0E ,0x79 ,0x88 ,0xAD ,0x54 ,0xD5 ,0x97 , +0x79 ,0x22 ,0xF5 ,0x25 ,0xFC ,0x70 ,0x5A ,0x71 , +0xCB ,0x39 ,0x90 ,0x6E ,0x78 ,0xC2 ,0xCB ,0x12 , +0x60 ,0xC7 ,0x66 ,0x90 ,0x3C ,0xF2 ,0x38 ,0x98 , +0x01 ,0xB1 ,0x20 ,0xAF ,0x06 ,0xF5 ,0x47 ,0x80 , +0x17 ,0x3D ,0xA6 ,0x14 ,0xAD ,0x00 ,0x86 ,0x78 }, .len =512 }, .digest = { - .data = {0xDD ,0x7D ,0xFA ,0xDD }, + .data = {0xF8 ,0xAF ,0xF0 ,0xC8 }, .len =4 } };
@@ -130,35 +130,35 @@ struct kasumi_hash_test_data kasumi_hash_test_case_4 = {struct kasumi_hash_test_data kasumi_hash_test_case_5 = { .key = { .data = { -0xF4 ,0xEB ,0xEC ,0x69 ,0xE7 ,0x3E ,0xAF ,0x2E , -0xB2 ,0xCF ,0x6A ,0xF4 ,0xB3 ,0x12 ,0x0F ,0xFD +0x1E ,0xBA ,0x4E ,0xC9 ,0xC8 ,0x9E ,0x64 ,0x33 , +0x93 ,0xB8 ,0x9C ,0xEE ,0x69 ,0x22 ,0x71 ,0x24 }, .len =16 }, .plaintext = { .data = { -0x29 ,0x6F ,0x39 ,0x3C ,0x6B ,0x22 ,0x77 ,0x37 , -0x10 ,0xBF ,0xFF ,0x83 ,0x9E ,0x0C ,0x71 ,0x65 , -0x8D ,0xBB ,0x2D ,0x17 ,0x07 ,0xE1 ,0x45 ,0x72 , -0x4F ,0x41 ,0xC1 ,0x6F ,0x48 ,0xBF ,0x40 ,0x3C , -0x3B ,0x18 ,0xE3 ,0x8F ,0xD5 ,0xD1 ,0x66 ,0x3B , -0x6F ,0x6D ,0x90 ,0x01 ,0x93 ,0xE3 ,0xCE ,0xA8 , -0xBB ,0x4F ,0x1B ,0x4F ,0x5B ,0xE8 ,0x22 ,0x03 , -0x22 ,0x32 ,0xA7 ,0x8D ,0x7D ,0x75 ,0x23 ,0x8D ,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,0x4B ,0x42 ,0x99 , +0xBF ,0x84 ,0x01 ,0x99 ,0x55 ,0x50 ,0x42 ,0x8D , +0x28 ,0x11 ,0x25 ,0x40 ,0x18 ,0x0D ,0xF4 ,0x58 , +0x9D ,0xC2 ,0x83 ,0x11 ,0xB6 ,0x86 ,0xBB ,0xF3 , +0x23 ,0x33 ,0xA3 ,0x39 ,0x7F ,0xE5 ,0xD2 ,0x3F , +0x6A ,0xD4 ,0xD9 ,0xBF ,0x24 ,0x1C ,0x4D ,0x4C }, .len =1088 }, .digest = { - .data = {0xC3 ,0x83 ,0x83 ,0x9D }, + .data = {0x9F ,0x75 ,0xB6 ,0xA8 }, .len =4 } };
@@ -166,32 +166,32 @@ struct kasumi_hash_test_data kasumi_hash_test_case_5 = {struct kasumi_hash_test_data kasumi_hash_test_case_6 = { .key = { .data = { -0x83 ,0xFD ,0x23 ,0xA2 ,0x44 ,0xA7 ,0x4C ,0xF3 , -0x58 ,0xDA ,0x30 ,0x19 ,0xF1 ,0x72 ,0x26 ,0x35 +0xBB ,0xEC ,0x4D ,0x72 ,0xC5 ,0x81 ,0x9B ,0xE8 , +0x2E ,0x6E ,0x77 ,0x14 ,0x27 ,0x19 ,0x1E ,0x99 }, .len =16 }, .plaintext = { .data = { -0x36 ,0xAF ,0x61 ,0x44 ,0x4F ,0x30 ,0x2A ,0xD2 , -0x35 ,0xC6 ,0x87 ,0x16 ,0x63 ,0x3C ,0x66 ,0xFB , -0x75 ,0x0C ,0x26 ,0x68 ,0x65 ,0xD5 ,0x3C ,0x11 , -0xEA ,0x05 ,0xB1 ,0xE9 ,0xFA ,0x49 ,0xC8 ,0x39 , -0x8D ,0x48 ,0xE1 ,0xEF ,0xA5 ,0x90 ,0x9D ,0x39 , -0x47 ,0x90 ,0x28 ,0x37 ,0xF5 ,0xAE ,0x96 ,0xD5 , -0xA0 ,0x5B ,0xC8 ,0xD6 ,0x1C ,0xA8 ,0xDB ,0xEF , -0x1B ,0x13 ,0xA4 ,0xB4 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,16 +199,16 @@ struct kasumi_hash_test_data kasumi_hash_test_case_6 = {struct kasumi_hash_test_data kasumi_hash_test_case_7 = { .key = { .data = { -0x5A ,0xCB ,0x1D ,0x64 ,0x4C ,0x0D ,0x51 ,0x20 , -0x4E ,0xA5 ,0xF1 ,0x45 ,0x10 ,0x10 ,0xD8 ,0x52 +0xD8 ,0xBA ,0x2F ,0x5F ,0x3A ,0x5A ,0xCD ,0x0E , +0xA6 ,0x8F ,0xC2 ,0x19 ,0x19 ,0x34 ,0xDC ,0x5A }, .len =16 }, .plaintext = { .data = { -0x38 ,0xA6 ,0xF0 ,0x56 ,0x05 ,0xD2 ,0xEC ,0x49 , -0xAD ,0x9C ,0x44 ,0x1F ,0x89 ,0x0B ,0x38 ,0xC4 , -0x57 ,0xA4 ,0x9D ,0x42 ,0x14 ,0x07 ,0xE8 ,0xC0 +0x38 ,0xED ,0x3A ,0xAD ,0xBD ,0x2B ,0x38 ,0x7C , +0x3C ,0xD5 ,0x68 ,0x08 ,0x1F ,0xFC ,0xBD ,0x40 , +0x7C ,0x32 ,0x3A ,0x3E ,0x34 ,0xDC ,0x06 ,0x1A }, .len =192 },
app/test/test_cryptodev_kasumi_test_vectors.h +146 -146
462 lines not on this page · raw message
app/test/test_cryptodev_mixed_test_vectors.h +662 -662
1,792 lines not on this page · raw message
app/test/test_cryptodev_snow3g_hash_test_vectors.h +322 -322
483 lines not on this page · raw message
app/test/test_cryptodev_snow3g_test_vectors.h +241 -256
497 lines not on this page · raw message
app/test/test_cryptodev_zuc_test_vectors.h +626 -619
1,245 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.17.1
Part of the diff is not shown here. View the raw message.
Quoted 9 lines
-----Original Message-----
From: Dybkowski, AdamX <[email protected]>
Sent: Thursday, February 6, 2020 11:25 AM
To: [email protected]; Trahe, Fiona <[email protected]>
Cc: Dybkowski, AdamX <[email protected]>
Subject: [PATCH] test/crypto: replace wireless algos test vectors
Quoted 6 lines
This patch replaces all KASUMI, SNOW3G, ZUC and all mixed crypto unit test vectors with randomly generated input arrays. All outputs were calculated and verified on both QAT PMD and appropriate software-only PMDs wherever possible.
Signed-off-by Adam Dybkowski <[email protected]>
Hi Adam/Fiona,
Quoted 8 lines
This patch replaces all KASUMI, SNOW3G, ZUC and all mixed crypto unit test vectors with randomly generated input arrays. All outputs were calculated and verified on both QAT PMD and appropriate software-only PMDs wherever possible.
Signed-off-by Adam Dybkowski <[email protected]>---
I have few doubts about this patch
-> What is the reason for changing the test vectors? -> Are these based on some standard test vectors somewhere? -> Have you done any interoperability tests on these vectors?
Regards,
Akhil
Hi.
The reason for changing these vectors is the same as for a bit similar Artur's compression vectors change patch: http://patches.dpdk.org/patch/65616/
Basically speaking, we'd like to remove everything with unclear license. To do that, I replaced all wireless crypto (SNOW3G, ZUC, KASUMI etc) algorithms' test vectors (input arrays) with completely randomized data.
Outputs for the test vectors were calculated using Intel's QuickAssist PMD and software-only PMDs (sw_snow3g, sw_zuc etc), and cross-checked to ensure all unit tests are passing correctly. I hope this answers your question about the interoperability.
This patch changes unit test vectors only. No internal PMDs' code has been changed so it won't affect other applications that use DPDK.
It'll be great of course if anyone can verify whether new unit tests pass correctly on other hardware-based PMDs that can handle wireless algorithms like OcteonTX / DPAA / DPAA2.
Adam
Quoted 26 lines
-----Original Message-----
From: Akhil Goyal [mailto:[email protected]]
Sent: Wednesday, 12 February, 2020 14:23
To: Dybkowski, AdamX <[email protected]>; [email protected]; Trahe, Fiona <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] test/crypto: replace wireless algos test vectorsHi Adam/Fiona,
Quoted 8 lines
This patch replaces all KASUMI, SNOW3G, ZUC and all mixed crypto unit test vectors with randomly generated input arrays.
All outputs were calculated and verified on both QAT PMD and appropriate software-only PMDs wherever possible.Signed-off-by Adam Dybkowski <[email protected]>---
I have few doubts about this patch
-> What is the reason for changing the test vectors? -> Are these based on some standard test vectors somewhere? -> Have you done any interoperability tests on these vectors?
Regards,
Akhil
Hi Akhil, Thomas,
Can you please hold off on applying this patch for the moment - it seems we may get approval on licensing for the original vectors. Fiona
Quoted 53 lines
-----Original Message-----
From: Dybkowski, AdamX <[email protected]>
Sent: Thursday, February 13, 2020 1:44 PM
To: Akhil Goyal <[email protected]>; [email protected]; Trahe, Fiona <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] test/crypto: replace wireless algos test vectorsHi.
The reason for changing these vectors is the same as for a bit similar Artur's compression vectors change patch: http://patches.dpdk.org/patch/65616/
Basically speaking, we'd like to remove everything with unclear license. To do that, I replaced all wireless crypto (SNOW3G, ZUC, KASUMI etc) algorithms' test vectors (input arrays) with completely randomized data.Outputs for the test vectors were calculated using Intel's QuickAssist PMD and software-only PMDs (
sw_snow3g,sw_zucetc), and cross-checked to ensure all unit tests are passing correctly. I hope this answers your question about the interoperability.This patch changes unit test vectors only. No internal PMDs' code has been changed so it won't affect other applications that use DPDK.
It'll be great of course if anyone can verify whether new unit tests pass correctly on other hardware- based PMDs that can handle wireless algorithms like OcteonTX / DPAA / DPAA2.
Adam
Quoted 26 lines
-----Original Message-----
From: Akhil Goyal [mailto:[email protected]]
Sent: Wednesday, 12 February, 2020 14:23
To: Dybkowski, AdamX <[email protected]>; [email protected]; Trahe, Fiona <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] test/crypto: replace wireless algos test vectorsHi Adam/Fiona,
Quoted 8 lines
This patch replaces all KASUMI, SNOW3G, ZUC and all mixed crypto unit test vectors with randomly generated input arrays.
All outputs were calculated and verified on both QAT PMD and appropriate software-only PMDs wherever possible.Signed-off-by Adam Dybkowski <[email protected]>---
I have few doubts about this patch
-> What is the reason for changing the test vectors? -> Are these based on some standard test vectors somewhere? -> Have you done any interoperability tests on these vectors?
Regards,
Akhil
Hi Fiona,
Quoted 5 lines
Hi Akhil, Thomas,
Can you please hold off on applying this patch for the moment - it seems we may get approval on licensing for the original vectors.
Fiona
Do we still need this patch?
Quoted 11 lines
-----Original Message-----
From: Akhil Goyal <[email protected]>
Sent: Wednesday, April 1, 2020 3:15 PM
To: Trahe, Fiona <[email protected]>; Dybkowski, AdamX <[email protected]>; Thomas Monjalon <[email protected]>
Cc: [email protected]; Mcnamara, John <[email protected]>
Subject: RE: [dpdk-dev] [PATCH] test/crypto: replace wireless algos test vectors
Quoted 8 lines
Hi Fiona,
Quoted 5 lines
Hi Akhil, Thomas,
Can you please hold off on applying this patch for the moment - it seems we may get approval on licensing for the original vectors. FionaDo we still need this patch?
Hi Akhil,
We are still waiting for ETSI approval for using the test vectors. I'd suggest postponing/superseding this patchset in this release. We can bring it back if we don't get approval.
John