Skip to content

Commit

Permalink
Merge pull request #15287 from OpenNuvoton/nuvoton_fix_ecp-load-curve448
Browse files Browse the repository at this point in the history
Mbed TLS: Fix wrong MPI N in ECP Curve448 curve
  • Loading branch information
0xc0170 authored Jun 2, 2022
2 parents b6fadd3 + 9345c8a commit 6170f55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connectivity/mbedtls/source/ecp_curves.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,8 @@ int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id )
ECP_VALIDATE_RET( grp != NULL );
mbedtls_ecp_group_free( grp );

mbedtls_ecp_group_init( grp );

grp->id = id;

switch( id )
Expand Down

0 comments on commit 6170f55

Please sign in to comment.