Home
last modified time | relevance | path

Searched refs:dhm_G (Results 1 – 4 of 4) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1221 mbedtls_mpi dhm_G; /*!< generator for DHM */ member
3012 const char *dhm_G );
3031 const unsigned char *dhm_G, size_t G_len );
/openthread-3.5.0/third_party/mbedtls/repo/library/
Dssl_tls.c4613 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
4618 ( ret = mbedtls_mpi_read_string( &conf->dhm_G, 16, dhm_G ) ) != 0 ) in mbedtls_ssl_conf_dh_param()
4621 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param()
4631 const unsigned char *dhm_G, size_t G_len ) in mbedtls_ssl_conf_dh_param_bin() argument
4636 ( ret = mbedtls_mpi_read_binary( &conf->dhm_G, dhm_G, G_len ) ) != 0 ) in mbedtls_ssl_conf_dh_param_bin()
4639 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_bin()
4651 ( ret = mbedtls_mpi_copy( &conf->dhm_G, &dhm_ctx->G ) ) != 0 ) in mbedtls_ssl_conf_dh_param_ctx()
4654 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_ctx()
7109 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_config_free()
Dssl_srv.c3351 if( ssl->conf->dhm_P.p == NULL || ssl->conf->dhm_G.p == NULL ) in ssl_prepare_server_key_exchange()
3368 &ssl->conf->dhm_G ) ) != 0 ) in ssl_prepare_server_key_exchange()
/openthread-3.5.0/third_party/mbedtls/repo/programs/test/
Dbenchmark.c833 const unsigned char *dhm_G[] = { dhm_G_2048, dhm_G_3072 }; in main() local
845 mbedtls_mpi_read_binary( &dhm.G, dhm_G[i], in main()