/mbedtls-development/library/ |
A D | ssl_tls13_client.c | 47 static int ssl_tls13_write_supported_versions_ext( mbedtls_ssl_context *ssl, in ssl_tls13_write_supported_versions_ext() 279 mbedtls_ssl_context *ssl, in ssl_tls13_generate_and_write_ecdh_key_exchange() 316 static int ssl_tls13_get_default_group_id( mbedtls_ssl_context *ssl, in ssl_tls13_get_default_group_id() 365 static int ssl_tls13_write_key_share_ext( mbedtls_ssl_context *ssl, in ssl_tls13_write_key_share_ext() 545 static int ssl_tls13_parse_key_share_ext( mbedtls_ssl_context *ssl, in ssl_tls13_parse_key_share_ext() 600 mbedtls_ssl_context *ssl, in ssl_tls13_write_client_hello_cipher_suites() 853 static int ssl_tls13_write_client_hello( mbedtls_ssl_context *ssl ) in ssl_tls13_write_client_hello() 896 static int ssl_server_hello_is_hrr( mbedtls_ssl_context *ssl, in ssl_server_hello_is_hrr() 1036 static int ssl_tls13_parse_server_hello( mbedtls_ssl_context *ssl, in ssl_tls13_parse_server_hello() 1631 static int ssl_tls1_3_flush_buffers( mbedtls_ssl_context *ssl ) in ssl_tls1_3_flush_buffers() [all …]
|
A D | ssl_cli.c | 92 int mbedtls_ssl_write_hostname_ext( mbedtls_ssl_context *ssl, in mbedtls_ssl_write_hostname_ext() 470 static int ssl_write_cid_ext( mbedtls_ssl_context *ssl, in ssl_write_cid_ext() 650 static int ssl_write_alpn_ext( mbedtls_ssl_context *ssl, in ssl_write_alpn_ext() 709 static int ssl_write_use_srtp_ext( mbedtls_ssl_context *ssl, in ssl_write_use_srtp_ext() 829 static int ssl_generate_random( mbedtls_ssl_context *ssl ) in ssl_generate_random() 880 const mbedtls_ssl_context * ssl, in ssl_validate_ciphersuite() 915 static int ssl_write_client_hello( mbedtls_ssl_context *ssl ) in ssl_write_client_hello() 1419 static int ssl_parse_cid_ext( mbedtls_ssl_context *ssl, in ssl_parse_cid_ext() 1597 static int ssl_parse_ecjpake_kkpp( mbedtls_ssl_context *ssl, in ssl_parse_ecjpake_kkpp() 1631 static int ssl_parse_alpn_ext( mbedtls_ssl_context *ssl, in ssl_parse_alpn_ext() [all …]
|
A D | ssl_tls13_generic.c | 36 int mbedtls_ssl_tls1_3_fetch_handshake_msg( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls1_3_fetch_handshake_msg() 74 int mbedtls_ssl_tls13_start_handshake_msg( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_start_handshake_msg() 95 int mbedtls_ssl_tls13_finish_handshake_msg( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_finish_handshake_msg() 112 void mbedtls_ssl_tls1_3_add_hs_msg_to_checksum( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls1_3_add_hs_msg_to_checksum() 121 void mbedtls_ssl_tls13_add_hs_hdr_to_checksum( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_add_hs_hdr_to_checksum() 155 int mbedtls_ssl_tls13_write_sig_alg_ext( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_write_sig_alg_ext() 555 static int ssl_tls13_parse_certificate( mbedtls_ssl_context *ssl, in ssl_tls13_parse_certificate() 679 static int ssl_tls13_parse_certificate( mbedtls_ssl_context *ssl, in ssl_tls13_parse_certificate() 694 static int ssl_tls13_validate_certificate( mbedtls_ssl_context *ssl ) in ssl_tls13_validate_certificate() 809 static int ssl_tls13_validate_certificate( mbedtls_ssl_context *ssl ) in ssl_tls13_validate_certificate() [all …]
|
A D | ssl_srv.c | 49 int mbedtls_ssl_set_client_transport_id( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_client_transport_id() 79 static int ssl_parse_servername_ext( mbedtls_ssl_context *ssl, in ssl_parse_servername_ext() 168 static int ssl_use_opaque_psk( mbedtls_ssl_context const *ssl ) in ssl_use_opaque_psk() 427 static int ssl_parse_ecjpake_kkpp( mbedtls_ssl_context *ssl, in ssl_parse_ecjpake_kkpp() 475 static int ssl_parse_cid_ext( mbedtls_ssl_context *ssl, in ssl_parse_cid_ext() 669 static int ssl_parse_alpn_ext( mbedtls_ssl_context *ssl, in ssl_parse_alpn_ext() 757 static int ssl_parse_use_srtp_ext( mbedtls_ssl_context *ssl, in ssl_parse_use_srtp_ext() 906 static int ssl_pick_cert( mbedtls_ssl_context *ssl, in ssl_pick_cert() 1118 static int ssl_parse_client_hello( mbedtls_ssl_context *ssl ) in ssl_parse_client_hello() 1939 static void ssl_write_cid_ext( mbedtls_ssl_context *ssl, in ssl_write_cid_ext() [all …]
|
A D | ssl_msg.c | 75 int mbedtls_ssl_check_timer( mbedtls_ssl_context *ssl ) in mbedtls_ssl_check_timer() 94 int mbedtls_ssl_check_record( mbedtls_ssl_context const *ssl, in mbedtls_ssl_check_record() 521 int mbedtls_ssl_encrypt_buf( mbedtls_ssl_context *ssl, in mbedtls_ssl_encrypt_buf() 1965 int mbedtls_ssl_flush_output( mbedtls_ssl_context *ssl ) in mbedtls_ssl_flush_output() 2035 static int ssl_flight_append( mbedtls_ssl_context *ssl ) in ssl_flight_append() 2101 static int ssl_swap_epochs( mbedtls_ssl_context *ssl ) in ssl_swap_epochs() 2135 int mbedtls_ssl_resend( mbedtls_ssl_context *ssl ) in mbedtls_ssl_resend() 3708 int mbedtls_ssl_read_record( mbedtls_ssl_context *ssl, in mbedtls_ssl_read_record() 3940 static int ssl_buffer_message( mbedtls_ssl_context *ssl ) in ssl_buffer_message() 5421 static int ssl_write_real( mbedtls_ssl_context *ssl, in ssl_write_real() [all …]
|
A D | ssl_tls.c | 77 int mbedtls_ssl_set_cid( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_cid() 110 int mbedtls_ssl_get_peer_cid( mbedtls_ssl_context *ssl, in mbedtls_ssl_get_peer_cid() 1261 int mbedtls_ssl_derive_keys( mbedtls_ssl_context *ssl ) in mbedtls_ssl_derive_keys() 3157 void mbedtls_ssl_init( mbedtls_ssl_context *ssl ) in mbedtls_ssl_init() 3213 int mbedtls_ssl_setup( mbedtls_ssl_context *ssl, in mbedtls_ssl_setup() 3491 void mbedtls_ssl_set_bio( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_bio() 3681 void mbedtls_ssl_set_verify( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_verify() 3822 static void ssl_remove_psk( mbedtls_ssl_context *ssl ) in ssl_remove_psk() 3840 int mbedtls_ssl_set_hs_psk( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_hs_psk() 5262 int mbedtls_ssl_handshake( mbedtls_ssl_context *ssl ) in mbedtls_ssl_handshake() [all …]
|
A D | debug.c | 59 static inline void debug_send_line( const mbedtls_ssl_context *ssl, int level, in debug_send_line() 78 void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg() 107 void mbedtls_debug_print_ret( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret() 135 void mbedtls_debug_print_buf( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf() 195 void mbedtls_debug_print_ecp( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ecp() 218 void mbedtls_debug_print_mpi( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_mpi() 276 static void debug_print_pk( const mbedtls_ssl_context *ssl, int level, in debug_print_pk() 314 static void debug_print_line_by_line( const mbedtls_ssl_context *ssl, int level, in debug_print_line_by_line() 339 void mbedtls_debug_print_crt( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_crt() 373 static void mbedtls_debug_printf_ecdh_internal( const mbedtls_ssl_context *ssl, in mbedtls_debug_printf_ecdh_internal() [all …]
|
A D | ssl_misc.h | 1179 static inline int mbedtls_ssl_write_handshake_msg( mbedtls_ssl_context *ssl ) in mbedtls_ssl_write_handshake_msg() 1210 static inline int mbedtls_ssl_get_psk( const mbedtls_ssl_context *ssl, in mbedtls_ssl_get_psk() 1244 const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_opaque_psk() 1307 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_cert() 1339 static inline size_t mbedtls_ssl_in_hdr_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_in_hdr_len() 1357 static inline size_t mbedtls_ssl_out_hdr_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_out_hdr_len() 1362 static inline size_t mbedtls_ssl_hs_hdr_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_hs_hdr_len() 1432 static inline size_t mbedtls_ssl_ep_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_ep_len() 1546 static inline int mbedtls_ssl_tls1_3_psk_enabled( mbedtls_ssl_context *ssl ) in mbedtls_ssl_tls1_3_psk_enabled() 1553 mbedtls_ssl_context *ssl ) in mbedtls_ssl_tls1_3_psk_ephemeral_enabled() [all …]
|
A D | ssl_tls13_server.c | 30 int mbedtls_ssl_tls13_handshake_server_step( mbedtls_ssl_context *ssl ) in mbedtls_ssl_tls13_handshake_server_step()
|
A D | ssl_tls13_keys.c | 567 int mbedtls_ssl_tls13_key_schedule_stage_application( mbedtls_ssl_context *ssl ) in mbedtls_ssl_tls13_key_schedule_stage_application() 646 int mbedtls_ssl_tls13_calculate_verify_data( mbedtls_ssl_context* ssl, in mbedtls_ssl_tls13_calculate_verify_data() 697 int mbedtls_ssl_tls1_3_create_psk_binder( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls1_3_create_psk_binder() 788 mbedtls_ssl_context *ssl /* DEBUG ONLY */ ) in mbedtls_ssl_tls13_populate_transform() 905 int mbedtls_ssl_tls1_3_key_schedule_stage_early( mbedtls_ssl_context *ssl ) in mbedtls_ssl_tls1_3_key_schedule_stage_early() 932 int mbedtls_ssl_tls13_generate_handshake_keys( mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_generate_handshake_keys() 1045 int mbedtls_ssl_tls13_key_schedule_stage_handshake( mbedtls_ssl_context *ssl ) in mbedtls_ssl_tls13_key_schedule_stage_handshake() 1115 mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_generate_application_keys()
|
/mbedtls-development/programs/ssl/ |
A D | ssl_mail_client.c | 172 static int do_handshake( mbedtls_ssl_context *ssl ) in do_handshake() 233 static int write_ssl_data( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_data() 250 static int write_ssl_and_get_response( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_and_get_response() 378 mbedtls_ssl_context ssl; in main() local
|
A D | ssl_context_info.c | 503 void print_deserialized_ssl_cert( const uint8_t *ssl, uint32_t len ) in print_deserialized_ssl_cert() 577 void print_deserialized_ssl_session( const uint8_t *ssl, uint32_t len, in print_deserialized_ssl_session() 830 void print_deserialized_ssl_context( const uint8_t *ssl, size_t len ) in print_deserialized_ssl_context()
|
A D | ssl_server.c | 99 mbedtls_ssl_context ssl; in main() local
|
A D | ssl_client1.c | 90 mbedtls_ssl_context ssl; in main() local
|
A D | ssl_fork_server.c | 105 mbedtls_ssl_context ssl; in main() local
|
A D | mini_client.c | 175 mbedtls_ssl_context ssl; in main() local
|
A D | dtls_client.c | 102 mbedtls_ssl_context ssl; in main() local
|
A D | dtls_server.c | 111 mbedtls_ssl_context ssl; in main() local
|
A D | ssl_server2.c | 811 int sni_callback( void *p_info, mbedtls_ssl_context *ssl, in sni_callback() 928 int psk_callback( void *p_info, mbedtls_ssl_context *ssl, in psk_callback() 1052 static int ssl_async_start( mbedtls_ssl_context *ssl, in ssl_async_start() 1118 static int ssl_async_sign( mbedtls_ssl_context *ssl, in ssl_async_sign() 1129 static int ssl_async_decrypt( mbedtls_ssl_context *ssl, in ssl_async_decrypt() 1139 static int ssl_async_resume( mbedtls_ssl_context *ssl, in ssl_async_resume() 1198 static void ssl_async_cancel( mbedtls_ssl_context *ssl ) in ssl_async_cancel() 1232 int report_cid_usage( mbedtls_ssl_context *ssl, in report_cid_usage() 1306 mbedtls_ssl_context ssl; in main() local
|
A D | ssl_test_lib.h | 125 mbedtls_ssl_context *ssl; member
|
A D | ssl_pthread_server.c | 127 mbedtls_ssl_context ssl; in handle_ssl_connection() local
|
/mbedtls-development/programs/fuzz/ |
A D | fuzz_dtlsclient.c | 37 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput() local
|
A D | fuzz_client.c | 41 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput() local
|
A D | fuzz_dtlsserver.c | 38 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput() local
|
A D | fuzz_server.c | 41 mbedtls_ssl_context ssl; in LLVMFuzzerTestOneInput() local
|