Skip to content

Commit

Permalink
Update tests/suites/test_suite_ecdsa.function
Browse files Browse the repository at this point in the history
Co-authored-by: Gilles Peskine <[email protected]>
Signed-off-by: Dave Rodgman <[email protected]>
  • Loading branch information
daverodgman and gilles-peskine-arm committed Oct 27, 2022
1 parent 53cac34 commit 584200c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/suites/test_suite_ecdsa.function
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,7 @@ void ecdsa_verify( int grp_id, char * x, char * y, char * r, char * s, data_t *
mbedtls_mpi_init( &sig_s );

/* Prepare ECP group context */
curve_info = mbedtls_ecp_curve_info_from_grp_id( grp_id );
TEST_ASSERT( curve_info != NULL );
TEST_EQUAL( mbedtls_ecp_group_load( &ctx.grp, curve_info->grp_id ), 0 );
TEST_EQUAL( mbedtls_ecp_group_load( &ctx.grp, grp_id ), 0 );

/* Prepare public key */
TEST_EQUAL( mbedtls_test_read_mpi( &ctx.Q.X, x ), 0 );
Expand Down

0 comments on commit 584200c

Please sign in to comment.