Home
last modified time | relevance | path

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

/external/openthread/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 );
/external/openthread/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()
/external/mbedtls/programs/test/
Dbenchmark.c1006 const unsigned char *dhm_G[] = { dhm_G_2048, dhm_G_3072 }; in main() local
1019 mbedtls_mpi_read_binary( &dhm.G, dhm_G[i], in main()
/external/openthread/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()
/external/mbedtls/include/mbedtls/
Dssl.h1490 mbedtls_mpi MBEDTLS_PRIVATE(dhm_G); /*!< generator for DHM */
3583 const unsigned char *dhm_G, size_t G_len );
/external/mbedtls/library/
Dssl_tls.c2705 const unsigned char *dhm_G, size_t G_len ) in mbedtls_ssl_conf_dh_param_bin() argument
2710 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_bin()
2713 ( ret = mbedtls_mpi_read_binary( &conf->dhm_G, dhm_G, G_len ) ) != 0 ) in mbedtls_ssl_conf_dh_param_bin()
2716 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_bin()
2728 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_ctx()
2733 &conf->dhm_G ) ) != 0 ) in mbedtls_ssl_conf_dh_param_ctx()
2736 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_conf_dh_param_ctx()
5253 mbedtls_mpi_free( &conf->dhm_G ); in mbedtls_ssl_config_free()
Dssl_tls12_server.c2929 if( ssl->conf->dhm_P.p == NULL || ssl->conf->dhm_G.p == NULL ) in ssl_prepare_server_key_exchange()
2946 &ssl->conf->dhm_G ) ) != 0 ) in ssl_prepare_server_key_exchange()