|
static bool | derive_secret (SSL_HANDSHAKE *hs, Span< uint8_t > out, Span< const char > label) |
|
static bool | derive_secret_with_transcript (const SSL_HANDSHAKE *hs, Span< uint8_t > out, const SSLTranscript &transcript, Span< const char > label) |
|
static bool | hkdf_expand_label (Span< uint8_t > out, const EVP_MD *digest, Span< const uint8_t > secret, Span< const char > label, Span< const uint8_t > hash) |
|
static bool | hkdf_extract_to_secret (SSL_HANDSHAKE *hs, const SSLTranscript &transcript, Span< const uint8_t > in) |
|
static BSSL_NAMESPACE_BEGIN bool | init_key_schedule (SSL_HANDSHAKE *hs, SSLTranscript *transcript, uint16_t version, const SSL_CIPHER *cipher) |
|
static Span< const char > | label_to_span (const char *label) |
|
bool | ssl_ech_accept_confirmation (const SSL_HANDSHAKE *hs, Span< uint8_t > out, Span< const uint8_t > client_random, const SSLTranscript &transcript, bool is_hrr, Span< const uint8_t > msg, size_t offset) |
|
size_t | ssl_ech_confirmation_signal_hello_offset (const SSL *ssl) |
|
bool | tls13_advance_key_schedule (SSL_HANDSHAKE *hs, Span< const uint8_t > in) |
|
bool | tls13_derive_application_secrets (SSL_HANDSHAKE *hs) |
|
bool | tls13_derive_early_secret (SSL_HANDSHAKE *hs) |
|
bool | tls13_derive_handshake_secrets (SSL_HANDSHAKE *hs) |
|
bool | tls13_derive_resumption_secret (SSL_HANDSHAKE *hs) |
|
bool | tls13_derive_session_psk (SSL_SESSION *session, Span< const uint8_t > nonce) |
|
bool | tls13_export_keying_material (SSL *ssl, Span< uint8_t > out, Span< const uint8_t > secret, Span< const char > label, Span< const uint8_t > context) |
|
bool | tls13_finished_mac (SSL_HANDSHAKE *hs, uint8_t *out, size_t *out_len, bool is_server) |
|
bool | tls13_init_early_key_schedule (SSL_HANDSHAKE *hs, const SSL_SESSION *session) |
|
bool | tls13_init_key_schedule (SSL_HANDSHAKE *hs, Span< const uint8_t > psk) |
|
static bool | tls13_psk_binder (uint8_t *out, size_t *out_len, const SSL_SESSION *session, const SSLTranscript &transcript, Span< const uint8_t > client_hello, size_t binders_len) |
|
bool | tls13_rotate_traffic_key (SSL *ssl, enum evp_aead_direction_t direction) |
|
bool | tls13_set_traffic_key (SSL *ssl, enum ssl_encryption_level_t level, enum evp_aead_direction_t direction, const SSL_SESSION *session, Span< const uint8_t > traffic_secret) |
|
static bool | tls13_verify_data (uint8_t *out, size_t *out_len, const EVP_MD *digest, uint16_t version, Span< const uint8_t > secret, Span< const uint8_t > context) |
|
bool | tls13_verify_psk_binder (const SSL_HANDSHAKE *hs, const SSL_SESSION *session, const SSLMessage &msg, CBS *binders) |
|
bool | tls13_write_psk_binder (const SSL_HANDSHAKE *hs, const SSLTranscript &transcript, Span< uint8_t > msg, size_t *out_binder_len) |
|