Lines Matching refs:dhm_ctx
1685 if ((ret = mbedtls_dhm_read_params(&ssl->handshake->dhm_ctx, in ssl_parse_server_dh_params()
1691 dhm_actual_bitlen = mbedtls_dhm_get_bitlen(&ssl->handshake->dhm_ctx); in ssl_parse_server_dh_params()
1699 MBEDTLS_SSL_DEBUG_MPI(3, "DHM: P ", &ssl->handshake->dhm_ctx.P); in ssl_parse_server_dh_params()
1700 MBEDTLS_SSL_DEBUG_MPI(3, "DHM: G ", &ssl->handshake->dhm_ctx.G); in ssl_parse_server_dh_params()
1701 MBEDTLS_SSL_DEBUG_MPI(3, "DHM: GY", &ssl->handshake->dhm_ctx.GY); in ssl_parse_server_dh_params()
2721 content_len = mbedtls_dhm_get_len(&ssl->handshake->dhm_ctx); in ssl_write_client_key_exchange()
2726 ret = mbedtls_dhm_make_public(&ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
2727 (int) mbedtls_dhm_get_len(&ssl->handshake->dhm_ctx), in ssl_write_client_key_exchange()
2735 MBEDTLS_SSL_DEBUG_MPI(3, "DHM: X ", &ssl->handshake->dhm_ctx.X); in ssl_write_client_key_exchange()
2736 MBEDTLS_SSL_DEBUG_MPI(3, "DHM: GX", &ssl->handshake->dhm_ctx.GX); in ssl_write_client_key_exchange()
2738 if ((ret = mbedtls_dhm_calc_secret(&ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
2747 MBEDTLS_SSL_DEBUG_MPI(3, "DHM: K ", &ssl->handshake->dhm_ctx.K); in ssl_write_client_key_exchange()
3069 content_len = mbedtls_dhm_get_len(&ssl->handshake->dhm_ctx); in ssl_write_client_key_exchange()
3081 ret = mbedtls_dhm_make_public(&ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
3082 (int) mbedtls_dhm_get_len(&ssl->handshake->dhm_ctx), in ssl_write_client_key_exchange()
3096 if ((ret = mbedtls_dhm_calc_secret(&ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
3105 MBEDTLS_SSL_DEBUG_MPI(3, "DHM: K ", &ssl->handshake->dhm_ctx.K); in ssl_write_client_key_exchange()