Searched refs:ecdh_ctx (Results 1 – 4 of 4) sorted by relevance
/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | ssl_cli.c | 1219 ssl->handshake->ecdh_ctx.point_format = p[0]; 1912 curve_info = mbedtls_ecp_curve_info_from_grp_id( ssl->handshake->ecdh_ctx.grp.id ); 1922 if( mbedtls_ssl_check_curve( ssl, ssl->handshake->ecdh_ctx.grp.id ) != 0 ) 1924 if( ssl->handshake->ecdh_ctx.grp.nbits < 163 || 1925 ssl->handshake->ecdh_ctx.grp.nbits > 521 ) 1929 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Qp", &ssl->handshake->ecdh_ctx.Qp ); 1956 if( ( ret = mbedtls_ecdh_read_params( &ssl->handshake->ecdh_ctx, 2174 if( ( ret = mbedtls_ecdh_get_params( &ssl->handshake->ecdh_ctx, peer_key, 2787 ret = mbedtls_ecdh_make_public( &ssl->handshake->ecdh_ctx, 2797 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Q", &ssl->handshake->ecdh_ctx.Q ); [all …]
|
D | ssl_srv.c | 310 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats() 2653 if( ( ret = mbedtls_ecdh_get_params( &ssl->handshake->ecdh_ctx, 2829 if( ( ret = mbedtls_ecp_group_load( &ssl->handshake->ecdh_ctx.grp, 2836 if( ( ret = mbedtls_ecdh_make_params( &ssl->handshake->ecdh_ctx, &len, 2850 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Q ", &ssl->handshake->ecdh_ctx.Q ); 3345 if( ( ret = mbedtls_ecdh_read_public( &ssl->handshake->ecdh_ctx, 3352 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Qp ", &ssl->handshake->ecdh_ctx.Qp ); 3354 if( ( ret = mbedtls_ecdh_calc_secret( &ssl->handshake->ecdh_ctx, 3364 MBEDTLS_SSL_DEBUG_MPI( 3, "ECDH: z ", &ssl->handshake->ecdh_ctx.z ); 3457 if( ( ret = mbedtls_ecdh_read_public( &ssl->handshake->ecdh_ctx, [all …]
|
D | ssl_tls.c | 1162 if( ( ret = mbedtls_ecdh_calc_secret( &ssl->handshake->ecdh_ctx, &zlen, in mbedtls_ssl_psk_derive_premaster() 1174 MBEDTLS_SSL_DEBUG_MPI( 3, "ECDH: z", &ssl->handshake->ecdh_ctx.z ); in mbedtls_ssl_psk_derive_premaster() 5253 mbedtls_ecdh_init( &handshake->ecdh_ctx ); in ssl_handshake_params_init() 6974 mbedtls_ecdh_free( &handshake->ecdh_ctx ); in mbedtls_ssl_handshake_free()
|
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/ |
D | ssl_internal.h | 174 mbedtls_ecdh_context ecdh_ctx; /*!< ECDH key exchange */ member
|