mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-08 10:09:54 +00:00
ECDH: Rename full handshake benchmark
This commit is contained in:
parent
0d3888af4c
commit
d14995b0f3
2
programs/test/benchmark.c
Normal file → Executable file
2
programs/test/benchmark.c
Normal file → Executable file
|
@ -1014,7 +1014,7 @@ int main( int argc, char *argv[] )
|
||||||
mbedtls_exit( 1 );
|
mbedtls_exit( 1 );
|
||||||
|
|
||||||
mbedtls_snprintf( title, sizeof( title ), "ECDHE-%s", curve_info->name );
|
mbedtls_snprintf( title, sizeof( title ), "ECDHE-%s", curve_info->name );
|
||||||
TIME_PUBLIC( title, "handshake",
|
TIME_PUBLIC( title, "full handshake",
|
||||||
const unsigned char * p_srv = buf_srv;
|
const unsigned char * p_srv = buf_srv;
|
||||||
ret |= mbedtls_ecdh_make_params( &ecdh_srv, &olen, buf_srv, sizeof( buf_srv ), myrand, NULL );
|
ret |= mbedtls_ecdh_make_params( &ecdh_srv, &olen, buf_srv, sizeof( buf_srv ), myrand, NULL );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue