Home
last modified time | relevance | path

Searched refs:ecdh_ctx (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_cli.c1732 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats_ext()
2687 grp_id = ssl->handshake->ecdh_ctx.grp.id; in ssl_check_server_ecdh_params()
2689 grp_id = ssl->handshake->ecdh_ctx.grp_id; in ssl_check_server_ecdh_params()
2704 if( ssl->handshake->ecdh_ctx.grp.nbits < 163 || in ssl_check_server_ecdh_params()
2705 ssl->handshake->ecdh_ctx.grp.nbits > 521 ) in ssl_check_server_ecdh_params()
2709 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_check_server_ecdh_params()
2805 if( ( ret = mbedtls_ecdh_read_params( &ssl->handshake->ecdh_ctx, in ssl_parse_server_ecdh_params()
3891 ret = mbedtls_ecdh_make_public( &ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
3905 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
3933 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
[all …]
A Dssl_srv.c416 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats()
3279 if( ( ret = mbedtls_ecdh_get_params( &ssl->handshake->ecdh_ctx, in ssl_get_ecdh_params_from_cert()
3477 if( ( ret = mbedtls_ecdh_setup( &ssl->handshake->ecdh_ctx, in ssl_prepare_server_key_exchange()
3485 &ssl->handshake->ecdh_ctx, &len, in ssl_prepare_server_key_exchange()
3500 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_prepare_server_key_exchange()
4225 if( ( ret = mbedtls_ecdh_read_public( &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange()
4232 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange()
4235 if( ( ret = mbedtls_ecdh_calc_secret( &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange()
4245 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange()
4377 if( ( ret = mbedtls_ecdh_read_public( &ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange()
[all …]
A Dssl_tls.c2082 if( ( ret = mbedtls_ecdh_calc_secret( &ssl->handshake->ecdh_ctx, &zlen, in mbedtls_ssl_psk_derive_premaster()
2093 MBEDTLS_SSL_DEBUG_ECDH( 3, &ssl->handshake->ecdh_ctx, in mbedtls_ssl_psk_derive_premaster()
3780 mbedtls_ecdh_init( &handshake->ecdh_ctx ); in ssl_handshake_params_init()
6106 mbedtls_ecdh_free( &handshake->ecdh_ctx ); in mbedtls_ssl_handshake_free()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl_internal.h496 mbedtls_ecdh_context ecdh_ctx; /*!< ECDH key exchange */ member

Completed in 40 milliseconds