commit | a93442e8847f749c57592e0868df884c8095c44a | [log] [tgz] |
---|---|---|
author | Pol Henarejos <pol.henarejos@cttc.es> | Mon May 09 10:08:46 2022 +0200 |
committer | Pol Henarejos <pol.henarejos@cttc.es> | Mon May 09 10:08:46 2022 +0200 |
tree | bae874b3bebf5c596dca00ea801034fd86df0f41 | |
parent | 585a412129975a33c1d32eb7d765c5db59113c30 [diff] [blame] |
Fix for order value for curve448. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
diff --git a/library/ecp_curves.c b/library/ecp_curves.c index ff26a18..a0d5fdc 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c
@@ -754,6 +754,8 @@ { ECP_VALIDATE_RET( grp != NULL ); mbedtls_ecp_group_free( grp ); + + mbedtls_ecp_group_init( grp ); grp->id = id;