Home
last modified time | relevance | path

Searched refs:dhm_P (Results 1 – 3 of 3) sorted by relevance

/reactos/sdk/include/reactos/libs/mbedtls/
H A Dssl.h950 mbedtls_mpi dhm_P; /*!< prime modulus for DHM */ member
2190 const char *dhm_P,
2209 const unsigned char *dhm_P, size_t P_len,
/reactos/dll/3rdparty/mbedtls/
H A Dssl_tls.c7545 int mbedtls_ssl_conf_dh_param( mbedtls_ssl_config *conf, const char *dhm_P, const char *dhm_G ) in mbedtls_ssl_conf_dh_param() argument
7549 if( ( ret = mbedtls_mpi_read_string( &conf->dhm_P, 16, dhm_P ) ) != 0 || in mbedtls_ssl_conf_dh_param()
7552 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param()
7562 const unsigned char *dhm_P, size_t P_len, in mbedtls_ssl_conf_dh_param_bin() argument
7567 if( ( ret = mbedtls_mpi_read_binary( &conf->dhm_P, dhm_P, P_len ) ) != 0 || in mbedtls_ssl_conf_dh_param_bin()
7570 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param_bin()
7582 if( ( ret = mbedtls_mpi_copy( &conf->dhm_P, &dhm_ctx->P ) ) != 0 || in mbedtls_ssl_conf_dh_param_ctx()
7585 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_conf_dh_param_ctx()
9355 mbedtls_mpi_free( &conf->dhm_P ); in mbedtls_ssl_config_free()
H A Dssl_srv.c2996 if( ssl->conf->dhm_P.p == NULL || ssl->conf->dhm_G.p == NULL ) in ssl_prepare_server_key_exchange()
3012 &ssl->conf->dhm_P, in ssl_prepare_server_key_exchange()