Searched refs:dhm_ctx (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_cli.c | 2651 if( ( ret = mbedtls_dhm_read_params( &ssl->handshake->dhm_ctx, in ssl_parse_server_dh_params() 2658 dhm_actual_bitlen = mbedtls_mpi_bitlen( &ssl->handshake->dhm_ctx.P ); in ssl_parse_server_dh_params() 2667 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: P ", &ssl->handshake->dhm_ctx.P ); in ssl_parse_server_dh_params() 2668 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: G ", &ssl->handshake->dhm_ctx.G ); in ssl_parse_server_dh_params() 2669 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GY", &ssl->handshake->dhm_ctx.GY ); in ssl_parse_server_dh_params() 3742 content_len = ssl->handshake->dhm_ctx.len; in ssl_write_client_key_exchange() 3747 ret = mbedtls_dhm_make_public( &ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange() 3760 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange() 4013 content_len = ssl->handshake->dhm_ctx.len; in ssl_write_client_key_exchange() 4026 ret = mbedtls_dhm_make_public( &ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange() [all …]
|
A D | ssl_srv.c | 3412 if( ( ret = mbedtls_dhm_set_group( &ssl->handshake->dhm_ctx, in ssl_prepare_server_key_exchange() 3421 &ssl->handshake->dhm_ctx, in ssl_prepare_server_key_exchange() 3422 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_prepare_server_key_exchange() 3436 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: X ", &ssl->handshake->dhm_ctx.X ); in ssl_prepare_server_key_exchange() 3437 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: P ", &ssl->handshake->dhm_ctx.P ); in ssl_prepare_server_key_exchange() 3438 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: G ", &ssl->handshake->dhm_ctx.G ); in ssl_prepare_server_key_exchange() 3439 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GX", &ssl->handshake->dhm_ctx.GX ); in ssl_prepare_server_key_exchange() 3860 if( ( ret = mbedtls_dhm_read_public( &ssl->handshake->dhm_ctx, *p, n ) ) != 0 ) in ssl_parse_client_dh_public() 3868 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GY", &ssl->handshake->dhm_ctx.GY ); in ssl_parse_client_dh_public() 4202 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in ssl_parse_client_key_exchange() [all …]
|
A D | ssl_tls.c | 2062 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in mbedtls_ssl_psk_derive_premaster() 2072 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K ); in mbedtls_ssl_psk_derive_premaster() 3777 mbedtls_dhm_init( &handshake->dhm_ctx ); in ssl_handshake_params_init() 4677 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx ) in mbedtls_ssl_conf_dh_param_ctx() argument 4684 if( ( ret = mbedtls_mpi_copy( &conf->dhm_P, &dhm_ctx->P ) ) != 0 || in mbedtls_ssl_conf_dh_param_ctx() 4685 ( ret = mbedtls_mpi_copy( &conf->dhm_G, &dhm_ctx->G ) ) != 0 ) in mbedtls_ssl_conf_dh_param_ctx() 6103 mbedtls_dhm_free( &handshake->dhm_ctx ); in mbedtls_ssl_handshake_free()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | ssl_internal.h | 487 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */ member
|
A D | ssl.h | 3042 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx );
|
Completed in 37 milliseconds