Lines Matching defs:ssl
62 static inline size_t ssl_ep_len( const mbedtls_ssl_context *ssl ) in ssl_ep_len()
77 static void ssl_set_timer( mbedtls_ssl_context *ssl, uint32_t millisecs ) in ssl_set_timer()
89 static int ssl_check_timer( mbedtls_ssl_context *ssl ) in ssl_check_timer()
108 static int ssl_double_retransmit_timeout( mbedtls_ssl_context *ssl ) in ssl_double_retransmit_timeout()
131 static void ssl_reset_retransmit_timeout( mbedtls_ssl_context *ssl ) in ssl_reset_retransmit_timeout()
484 int mbedtls_ssl_derive_keys( mbedtls_ssl_context *ssl ) in mbedtls_ssl_derive_keys()
963 void ssl_calc_verify_ssl( mbedtls_ssl_context *ssl, unsigned char hash[36] ) in ssl_calc_verify_ssl()
1012 void ssl_calc_verify_tls( mbedtls_ssl_context *ssl, unsigned char hash[36] ) in ssl_calc_verify_tls()
1040 void ssl_calc_verify_tls_sha256( mbedtls_ssl_context *ssl, unsigned char hash[32] ) in ssl_calc_verify_tls_sha256()
1061 void ssl_calc_verify_tls_sha384( mbedtls_ssl_context *ssl, unsigned char hash[48] ) in ssl_calc_verify_tls_sha384()
1083 int mbedtls_ssl_psk_derive_premaster( mbedtls_ssl_context *ssl, mbedtls_key_exchange_type_t key_ex ) in mbedtls_ssl_psk_derive_premaster()
1253 static int ssl_encrypt_buf( mbedtls_ssl_context *ssl ) in ssl_encrypt_buf()
1567 static int ssl_decrypt_buf( mbedtls_ssl_context *ssl ) in ssl_decrypt_buf()
2064 static int ssl_compress_buf( mbedtls_ssl_context *ssl ) in ssl_compress_buf()
2110 static int ssl_decompress_buf( mbedtls_ssl_context *ssl ) in ssl_decompress_buf()
2161 static int ssl_resend_hello_request( mbedtls_ssl_context *ssl ) in ssl_resend_hello_request()
2203 int mbedtls_ssl_fetch_input( mbedtls_ssl_context *ssl, size_t nb_want ) in mbedtls_ssl_fetch_input()
2411 int mbedtls_ssl_flush_output( mbedtls_ssl_context *ssl ) in mbedtls_ssl_flush_output()
2472 static int ssl_flight_append( mbedtls_ssl_context *ssl ) in ssl_flight_append()
2537 static void ssl_swap_epochs( mbedtls_ssl_context *ssl ) in ssl_swap_epochs()
2589 int mbedtls_ssl_resend( mbedtls_ssl_context *ssl ) in mbedtls_ssl_resend()
2648 void mbedtls_ssl_recv_flight_completed( mbedtls_ssl_context *ssl ) in mbedtls_ssl_recv_flight_completed()
2673 void mbedtls_ssl_send_flight_completed( mbedtls_ssl_context *ssl ) in mbedtls_ssl_send_flight_completed()
2696 int mbedtls_ssl_write_record( mbedtls_ssl_context *ssl ) in mbedtls_ssl_write_record()
2925 static int ssl_reassemble_dtls_handshake( mbedtls_ssl_context *ssl ) in ssl_reassemble_dtls_handshake()
3073 int mbedtls_ssl_prepare_handshake_record( mbedtls_ssl_context *ssl ) in mbedtls_ssl_prepare_handshake_record()
3158 void mbedtls_ssl_update_handshake_status( mbedtls_ssl_context *ssl ) in mbedtls_ssl_update_handshake_status()
3188 static void ssl_dtls_replay_reset( mbedtls_ssl_context *ssl ) in ssl_dtls_replay_reset()
3207 int mbedtls_ssl_dtls_replay_check( mbedtls_ssl_context *ssl ) in mbedtls_ssl_dtls_replay_check()
3232 void mbedtls_ssl_dtls_replay_update( mbedtls_ssl_context *ssl ) in mbedtls_ssl_dtls_replay_update()
3414 static int ssl_handle_possible_reconnect( mbedtls_ssl_context *ssl ) in ssl_handle_possible_reconnect()
3474 static int ssl_parse_record_header( mbedtls_ssl_context *ssl ) in ssl_parse_record_header()
3652 static int ssl_prepare_record_content( mbedtls_ssl_context *ssl ) in ssl_prepare_record_content()
3724 int mbedtls_ssl_read_record( mbedtls_ssl_context *ssl ) in mbedtls_ssl_read_record()
3758 int mbedtls_ssl_read_record_layer( mbedtls_ssl_context *ssl ) in mbedtls_ssl_read_record_layer()
3943 int mbedtls_ssl_handle_message_type( mbedtls_ssl_context *ssl ) in mbedtls_ssl_handle_message_type()
4009 int mbedtls_ssl_send_fatal_handshake_failure( mbedtls_ssl_context *ssl ) in mbedtls_ssl_send_fatal_handshake_failure()
4023 int mbedtls_ssl_send_alert_message( mbedtls_ssl_context *ssl, in mbedtls_ssl_send_alert_message()
4060 int mbedtls_ssl_write_certificate( mbedtls_ssl_context *ssl ) in mbedtls_ssl_write_certificate()
4080 int mbedtls_ssl_parse_certificate( mbedtls_ssl_context *ssl ) in mbedtls_ssl_parse_certificate()
4100 int mbedtls_ssl_write_certificate( mbedtls_ssl_context *ssl ) in mbedtls_ssl_write_certificate()
4216 int mbedtls_ssl_parse_certificate( mbedtls_ssl_context *ssl ) in mbedtls_ssl_parse_certificate()
4502 int mbedtls_ssl_write_change_cipher_spec( mbedtls_ssl_context *ssl ) in mbedtls_ssl_write_change_cipher_spec()
4525 int mbedtls_ssl_parse_change_cipher_spec( mbedtls_ssl_context *ssl ) in mbedtls_ssl_parse_change_cipher_spec()
4604 void mbedtls_ssl_optimize_checksum( mbedtls_ssl_context *ssl, in mbedtls_ssl_optimize_checksum()
4633 void mbedtls_ssl_reset_checksum( mbedtls_ssl_context *ssl ) in mbedtls_ssl_reset_checksum()
4650 static void ssl_update_checksum_start( mbedtls_ssl_context *ssl, in ssl_update_checksum_start()
4670 static void ssl_update_checksum_md5sha1( mbedtls_ssl_context *ssl, in ssl_update_checksum_md5sha1()
4680 static void ssl_update_checksum_sha256( mbedtls_ssl_context *ssl, in ssl_update_checksum_sha256()
4688 static void ssl_update_checksum_sha384( mbedtls_ssl_context *ssl, in ssl_update_checksum_sha384()
4698 mbedtls_ssl_context *ssl, unsigned char *buf, int from ) in ssl_calc_finished_ssl()
4783 mbedtls_ssl_context *ssl, unsigned char *buf, int from ) in ssl_calc_finished_tls()
4843 mbedtls_ssl_context *ssl, unsigned char *buf, int from ) in ssl_calc_finished_tls_sha256()
4892 mbedtls_ssl_context *ssl, unsigned char *buf, int from ) in ssl_calc_finished_tls_sha384()
4940 static void ssl_handshake_wrapup_free_hs_transform( mbedtls_ssl_context *ssl ) in ssl_handshake_wrapup_free_hs_transform()
4965 void mbedtls_ssl_handshake_wrapup( mbedtls_ssl_context *ssl ) in mbedtls_ssl_handshake_wrapup()
5027 int mbedtls_ssl_write_finished( mbedtls_ssl_context *ssl ) in mbedtls_ssl_write_finished()
5151 int mbedtls_ssl_parse_finished( mbedtls_ssl_context *ssl ) in mbedtls_ssl_parse_finished()
5284 static int ssl_handshake_init( mbedtls_ssl_context *ssl ) in ssl_handshake_init()
5385 void mbedtls_ssl_init( mbedtls_ssl_context *ssl ) in mbedtls_ssl_init()
5393 int mbedtls_ssl_setup( mbedtls_ssl_context *ssl, in mbedtls_ssl_setup()
5457 static int ssl_session_reset_int( mbedtls_ssl_context *ssl, int partial ) in ssl_session_reset_int()
5560 int mbedtls_ssl_session_reset( mbedtls_ssl_context *ssl ) in mbedtls_ssl_session_reset()
5631 void mbedtls_ssl_set_bio( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_bio()
5648 void mbedtls_ssl_set_timer_cb( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_timer_cb()
5674 int mbedtls_ssl_set_session( mbedtls_ssl_context *ssl, const mbedtls_ssl_session *session ) in mbedtls_ssl_set_session()
5772 int mbedtls_ssl_set_hs_own_cert( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_hs_own_cert()
5780 void mbedtls_ssl_set_hs_ca_chain( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_hs_ca_chain()
5788 void mbedtls_ssl_set_hs_authmode( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_hs_authmode()
5799 int mbedtls_ssl_set_hs_ecjpake_password( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_hs_ecjpake_password()
5866 int mbedtls_ssl_set_hs_psk( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_hs_psk()
5963 int mbedtls_ssl_set_hostname( mbedtls_ssl_context *ssl, const char *hostname ) in mbedtls_ssl_set_hostname()
6027 const char *mbedtls_ssl_get_alpn_protocol( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_alpn_protocol()
6159 size_t mbedtls_ssl_get_bytes_avail( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_bytes_avail()
6164 uint32_t mbedtls_ssl_get_verify_result( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_verify_result()
6175 const char *mbedtls_ssl_get_ciphersuite( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_ciphersuite()
6183 const char *mbedtls_ssl_get_version( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_version()
6221 int mbedtls_ssl_get_record_expansion( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_record_expansion()
6256 size_t mbedtls_ssl_get_max_frag_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_max_frag_len()
6279 const mbedtls_x509_crt *mbedtls_ssl_get_peer_cert( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_get_peer_cert()
6289 int mbedtls_ssl_get_session( const mbedtls_ssl_context *ssl, mbedtls_ssl_session *dst ) in mbedtls_ssl_get_session()
6306 int mbedtls_ssl_handshake_step( mbedtls_ssl_context *ssl ) in mbedtls_ssl_handshake_step()
6328 int mbedtls_ssl_handshake( mbedtls_ssl_context *ssl ) in mbedtls_ssl_handshake()
6355 static int ssl_write_hello_request( mbedtls_ssl_context *ssl ) in ssl_write_hello_request()
6386 static int ssl_start_renegotiation( mbedtls_ssl_context *ssl ) in ssl_start_renegotiation()
6426 int mbedtls_ssl_renegotiate( mbedtls_ssl_context *ssl ) in mbedtls_ssl_renegotiate()
6482 static int ssl_check_ctr_renegotiate( mbedtls_ssl_context *ssl ) in ssl_check_ctr_renegotiate()
6505 int mbedtls_ssl_read( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in mbedtls_ssl_read()
6762 static int ssl_write_real( mbedtls_ssl_context *ssl, in ssl_write_real()
6817 static int ssl_write_split( mbedtls_ssl_context *ssl, in ssl_write_split()
6850 int mbedtls_ssl_write( mbedtls_ssl_context *ssl, const unsigned char *buf, size_t len ) in mbedtls_ssl_write()
6890 int mbedtls_ssl_close_notify( mbedtls_ssl_context *ssl ) in mbedtls_ssl_close_notify()
7050 void mbedtls_ssl_free( mbedtls_ssl_context *ssl ) in mbedtls_ssl_free()
7456 int mbedtls_ssl_check_curve( const mbedtls_ssl_context *ssl, mbedtls_ecp_group_id grp_id ) in mbedtls_ssl_check_curve()
7476 int mbedtls_ssl_check_sig_hash( const mbedtls_ssl_context *ssl, in mbedtls_ssl_check_sig_hash()
7636 int mbedtls_ssl_set_calc_verify_md( mbedtls_ssl_context *ssl, int md ) in mbedtls_ssl_set_calc_verify_md()