[v1] examples/fips_validation: fix EdDSA signature size

Message ID 20241029055908.1073-1-gmuthukrishn@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series [v1] examples/fips_validation: fix EdDSA signature size |

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/intel-Testing success Testing PASS
ci/github-robot: build success github build: passed
ci/intel-Functional success Functional PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-marvell-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-compile-arm64-testing success Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-sample-apps-testing success Testing PASS

Commit Message

Gowrishankar Muthukrishnan Oct. 29, 2024, 5:59 a.m. UTC
Fix EdDSA signature size.

Fixes: 12ede9ac497f ("examples/fips_validation: support EdDSA")

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
 examples/fips_validation/fips_validation_eddsa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Dooley, Brian Oct. 30, 2024, 11:29 a.m. UTC | #1
> -----Original Message-----
> From: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> Sent: Tuesday 29 October 2024 05:59
> To: dev@dpdk.org; Dooley, Brian <brian.dooley@intel.com>; Gowrishankar
> Muthukrishnan <gmuthukrishn@marvell.com>
> Cc: Anoob Joseph <anoobj@marvell.com>; Akhil Goyal <gakhil@marvell.com>
> Subject: [PATCH v1] examples/fips_validation: fix EdDSA signature size
> 
> Fix EdDSA signature size.
> 
> Fixes: 12ede9ac497f ("examples/fips_validation: support EdDSA")
> 
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> ---
>  examples/fips_validation/fips_validation_eddsa.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/examples/fips_validation/fips_validation_eddsa.c
> b/examples/fips_validation/fips_validation_eddsa.c
> index db118748b6..89fa6c17ca 100644
> --- a/examples/fips_validation/fips_validation_eddsa.c
> +++ b/examples/fips_validation/fips_validation_eddsa.c
> @@ -48,8 +48,8 @@ struct {
>  	uint8_t curve_len;
>  	const char *desc;
>  } eddsa_curve_len[] = {
> -	{32, "ED-25519"},
> -	{64, "ED-448"},
> +	{64, "ED-25519"},
> +	{114, "ED-448"},
>  };
> 
>  #ifdef USE_OPENSSL
> --
> 2.37.1

Acked-by: Brian Dooley <brian.dooley@intel.com>
  
Akhil Goyal Nov. 19, 2024, 9:09 a.m. UTC | #2
> > Subject: [PATCH v1] examples/fips_validation: fix EdDSA signature size
> >
> > Fix EdDSA signature size.
> >
> > Fixes: 12ede9ac497f ("examples/fips_validation: support EdDSA")
> >
> > Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Applied to dpdk-next-crypto
Thanks.
  

Patch

diff --git a/examples/fips_validation/fips_validation_eddsa.c b/examples/fips_validation/fips_validation_eddsa.c
index db118748b6..89fa6c17ca 100644
--- a/examples/fips_validation/fips_validation_eddsa.c
+++ b/examples/fips_validation/fips_validation_eddsa.c
@@ -48,8 +48,8 @@  struct {
 	uint8_t curve_len;
 	const char *desc;
 } eddsa_curve_len[] = {
-	{32, "ED-25519"},
-	{64, "ED-448"},
+	{64, "ED-25519"},
+	{114, "ED-448"},
 };
 
 #ifdef USE_OPENSSL