mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-24 06:02:44 +00:00
ECDH: Rename full handshake benchmark
This commit is contained in:
parent
6817b9e819
commit
65bab9772e
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…
x
Reference in New Issue
Block a user