Lines Matching refs:ssl
349 int mbedtls_ssl_handshake_client_step( mbedtls_ssl_context *ssl );
350 int mbedtls_ssl_handshake_server_step( mbedtls_ssl_context *ssl );
351 void mbedtls_ssl_handshake_wrapup( mbedtls_ssl_context *ssl );
353 int mbedtls_ssl_send_fatal_handshake_failure( mbedtls_ssl_context *ssl );
355 void mbedtls_ssl_reset_checksum( mbedtls_ssl_context *ssl );
356 int mbedtls_ssl_derive_keys( mbedtls_ssl_context *ssl );
358 int mbedtls_ssl_read_record_layer( mbedtls_ssl_context *ssl );
359 int mbedtls_ssl_handle_message_type( mbedtls_ssl_context *ssl );
360 int mbedtls_ssl_prepare_handshake_record( mbedtls_ssl_context *ssl );
361 void mbedtls_ssl_update_handshake_status( mbedtls_ssl_context *ssl );
363 int mbedtls_ssl_read_record( mbedtls_ssl_context *ssl );
364 int mbedtls_ssl_fetch_input( mbedtls_ssl_context *ssl, size_t nb_want );
366 int mbedtls_ssl_write_record( mbedtls_ssl_context *ssl );
367 int mbedtls_ssl_flush_output( mbedtls_ssl_context *ssl );
369 int mbedtls_ssl_parse_certificate( mbedtls_ssl_context *ssl );
370 int mbedtls_ssl_write_certificate( mbedtls_ssl_context *ssl );
372 int mbedtls_ssl_parse_change_cipher_spec( mbedtls_ssl_context *ssl );
373 int mbedtls_ssl_write_change_cipher_spec( mbedtls_ssl_context *ssl );
375 int mbedtls_ssl_parse_finished( mbedtls_ssl_context *ssl );
376 int mbedtls_ssl_write_finished( mbedtls_ssl_context *ssl );
378 void mbedtls_ssl_optimize_checksum( mbedtls_ssl_context *ssl,
382 int mbedtls_ssl_psk_derive_premaster( mbedtls_ssl_context *ssl, mbedtls_key_exchange_type_t key_ex …
392 int mbedtls_ssl_set_calc_verify_md( mbedtls_ssl_context *ssl, int md );
395 int mbedtls_ssl_check_curve( const mbedtls_ssl_context *ssl, mbedtls_ecp_group_id grp_id );
399 int mbedtls_ssl_check_sig_hash( const mbedtls_ssl_context *ssl,
404 static inline mbedtls_pk_context *mbedtls_ssl_own_key( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_key() argument
408 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_key()
409 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_key()
411 key_cert = ssl->conf->key_cert; in mbedtls_ssl_own_key()
416 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_cert() argument
420 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_cert()
421 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_cert()
423 key_cert = ssl->conf->key_cert; in mbedtls_ssl_own_cert()
448 static inline size_t mbedtls_ssl_hdr_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_hdr_len() argument
451 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in mbedtls_ssl_hdr_len()
454 ((void) ssl); in mbedtls_ssl_hdr_len()
459 static inline size_t mbedtls_ssl_hs_hdr_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_hs_hdr_len() argument
462 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in mbedtls_ssl_hs_hdr_len()
465 ((void) ssl); in mbedtls_ssl_hs_hdr_len()
471 void mbedtls_ssl_send_flight_completed( mbedtls_ssl_context *ssl );
472 void mbedtls_ssl_recv_flight_completed( mbedtls_ssl_context *ssl );
473 int mbedtls_ssl_resend( mbedtls_ssl_context *ssl );
478 int mbedtls_ssl_dtls_replay_check( mbedtls_ssl_context *ssl );
479 void mbedtls_ssl_dtls_replay_update( mbedtls_ssl_context *ssl );