Lines Matching refs:ecdsa
343 rsa, dhm, ecdsa, ecdh; member
405 todo.ecdsa = 1; in benchmark()
764 if( todo.ecdsa ) in benchmark()
766 mbedtls_ecdsa_context ecdsa; in benchmark() local
776 mbedtls_ecdsa_init( &ecdsa ); in benchmark()
778 if( mbedtls_ecdsa_genkey( &ecdsa, curve_info->grp_id, myrand, NULL ) != 0 ) in benchmark()
780 ecp_clear_precomputed( &ecdsa.grp ); in benchmark()
785 … ret = mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in benchmark()
788 mbedtls_ecdsa_free( &ecdsa ); in benchmark()
795 mbedtls_ecdsa_init( &ecdsa ); in benchmark()
797 if( mbedtls_ecdsa_genkey( &ecdsa, curve_info->grp_id, myrand, NULL ) != 0 || in benchmark()
798 mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in benchmark()
803 ecp_clear_precomputed( &ecdsa.grp ); in benchmark()
808 ret = mbedtls_ecdsa_read_signature( &ecdsa, buf, curve_info->bit_size, in benchmark()
811 mbedtls_ecdsa_free( &ecdsa ); in benchmark()