Searched refs:dhm_G (Results 1 – 8 of 8) sorted by relevance
/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
D | ssl.h | 1221 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/ |
D | ssl_tls.c | 4613 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()
|
D | ssl_srv.c | 3351 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/ |
D | benchmark.c | 1006 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/ |
D | benchmark.c | 833 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/ |
D | ssl.h | 1490 mbedtls_mpi MBEDTLS_PRIVATE(dhm_G); /*!< generator for DHM */ 3583 const unsigned char *dhm_G, size_t G_len );
|
/external/mbedtls/library/ |
D | ssl_tls.c | 2705 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()
|
D | ssl_tls12_server.c | 2929 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()
|