Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
A Dssl_cli.c2624 if( ( ret = mbedtls_dhm_read_params( &ssl->handshake->dhm_ctx, in ssl_parse_server_dh_params()
2631 dhm_actual_bitlen = mbedtls_mpi_bitlen( &ssl->handshake->dhm_ctx.P ); in ssl_parse_server_dh_params()
2640 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: P ", &ssl->handshake->dhm_ctx.P ); in ssl_parse_server_dh_params()
2641 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: G ", &ssl->handshake->dhm_ctx.G ); in ssl_parse_server_dh_params()
2642 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GY", &ssl->handshake->dhm_ctx.GY ); in ssl_parse_server_dh_params()
3694 content_len = ssl->handshake->dhm_ctx.len; in ssl_write_client_key_exchange()
3700 ret = mbedtls_dhm_make_public( &ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
3713 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
3954 content_len = ssl->handshake->dhm_ctx.len; in ssl_write_client_key_exchange()
3967 ret = mbedtls_dhm_make_public( &ssl->handshake->dhm_ctx, in ssl_write_client_key_exchange()
[all …]
A Dssl_srv.c3380 if( ( ret = mbedtls_dhm_set_group( &ssl->handshake->dhm_ctx, in ssl_prepare_server_key_exchange()
3389 &ssl->handshake->dhm_ctx, in ssl_prepare_server_key_exchange()
3390 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_prepare_server_key_exchange()
3404 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: X ", &ssl->handshake->dhm_ctx.X ); in ssl_prepare_server_key_exchange()
3405 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: P ", &ssl->handshake->dhm_ctx.P ); in ssl_prepare_server_key_exchange()
3406 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: G ", &ssl->handshake->dhm_ctx.G ); in ssl_prepare_server_key_exchange()
3407 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GX", &ssl->handshake->dhm_ctx.GX ); in ssl_prepare_server_key_exchange()
3816 if( ( ret = mbedtls_dhm_read_public( &ssl->handshake->dhm_ctx, *p, n ) ) != 0 ) in ssl_parse_client_dh_public()
3824 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: GY", &ssl->handshake->dhm_ctx.GY ); in ssl_parse_client_dh_public()
4161 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in ssl_parse_client_key_exchange()
[all …]
A Dssl_tls.c1985 if( ( ret = mbedtls_dhm_calc_secret( &ssl->handshake->dhm_ctx, in mbedtls_ssl_psk_derive_premaster()
1996 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K ); in mbedtls_ssl_psk_derive_premaster()
3686 mbedtls_dhm_init( &handshake->dhm_ctx ); in ssl_handshake_params_init()
4578 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx ) in mbedtls_ssl_conf_dh_param_ctx() argument
4582 if( ( ret = mbedtls_mpi_copy( &conf->dhm_P, &dhm_ctx->P ) ) != 0 || in mbedtls_ssl_conf_dh_param_ctx()
4583 ( ret = mbedtls_mpi_copy( &conf->dhm_G, &dhm_ctx->G ) ) != 0 ) in mbedtls_ssl_conf_dh_param_ctx()
6008 mbedtls_dhm_free( &handshake->dhm_ctx ); in mbedtls_ssl_handshake_free()
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dssl_internal.h438 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */ member
A Dssl.h2971 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx );
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dssl_internal.h438 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */ member
A Dssl.h2971 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx );
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl_internal.h438 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */ member
A Dssl.h2971 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx );
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dssl_internal.h438 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */ member
A Dssl.h2971 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx );
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dssl_internal.h438 mbedtls_dhm_context dhm_ctx; /*!< DHM key exchange */ member
A Dssl.h2971 int mbedtls_ssl_conf_dh_param_ctx( mbedtls_ssl_config *conf, mbedtls_dhm_context *dhm_ctx );

Completed in 97 milliseconds