Rename of prvkey -> privkey fix in test suite files

This commit is contained in:
Paul Bakker 2013-07-16 17:15:03 +02:00
parent 7d4e5b739e
commit 8ea6c61477
2 changed files with 6 additions and 6 deletions

View file

@ -245,8 +245,8 @@ ECP tls write-read group #2
depends_on:POLARSSL_ECP_DP_SECP521R1_ENABLED
ecp_tls_write_read_group:SECP521R1
ECP check prvkey
ecp_check_prvkey:SECP192R1
ECP check privkey
ecp_check_privkey:SECP192R1
ECP gen keypair
depends_on:POLARSSL_ECP_DP_SECP192R1_ENABLED

View file

@ -438,7 +438,7 @@ ecp_tls_write_read_group:id
END_CASE
BEGIN_CASE
ecp_check_prvkey:id
ecp_check_privkey:id
{
ecp_group grp;
mpi d;
@ -449,10 +449,10 @@ ecp_check_prvkey:id
TEST_ASSERT( ecp_use_known_dp( &grp, POLARSSL_ECP_DP_{id} ) == 0 );
TEST_ASSERT( mpi_lset( &d, 0 ) == 0 );
TEST_ASSERT( ecp_check_prvkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC );
TEST_ASSERT( ecp_check_privkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC );
TEST_ASSERT( mpi_copy( &d, &grp.N ) == 0 );
TEST_ASSERT( ecp_check_prvkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC );
TEST_ASSERT( ecp_check_privkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC );
ecp_group_free( &grp );
mpi_free( &d );
@ -478,7 +478,7 @@ ecp_gen_keypair:id
== 0 );
TEST_ASSERT( ecp_check_pubkey( &grp, &Q ) == 0 );
TEST_ASSERT( ecp_check_prvkey( &grp, &d ) == 0 );
TEST_ASSERT( ecp_check_privkey( &grp, &d ) == 0 );
ecp_group_free( &grp );
ecp_point_free( &Q );