Skip to contentSkip to conversation

test/crypto: fix typo in AES test

PATCH In review Vikash Poddar 3 participants 3 messages Jan 30, 2023 – Feb 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test/crypto: fix typo in AES test

Fix the spelling of scater to scatter in cryptodev AES test vector header file

Fixes 2692b02e03b2 ("test/crypto: add multi-segment out-of-place AES-XTS")
---
 .mailmap                                   |  1 +
 app/test/test_cryptodev_aes_test_vectors.h | 16 ++++++++--------
 2 files changed, 9 insertions(+), 8 deletions(-)
.mailmap +1 -0
index 75884b6fe2..c6650e32f6 100644
@@ -1386,6 +1386,7 @@ Vijay Kumar Srivastava <[email protected]>
 Vijay Srivastava <[email protected]>
 Vikas Aggarwal <[email protected]>
 Vikas Gupta <[email protected]>
+Vikash Poddar <[email protected]>
 Vimal Chungath <[email protected]>
 Vincent Guo <[email protected]>
 Vincent Jardin <[email protected]>
app/test/test_cryptodev_aes_test_vectors.h +8 -8
index ea7b21ce53..f3686beeb5 100644
@@ -4969,7 +4969,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (512-byte plaintext"
-			      " Dataunit 512) Scater gather OOP",
+			      " Dataunit 512) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_512,
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
@@ -4979,7 +4979,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (512-byte plaintext"
-			      " Dataunit 512) Scater gather OOP",
+			      " Dataunit 512) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_512,
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
@@ -4989,7 +4989,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (512-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
@@ -4999,7 +4999,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (512-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
@@ -5009,7 +5009,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (4096-byte plaintext"
-			      " Dataunit 4096) Scater gather OOP",
+			      " Dataunit 4096) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_4096,
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
@@ -5019,7 +5019,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (4096-byte plaintext"
-			      " Dataunit 4096) Scater gather OOP",
+			      " Dataunit 4096) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_4096,
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
@@ -5029,7 +5029,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (4096-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
@@ -5039,7 +5039,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (4096-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
Signature · 13 lines
2.25.1

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
Acked-by on v1 1/1
#1 lore raw
Quoted 134 lines

-----Original Message-----
From: Vikash Poddar <[email protected]>
Sent: Monday, January 30, 2023 12:03 PM
To: Thomas Monjalon <[email protected]>; Akhil Goyal <[email protected]>; Fan Zhang <[email protected]>
Cc: [email protected]; Poddar, Vikash ChandraX <[email protected]>; [email protected]
Subject: [PATCH] test/crypto: fix typo in AES test

Fix the spelling of scater to scatter in cryptodev AES test vector header file

Fixes 2692b02e03b2 ("test/crypto: add multi-segment out-of-place AES-

XTS")
Cc: [email protected]

---
 .mailmap                                   |  1 +
 app/test/test_cryptodev_aes_test_vectors.h | 16 ++++++++--------
 2 files changed, 9 insertions(+), 8 deletions(-)
.mailmap +0 -0
index 75884b6fe2..c6650e32f6 100644
@@ -1386,6 +1386,7 @@ Vijay Kumar Srivastava <[email protected]>

Vijay Srivastava <[email protected]> Vikas Aggarwal <[email protected]>
Vikas Gupta <[email protected]>
+Vikash Poddar <[email protected]>
Vimal Chungath <[email protected]>
Vincent Guo <[email protected]>
Vincent Jardin <[email protected]> diff --git
a/app/test/test_cryptodev_aes_test_vectors.h b/app/test/test_cryptodev_aes_test_vectors.h index ea7b21ce53..f3686beeb5 100644

app/test/test_cryptodev_aes_test_vectors.h +1 -1
@@ -4969,7 +4969,7 @@ static const struct blockcipher_test_case
 aes_cipheronly_test_cases[] = {
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (512-byte plaintext"
-			      " Dataunit 512) Scater gather OOP",
+			      " Dataunit 512) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_512,
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,

.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP | @@ -4979,7
+4979,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {

app/test/test_cryptodev_aes_test_vectors.h +2 -1
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (512-byte plaintext"
-			      " Dataunit 512) Scater gather OOP",
+			      " Dataunit 512) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_512,
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP | @@ -4989,7
+4989,7 @@ static const struct blockcipher_test_case

aes_cipheronly_test_cases[] = {

app/test/test_cryptodev_aes_test_vectors.h +2 -1
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (512-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP | @@ -4999,7
+4999,7 @@ static const struct blockcipher_test_case

aes_cipheronly_test_cases[] = {

app/test/test_cryptodev_aes_test_vectors.h +2 -1
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (512-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_512_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP | @@ -5009,7
+5009,7 @@ static const struct blockcipher_test_case

aes_cipheronly_test_cases[] = {

app/test/test_cryptodev_aes_test_vectors.h +1 -1
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (4096-byte plaintext"
-			      " Dataunit 4096) Scater gather OOP",
+			      " Dataunit 4096) Scatter gather OOP",
 		.test_data =

&aes_test_data_xts_wrapped_key_48_pt_4096_du_4096,

app/test/test_cryptodev_aes_test_vectors.h +1 -0
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP | @@ -5019,7
+5019,7 @@ static const struct blockcipher_test_case

aes_cipheronly_test_cases[] = {

app/test/test_cryptodev_aes_test_vectors.h +1 -1
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (4096-byte plaintext"
-			      " Dataunit 4096) Scater gather OOP",
+			      " Dataunit 4096) Scatter gather OOP",
 		.test_data =

&aes_test_data_xts_wrapped_key_48_pt_4096_du_4096,

app/test/test_cryptodev_aes_test_vectors.h +1 -0
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP | @@ -5029,7
+5029,7 @@ static const struct blockcipher_test_case

aes_cipheronly_test_cases[] = {

app/test/test_cryptodev_aes_test_vectors.h +2 -1
 	},
 	{
 		.test_descr = "AES-256-XTS Encryption (4096-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP | @@ -5039,7
+5039,7 @@ static const struct blockcipher_test_case

aes_cipheronly_test_cases[] = {

app/test/test_cryptodev_aes_test_vectors.h +1 -2
 	},
 	{
 		.test_descr = "AES-256-XTS Decryption (4096-byte plaintext"
-			      " Dataunit 0) Scater gather OOP",
+			      " Dataunit 0) Scatter gather OOP",
 		.test_data = &aes_test_data_xts_wrapped_key_48_pt_4096_du_0,
 		.op_mask = BLOCKCIPHER_TEST_OP_DECRYPT,
 		.feature_mask = BLOCKCIPHER_TEST_FEATURE_OOP |
--

2.25.1

--------------------------------------------------------------
Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.