Home
last modified time | relevance | path

Searched refs:dhm_ctx (Results 1 – 5 of 5) sorted by relevance

/third_party/mbedtls/library/
Dssl_cli.c2451 if( ( ret = mbedtls_dhm_read_params( &ssl->handshake->dhm_ctx, in ssl_parse_server_dh_params()
2458 dhm_actual_bitlen = mbedtls_dhm_get_bitlen( &ssl->handshake->dhm_ctx ); in ssl_parse_server_dh_params()
2467 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: P ", &ssl->handshake->dhm_ctx.P ); in ssl_parse_server_dh_params()
2468 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: G ", &ssl->handshake->dhm_ctx.G ); in ssl_parse_server_dh_params()
2469 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GY", &ssl->handshake->dhm_ctx.GY ); in ssl_parse_server_dh_params()
3496 content_len = mbedtls_dhm_get_len( &ssl->handshake->dhm_ctx ); in ssl_write_client_key_exchange()
3501 ret = mbedtls_dhm_make_public( &ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
3502 (int) mbedtls_dhm_get_len( &ssl->handshake->dhm_ctx ), in ssl_write_client_key_exchange()
3511 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: X ", &ssl->handshake->dhm_ctx.X ); in ssl_write_client_key_exchange()
3512 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GX", &ssl->handshake->dhm_ctx.GX ); in ssl_write_client_key_exchange()
[all …]
Dssl_srv.c2995 if( ( ret = mbedtls_dhm_set_group( &ssl->handshake->dhm_ctx, in ssl_prepare_server_key_exchange()
3004 &ssl->handshake->dhm_ctx, in ssl_prepare_server_key_exchange()
3005 (int) mbedtls_dhm_get_len( &ssl->handshake->dhm_ctx ), in ssl_prepare_server_key_exchange()
3019 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: X ", &ssl->handshake->dhm_ctx.X ); in ssl_prepare_server_key_exchange()
3020 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: P ", &ssl->handshake->dhm_ctx.P ); in ssl_prepare_server_key_exchange()
3021 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: G ", &ssl->handshake->dhm_ctx.G ); in ssl_prepare_server_key_exchange()
3022 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GX", &ssl->handshake->dhm_ctx.GX ); in ssl_prepare_server_key_exchange()
3409 if( ( ret = mbedtls_dhm_read_public( &ssl->handshake->dhm_ctx, *p, n ) ) != 0 ) in ssl_parse_client_dh_public()
3417 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GY", &ssl->handshake->dhm_ctx.GY ); in ssl_parse_client_dh_public()
3741 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in ssl_parse_client_key_exchange()
[all …]
Dssl_tls.c1522 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in mbedtls_ssl_psk_derive_premaster()
1532 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K ); in mbedtls_ssl_psk_derive_premaster()
2990 mbedtls_dhm_init( &handshake->dhm_ctx ); in ssl_handshake_params_init()
3958 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx ) in mbedtls_ssl_conf_dh_param_ctx() argument
3962 if( ( ret = mbedtls_dhm_get_value( dhm_ctx, MBEDTLS_DHM_PARAM_P, in mbedtls_ssl_conf_dh_param_ctx()
3964 ( ret = mbedtls_dhm_get_value( dhm_ctx, MBEDTLS_DHM_PARAM_G, in mbedtls_ssl_conf_dh_param_ctx()
5513 mbedtls_dhm_free( &handshake->dhm_ctx ); in mbedtls_ssl_handshake_free()
Dssl_misc.h598 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */ member
/third_party/mbedtls/include/mbedtls/
Dssl.h3165 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx );