tls13_ctx
struct tls13_ctx *tls13;
struct tls13_ctx *ctx = s->tls13;
tls13_client_hello_build(struct tls13_ctx *ctx, CBB *cbb)
tls13_client_finished_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_client_finished_sent(struct tls13_ctx *ctx)
tls13_client_hello_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_client_hello_sent(struct tls13_ctx *ctx)
tls13_server_hello_process(struct tls13_ctx *ctx, CBS *cbs)
tls13_client_init(struct tls13_ctx *ctx)
tls13_client_engage_record_protection(struct tls13_ctx *ctx)
tls13_server_hello_retry_request_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_client_hello_retry_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_hello_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_server_encrypted_extensions_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_server_certificate_request_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_server_certificate_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_server_certificate_verify_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_server_finished_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_client_check_certificate(struct tls13_ctx *ctx, SSL_CERT_PKEY *cpk,
tls13_client_select_certificate(struct tls13_ctx *ctx, SSL_CERT_PKEY **out_cpk,
tls13_client_certificate_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_client_connect(struct tls13_ctx *ctx)
tls13_client_certificate_verify_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_client_end_of_early_data_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_handshake_active_state(struct tls13_ctx *ctx)
tls13_handshake_active_action(struct tls13_ctx *ctx)
tls13_handshake_advance_state_machine(struct tls13_ctx *ctx)
tls13_handshake_end_of_flight(struct tls13_ctx *ctx,
int (*send)(struct tls13_ctx *ctx, CBB *cbb);
tls13_handshake_msg_record(struct tls13_ctx *ctx)
int (*sent)(struct tls13_ctx *ctx);
tls13_handshake_perform(struct tls13_ctx *ctx)
int (*recv)(struct tls13_ctx *ctx, CBS *cbs);
tls13_handshake_active_state(struct tls13_ctx *ctx);
tls13_handshake_active_action(struct tls13_ctx *ctx);
static int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx);
tls13_handshake_send_action(struct tls13_ctx *ctx,
static int tls13_handshake_send_action(struct tls13_ctx *ctx,
static int tls13_handshake_recv_action(struct tls13_ctx *ctx,
tls13_handshake_recv_action(struct tls13_ctx *ctx,
static int tls13_handshake_set_legacy_state(struct tls13_ctx *ctx);
static int tls13_handshake_legacy_info_callback(struct tls13_ctx *ctx);
tls13_handshake_legacy_state(struct tls13_ctx *ctx, int *out_state)
tls13_handshake_info_position(struct tls13_ctx *ctx)
tls13_handshake_legacy_info_callback(struct tls13_ctx *ctx)
tls13_handshake_set_legacy_state(struct tls13_ctx *ctx)
struct tls13_ctx *tls13_ctx_new(int mode, SSL *ssl);
void tls13_ctx_free(struct tls13_ctx *ctx);
int tls13_quic_init(struct tls13_ctx *ctx);
int tls13_use_legacy_client(struct tls13_ctx *ctx);
int tls13_use_legacy_server(struct tls13_ctx *ctx);
int tls13_legacy_servername_process(struct tls13_ctx *ctx, uint8_t *alert);
int tls13_handshake_msg_record(struct tls13_ctx *ctx);
int tls13_handshake_perform(struct tls13_ctx *ctx);
int tls13_client_init(struct tls13_ctx *ctx);
int tls13_server_init(struct tls13_ctx *ctx);
int tls13_client_connect(struct tls13_ctx *ctx);
int tls13_server_accept(struct tls13_ctx *ctx);
int tls13_client_hello_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_client_hello_sent(struct tls13_ctx *ctx);
int tls13_client_hello_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_client_hello_retry_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_client_hello_retry_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_client_end_of_early_data_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_client_certificate_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_client_certificate_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_client_certificate_verify_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_client_certificate_verify_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_client_finished_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_client_finished_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_client_finished_sent(struct tls13_ctx *ctx);
int tls13_server_hello_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_server_hello_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_server_hello_sent(struct tls13_ctx *ctx);
int tls13_server_hello_retry_request_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_server_hello_retry_request_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_server_hello_retry_request_sent(struct tls13_ctx *ctx);
int tls13_server_encrypted_extensions_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_server_certificate_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_server_certificate_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_server_certificate_request_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_server_certificate_request_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_server_certificate_verify_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_server_certificate_verify_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_server_finished_recv(struct tls13_ctx *ctx, CBS *cbs);
int tls13_server_finished_send(struct tls13_ctx *ctx, CBB *cbb);
int tls13_server_finished_sent(struct tls13_ctx *ctx);
int tls13_cert_add(struct tls13_ctx *ctx, CBB *cbb, X509 *cert,
int tls13_synthetic_handshake_message(struct tls13_ctx *ctx);
int tls13_clienthello_hash_init(struct tls13_ctx *ctx);
int tls13_clienthello_hash_update_bytes(struct tls13_ctx *ctx, void *data,
int tls13_clienthello_hash_update(struct tls13_ctx *ctx, CBS *cbs);
int tls13_clienthello_hash_finalize(struct tls13_ctx *ctx);
int tls13_clienthello_hash_validate(struct tls13_ctx *ctx);
int tls13_exporter(struct tls13_ctx *ctx, const uint8_t *label, size_t label_len,
tls13_exporter(struct tls13_ctx *ctx, const uint8_t *label, size_t label_len,
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = ssl->tls13;
struct tls13_ctx *ctx = ssl->tls13;
struct tls13_ctx *ctx = ssl->tls13;
struct tls13_ctx *ctx = ssl->tls13;
tls13_use_legacy_stack(struct tls13_ctx *ctx)
tls13_use_legacy_client(struct tls13_ctx *ctx)
tls13_use_legacy_server(struct tls13_ctx *ctx)
struct tls13_ctx *ctx = ssl->tls13;
struct tls13_ctx *ctx = ssl->tls13;
struct tls13_ctx *ctx = ssl->tls13;
tls13_legacy_servername_process(struct tls13_ctx *ctx, uint8_t *alert)
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
tls13_phh_update_read_traffic_secret(struct tls13_ctx *ctx)
tls13_phh_update_write_traffic_secret(struct tls13_ctx *ctx)
tls13_phh_limit_check(struct tls13_ctx *ctx)
tls13_key_update_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_new_session_ticket_recv(struct tls13_ctx *ctx, CBS *cbs)
struct tls13_ctx *ctx = cb_arg;
struct tls13_ctx *ctx = cb_arg;
struct tls13_ctx *
struct tls13_ctx *ctx = NULL;
tls13_ctx_free(struct tls13_ctx *ctx)
freezero(ctx, sizeof(struct tls13_ctx));
tls13_cert_add(struct tls13_ctx *ctx, CBB *cbb, X509 *cert,
tls13_synthetic_handshake_message(struct tls13_ctx *ctx)
tls13_clienthello_hash_init(struct tls13_ctx *ctx)
tls13_clienthello_hash_update_bytes(struct tls13_ctx *ctx, void *data,
tls13_clienthello_hash_update(struct tls13_ctx *ctx, CBS *cbs)
tls13_clienthello_hash_finalize(struct tls13_ctx *ctx)
tls13_clienthello_hash_validate(struct tls13_ctx *ctx)
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
tls13_quic_init(struct tls13_ctx *ctx)
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
struct tls13_ctx *ctx = arg;
tls13_client_hello_required_extensions(struct tls13_ctx *ctx)
tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_client_finished_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_client_hello_process(struct tls13_ctx *ctx, CBS *cbs)
tls13_server_init(struct tls13_ctx *ctx)
tls13_client_hello_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_server_hello_build(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_engage_record_protection(struct tls13_ctx *ctx)
tls13_server_hello_retry_request_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_hello_retry_request_sent(struct tls13_ctx *ctx)
tls13_client_hello_retry_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_servername_process(struct tls13_ctx *ctx)
tls13_server_hello_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_hello_sent(struct tls13_ctx *ctx)
tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_certificate_request_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_accept(struct tls13_ctx *ctx)
tls13_server_check_certificate(struct tls13_ctx *ctx, SSL_CERT_PKEY *cpk,
tls13_server_select_certificate(struct tls13_ctx *ctx, SSL_CERT_PKEY **out_cpk,
tls13_server_certificate_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_certificate_verify_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_finished_send(struct tls13_ctx *ctx, CBB *cbb)
tls13_server_finished_sent(struct tls13_ctx *ctx)
tls13_client_certificate_recv(struct tls13_ctx *ctx, CBS *cbs)
tls13_client_certificate_verify_recv(struct tls13_ctx *ctx, CBS *cbs)
struct tls13_ctx *tls13_ctx;
if ((tls13_ctx = tls13_ctx_new(TLS13_HS_CLIENT, ssl)) == NULL) {
ssl->tls13 = tls13_ctx;
tls13_ctx->handshake_completed = 1;