Lines Matching refs:id
13 void mbedtls_ecp_curve_info( int id, int tls_id, int size, char *name )
17 by_id = mbedtls_ecp_curve_info_from_grp_id( id );
54 void ecp_test_vect( int id, char *dA_str, char *xA_str, char *yA_str,
68 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
109 void ecp_test_vec_x( int id, char *dA_hex, char *xA_hex,
123 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
160 void ecp_fast_mod( int id, char *N_str )
169 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
193 void ecp_write_binary( int id, char *x, char *y, char *z, int format,
206 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
227 void ecp_read_binary( int id, char *input, char *x, char *y, char *z,
241 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
265 void mbedtls_ecp_tls_read_point( int id, char *input, char *x, char *y, char *z,
280 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
305 void ecp_tls_write_read_point( int id )
316 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
384 void ecp_tls_write_read_group( int id )
396 TEST_ASSERT( mbedtls_ecp_group_load( &grp1, id ) == 0 );
405 TEST_ASSERT( grp1.id == grp2.id );
415 void mbedtls_ecp_check_privkey( int id, char *key_hex, int ret )
423 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
436 int id, char *d, char *Qx, char *Qy, int ret )
447 if( id != MBEDTLS_ECP_DP_NONE )
448 TEST_ASSERT( mbedtls_ecp_group_load( &prv.grp, id ) == 0 );
461 void mbedtls_ecp_gen_keypair( int id )
473 TEST_ASSERT( mbedtls_ecp_group_load( &grp, id ) == 0 );
489 void mbedtls_ecp_gen_key( int id )
497 TEST_ASSERT( mbedtls_ecp_gen_key( id, &key, &rnd_pseudo_rand, &rnd_info ) == 0 );