Lines Matching refs:dhm_ctx
1880 if( ( ret = mbedtls_dhm_read_params( &ssl->handshake->dhm_ctx, p, end ) ) != 0 )
1886 if( ssl->handshake->dhm_ctx.len * 8 < ssl->conf->dhm_min_bitlen )
1889 ssl->handshake->dhm_ctx.len * 8,
1894 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: P ", &ssl->handshake->dhm_ctx.P );
1895 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: G ", &ssl->handshake->dhm_ctx.G );
1896 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GY", &ssl->handshake->dhm_ctx.GY );
2740 n = ssl->handshake->dhm_ctx.len;
2746 ret = mbedtls_dhm_make_public( &ssl->handshake->dhm_ctx,
2747 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ),
2756 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: X ", &ssl->handshake->dhm_ctx.X );
2757 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GX", &ssl->handshake->dhm_ctx.GX );
2759 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx,
2769 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K );
2868 n = ssl->handshake->dhm_ctx.len;
2880 ret = mbedtls_dhm_make_public( &ssl->handshake->dhm_ctx,
2881 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ),