test/crypto: fix typo in AES test

Message ID 20230130120303.793537-1-vikash.chandrax.poddar@intel.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series test/crypto: fix typo in AES test |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/intel-Testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS

Commit Message

Vikash Poddar Jan. 30, 2023, 12:03 p.m. UTC
  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: shirik@nvidia.com

Signed-off-by: Vikash Poddar <vikash.chandrax.poddar@intel.com>
---
 .mailmap                                   |  1 +
 app/test/test_cryptodev_aes_test_vectors.h | 16 ++++++++--------
 2 files changed, 9 insertions(+), 8 deletions(-)
  

Comments

Ji, Kai Jan. 30, 2023, 2:27 p.m. UTC | #1
Acked-by: Kai Ji <kai.ji@intel.com>

> -----Original Message-----
> From: Vikash Poddar <vikash.chandrax.poddar@intel.com>
> Sent: Monday, January 30, 2023 12:03 PM
> To: Thomas Monjalon <thomas@monjalon.net>; Akhil Goyal
> <gakhil@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>
> Cc: dev@dpdk.org; Poddar, Vikash ChandraX
> <vikash.chandrax.poddar@intel.com>; shirik@nvidia.com
> 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: shirik@nvidia.com
> 
> Signed-off-by: Vikash Poddar <vikash.chandrax.poddar@intel.com>
> ---
>  .mailmap                                   |  1 +
>  app/test/test_cryptodev_aes_test_vectors.h | 16 ++++++++--------
>  2 files changed, 9 insertions(+), 8 deletions(-)
> 
> diff --git a/.mailmap b/.mailmap
> index 75884b6fe2..c6650e32f6 100644
> --- a/.mailmap
> +++ b/.mailmap
> @@ -1386,6 +1386,7 @@ Vijay Kumar Srivastava <vsrivast@xilinx.com>
> Vijay Srivastava <vijays@solarflare.com>  Vikas Aggarwal
> <vikas.aggarwal@caviumnetworks.com>
>  Vikas Gupta <vikas.gupta@broadcom.com>
> +Vikash Poddar <vikash.chandrax.poddar@intel.com>
>  Vimal Chungath <vcchunga@amazon.com>
>  Vincent Guo <guopengfei160@163.com>
>  Vincent Jardin <vincent.jardin@6wind.com> diff --git
> a/app/test/test_cryptodev_aes_test_vectors.h
> b/app/test/test_cryptodev_aes_test_vectors.h
> index ea7b21ce53..f3686beeb5 100644
> --- a/app/test/test_cryptodev_aes_test_vectors.h
> +++ b/app/test/test_cryptodev_aes_test_vectors.h
> @@ -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 |
> --
> 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.
  
Akhil Goyal Feb. 1, 2023, 2:08 p.m. UTC | #2
> Acked-by: Kai Ji <kai.ji@intel.com>
> 
> >
> > 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: shirik@nvidia.com
> >
> > Signed-off-by: Vikash Poddar <vikash.chandrax.poddar@intel.com>
> > ---

Cc: stable@dpdk.org
Applied to dpdk-next-crypto

Thanks.
  

Patch

diff --git a/.mailmap b/.mailmap
index 75884b6fe2..c6650e32f6 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1386,6 +1386,7 @@  Vijay Kumar Srivastava <vsrivast@xilinx.com>
 Vijay Srivastava <vijays@solarflare.com>
 Vikas Aggarwal <vikas.aggarwal@caviumnetworks.com>
 Vikas Gupta <vikas.gupta@broadcom.com>
+Vikash Poddar <vikash.chandrax.poddar@intel.com>
 Vimal Chungath <vcchunga@amazon.com>
 Vincent Guo <guopengfei160@163.com>
 Vincent Jardin <vincent.jardin@6wind.com>
diff --git a/app/test/test_cryptodev_aes_test_vectors.h b/app/test/test_cryptodev_aes_test_vectors.h
index ea7b21ce53..f3686beeb5 100644
--- a/app/test/test_cryptodev_aes_test_vectors.h
+++ b/app/test/test_cryptodev_aes_test_vectors.h
@@ -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 |