Searched refs:ecdh_ctx (Results 1 – 7 of 7) sorted by relevance
/third_party/mbedtls/library/ |
D | ssl_tls13_client.c | 295 if( ( ret = mbedtls_ecdh_setup_no_everest( &ssl->handshake->ecdh_ctx, in ssl_tls13_generate_and_write_ecdh_key_exchange() 302 ret = mbedtls_ecdh_tls13_make_params( &ssl->handshake->ecdh_ctx, out_len, in ssl_tls13_generate_and_write_ecdh_key_exchange() 311 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_tls13_generate_and_write_ecdh_key_exchange() 481 grp_id = ssl->handshake->ecdh_ctx.grp.id; in ssl_tls13_check_ecdh_params() 483 grp_id = ssl->handshake->ecdh_ctx.grp_id; in ssl_tls13_check_ecdh_params() 498 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_tls13_check_ecdh_params() 510 ret = mbedtls_ecdh_tls13_read_public( &ssl->handshake->ecdh_ctx, in ssl_tls13_read_public_ecdhe_share()
|
D | ssl_cli.c | 1576 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats_ext() 2486 grp_id = ssl->handshake->ecdh_ctx.grp.id; in ssl_check_server_ecdh_params() 2488 grp_id = ssl->handshake->ecdh_ctx.grp_id; in ssl_check_server_ecdh_params() 2503 if( ssl->handshake->ecdh_ctx.grp.nbits < 163 || in ssl_check_server_ecdh_params() 2504 ssl->handshake->ecdh_ctx.grp.nbits > 521 ) in ssl_check_server_ecdh_params() 2508 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_check_server_ecdh_params() 2598 if( ( ret = mbedtls_ecdh_read_params( &ssl->handshake->ecdh_ctx, in ssl_parse_server_ecdh_params() 2847 if( ( ret = mbedtls_ecdh_get_params( &ssl->handshake->ecdh_ctx, peer_key, in ssl_get_ecdh_params_from_cert() 3635 mbedtls_ecdh_enable_restart( &ssl->handshake->ecdh_ctx ); in ssl_write_client_key_exchange() 3639 ret = mbedtls_ecdh_make_public( &ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange() [all …]
|
D | ssl_srv.c | 409 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats() 2856 if( ( ret = mbedtls_ecdh_get_params( &ssl->handshake->ecdh_ctx, in ssl_get_ecdh_params_from_cert() 3062 if( ( ret = mbedtls_ecdh_setup( &ssl->handshake->ecdh_ctx, in ssl_prepare_server_key_exchange() 3070 &ssl->handshake->ecdh_ctx, &len, in ssl_prepare_server_key_exchange() 3085 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_prepare_server_key_exchange() 3764 if( ( ret = mbedtls_ecdh_read_public( &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange() 3771 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange() 3774 if( ( ret = mbedtls_ecdh_calc_secret( &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange() 3784 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange() 3910 if( ( ret = mbedtls_ecdh_read_public( &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange() [all …]
|
D | ssl_tls13_keys.c | 1082 ret = mbedtls_ecdh_calc_secret( &handshake->ecdh_ctx, in mbedtls_ssl_tls13_key_schedule_stage_handshake()
|
D | ssl_misc.h | 607 mbedtls_ecdh_context ecdh_ctx; /*!< ECDH key exchange */ member
|
D | ssl_tls.c | 1542 if( ( ret = mbedtls_ecdh_calc_secret( &ssl->handshake->ecdh_ctx, &zlen, in mbedtls_ssl_psk_derive_premaster() 1553 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in mbedtls_ssl_psk_derive_premaster() 2993 mbedtls_ecdh_init( &handshake->ecdh_ctx ); in ssl_handshake_params_init() 5516 mbedtls_ecdh_free( &handshake->ecdh_ctx ); in mbedtls_ssl_handshake_free()
|
/third_party/openssl/apps/ |
D | speed.c | 621 EVP_PKEY_CTX *ecdh_ctx[EC_NUM]; member 1180 EVP_PKEY_CTX *ctx = tempargs->ecdh_ctx[testnum]; in ECDH_EVP_derive_key_loop() 3062 loopargs[i].ecdh_ctx[testnum] = ctx; in speed_main() 3372 EVP_PKEY_CTX_free(loopargs[i].ecdh_ctx[k]); in speed_main()
|