[PATCH] test/crypto: fix typo in AES test

Ji, Kai kai.ji at intel.com
Mon Jan 30 15:27:39 CET 2023


Acked-by: Kai Ji <kai.ji at intel.com>

> -----Original Message-----
> From: Vikash Poddar <vikash.chandrax.poddar at intel.com>
> Sent: Monday, January 30, 2023 12:03 PM
> To: Thomas Monjalon <thomas at monjalon.net>; Akhil Goyal
> <gakhil at marvell.com>; Fan Zhang <fanzhang.oss at gmail.com>
> Cc: dev at dpdk.org; Poddar, Vikash ChandraX
> <vikash.chandrax.poddar at intel.com>; shirik at 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 at nvidia.com
> 
> Signed-off-by: Vikash Poddar <vikash.chandrax.poddar at 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 at xilinx.com>
> Vijay Srivastava <vijays at solarflare.com>  Vikas Aggarwal
> <vikas.aggarwal at caviumnetworks.com>
>  Vikas Gupta <vikas.gupta at broadcom.com>
> +Vikash Poddar <vikash.chandrax.poddar at intel.com>
>  Vimal Chungath <vcchunga at amazon.com>
>  Vincent Guo <guopengfei160 at 163.com>
>  Vincent Jardin <vincent.jardin at 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.



More information about the dev mailing list