Lines Matching refs:mbedtls_ssl_context
240 void (*update_checksum)(mbedtls_ssl_context *, const unsigned char *, size_t);
241 void (*calc_verify)(mbedtls_ssl_context *, unsigned char *);
242 void (*calc_finished)(mbedtls_ssl_context *, unsigned char *, int);
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()
416 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_cert()
448 static inline size_t mbedtls_ssl_hdr_len( const mbedtls_ssl_context *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()
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 );