DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v1] examples/fips_validation: fix parsing SHA test type from JSON vector
@ 2022-08-12 11:49 Gowrishankar Muthukrishnan
  2022-09-23 16:25 ` Dooley, Brian
  0 siblings, 1 reply; 3+ messages in thread
From: Gowrishankar Muthukrishnan @ 2022-08-12 11:49 UTC (permalink / raw)
  To: dev
  Cc: Anoob Joseph, Fan Zhang, Brian Dooley, Akhil Goyal,
	Gowrishankar Muthukrishnan

Store SHA test type in its own interim info struct instead of AES.

Fixes: d5c247145c2 ("examples/fips_validation: add parsing for SHA")

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
 examples/fips_validation/fips_validation_sha.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/fips_validation/fips_validation_sha.c b/examples/fips_validation/fips_validation_sha.c
index dff552586f..75b073c15d 100644
--- a/examples/fips_validation/fips_validation_sha.c
+++ b/examples/fips_validation/fips_validation_sha.c
@@ -259,7 +259,7 @@ parse_test_sha_json_test_type(void)
 
 	for (i = 0; i < RTE_DIM(sha_test_types); i++)
 		if (strstr(type_str, sha_test_types[i].desc)) {
-			info.interim_info.aes_data.test_type =
+			info.interim_info.sha_data.test_type =
 				sha_test_types[i].type;
 			break;
 		}
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH v1] examples/fips_validation: fix parsing SHA test type from JSON vector
  2022-08-12 11:49 [PATCH v1] examples/fips_validation: fix parsing SHA test type from JSON vector Gowrishankar Muthukrishnan
@ 2022-09-23 16:25 ` Dooley, Brian
  2022-10-07 10:40   ` Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Dooley, Brian @ 2022-09-23 16:25 UTC (permalink / raw)
  To: Gowrishankar Muthukrishnan, dev; +Cc: Anoob Joseph, Zhang, Roy Fan, Akhil Goyal

> -----Original Message-----
> From: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> Sent: Friday, August 12, 2022 12:49 PM
> To: dev@dpdk.org
> Cc: Anoob Joseph <anoobj@marvell.com>; Zhang, Roy Fan
> <roy.fan.zhang@intel.com>; Dooley, Brian <brian.dooley@intel.com>; Akhil
> Goyal <gakhil@marvell.com>; Gowrishankar Muthukrishnan
> <gmuthukrishn@marvell.com>
> Subject: [PATCH v1] examples/fips_validation: fix parsing SHA test type from
> JSON vector
> 
> Store SHA test type in its own interim info struct instead of AES.
> 
> Fixes: d5c247145c2 ("examples/fips_validation: add parsing for SHA")
> 
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> ---
>  examples/fips_validation/fips_validation_sha.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/fips_validation/fips_validation_sha.c
> b/examples/fips_validation/fips_validation_sha.c
> index dff552586f..75b073c15d 100644
> --- a/examples/fips_validation/fips_validation_sha.c
> +++ b/examples/fips_validation/fips_validation_sha.c
> @@ -259,7 +259,7 @@ parse_test_sha_json_test_type(void)
> 
>  	for (i = 0; i < RTE_DIM(sha_test_types); i++)
>  		if (strstr(type_str, sha_test_types[i].desc)) {
> -			info.interim_info.aes_data.test_type =
> +			info.interim_info.sha_data.test_type =
>  				sha_test_types[i].type;
>  			break;
>  		}
> --
> 2.25.1

LGTM

Tested-by: Brian Dooley <brian.dooley@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH v1] examples/fips_validation: fix parsing SHA test type from JSON vector
  2022-09-23 16:25 ` Dooley, Brian
@ 2022-10-07 10:40   ` Akhil Goyal
  0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2022-10-07 10:40 UTC (permalink / raw)
  To: Dooley, Brian, Gowrishankar Muthukrishnan, dev
  Cc: Anoob Joseph, Zhang, Roy Fan

> > Subject: [PATCH v1] examples/fips_validation: fix parsing SHA test type from
> > JSON vector
> >
> > Store SHA test type in its own interim info struct instead of AES.
> >
> > Fixes: d5c247145c2 ("examples/fips_validation: add parsing for SHA")
> >
> > Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> > ---
> Tested-by: Brian Dooley <brian.dooley@intel.com>

Applied to dpdk-next-crypto

Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-07 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 11:49 [PATCH v1] examples/fips_validation: fix parsing SHA test type from JSON vector Gowrishankar Muthukrishnan
2022-09-23 16:25 ` Dooley, Brian
2022-10-07 10:40   ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).