Lines Matching refs:ecdh_ctx
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 );
2799 if( ( ret = mbedtls_ecdh_calc_secret( &ssl->handshake->ecdh_ctx,
2809 MBEDTLS_SSL_DEBUG_MPI( 3, "ECDH: z", &ssl->handshake->ecdh_ctx.z );
2898 ret = mbedtls_ecdh_make_public( &ssl->handshake->ecdh_ctx, &n,
2907 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Q", &ssl->handshake->ecdh_ctx.Q );