Searched refs:tls13 (Results 1 – 10 of 10) sorted by relevance
/dragonfly/crypto/libressl/ssl/ |
H A D | tls13_client.c | 71 ctx->hs->tls13.legacy_session_id_len = in tls13_client_init() 106 ctx->hs->tls13.legacy_session_id_len)) in tls13_client_hello_build() 252 ctx->hs->tls13.use_legacy = 1; in tls13_server_hello_process() 265 ctx->hs->tls13.hrr = 1; in tls13_server_hello_process() 360 ctx->hs->tls13.secrets = secrets; in tls13_client_engage_record_protection() 419 if (ctx->hs->tls13.use_legacy) in tls13_server_hello_retry_request_recv() 422 if (!ctx->hs->tls13.hrr) in tls13_server_hello_retry_request_recv() 430 ctx->hs->tls13.hrr = 0; in tls13_server_hello_retry_request_recv() 480 if (ctx->hs->tls13.use_legacy) { in tls13_server_hello_recv() 486 if (ctx->hs->tls13.hrr) { in tls13_server_hello_recv() [all …]
|
H A D | tls13_lib.c | 220 struct tls13_secrets *secrets = ctx->hs->tls13.secrets; in tls13_phh_update_read_traffic_secret() 416 ssl->internal->tls13 = ctx; in tls13_ctx_new() 520 if (ctx->hs->tls13.clienthello_md_ctx != NULL) in tls13_clienthello_hash_init() 528 if ((ctx->hs->tls13.clienthello_hash == NULL) && in tls13_clienthello_hash_init() 563 ctx->hs->tls13.clienthello_hash, in tls13_clienthello_hash_finalize() 564 &ctx->hs->tls13.clienthello_hash_len)) in tls13_clienthello_hash_finalize() 566 EVP_MD_CTX_free(ctx->hs->tls13.clienthello_md_ctx); in tls13_clienthello_hash_finalize() 567 ctx->hs->tls13.clienthello_md_ctx = NULL; in tls13_clienthello_hash_finalize() 577 if (ctx->hs->tls13.clienthello_hash == NULL) in tls13_clienthello_hash_validate() 583 EVP_MD_CTX_free(ctx->hs->tls13.clienthello_md_ctx); in tls13_clienthello_hash_validate() [all …]
|
H A D | tls13_quic.c | 61 if (ctx->hs->tls13.quic_read_buffer == NULL) in tls13_quic_handshake_read_cb() 64 return tls_buffer_read(ctx->hs->tls13.quic_read_buffer, buf, n); in tls13_quic_handshake_read_cb() 74 ctx->hs->tls13.quic_write_level, buf, n)) { in tls13_quic_handshake_write_cb() 89 ctx->hs->tls13.quic_read_level = read_level; in tls13_quic_set_read_traffic_key() 95 ctx->hs->tls13.quic_read_level, ctx->hs->cipher, in tls13_quic_set_read_traffic_key() 100 ctx->hs->tls13.quic_read_level, read_key->data, NULL, in tls13_quic_set_read_traffic_key() 113 ctx->hs->tls13.quic_write_level = write_level; in tls13_quic_set_write_traffic_key() 119 ctx->hs->tls13.quic_write_level, ctx->hs->cipher, in tls13_quic_set_write_traffic_key() 124 ctx->hs->tls13.quic_write_level, NULL, write_key->data, in tls13_quic_set_write_traffic_key() 136 if (!ssl->quic_method->send_alert(ssl, ctx->hs->tls13.quic_write_level, in tls13_quic_alert_send_cb()
|
H A D | tls13_server.c | 219 if (!ctx->hs->tls13.hrr) { in tls13_client_hello_process() 353 ctx->hs->tls13.legacy_session_id_len)) in tls13_server_hello_build() 395 ctx->hs->tls13.secrets = secrets; in tls13_server_engage_record_protection() 442 ctx->hs->tls13.hrr = 1; in tls13_server_hello_retry_request_send() 486 ctx->hs->tls13.hrr = 0; in tls13_client_hello_retry_recv() 514 ctx->hs->tls13.server_group = 0; in tls13_server_hello_send() 653 ctx->hs->tls13.cpk = cpk; in tls13_server_certificate_send() 725 if ((cpk = ctx->hs->tls13.cpk) == NULL) in tls13_server_certificate_verify_send() 742 ctx->hs->tls13.transcript_hash_len)) in tls13_server_certificate_verify_send() 975 ctx->hs->tls13.transcript_hash_len)) in tls13_client_certificate_verify_recv() [all …]
|
H A D | ssl_tlsext.c | 249 if (s->s3->hs.tls13.hrr) { in tlsext_supportedgroups_server_parse() 1508 if (s->s3->hs.tls13.hrr) { in tlsext_keyshare_server_build() 1546 s->s3->hs.tls13.server_group = group; in tlsext_keyshare_client_parse() 1681 s->s3->hs.tls13.cookie_len > 0 && s->s3->hs.tls13.cookie != NULL); in tlsext_cookie_client_needs() 1693 s->s3->hs.tls13.cookie_len)) in tlsext_cookie_client_build() 1719 s->s3->hs.tls13.cookie_len)) { in tlsext_cookie_server_parse() 1736 s->s3->hs.tls13.cookie_len > 0 && s->s3->hs.tls13.cookie != NULL); in tlsext_cookie_server_needs() 1750 s->s3->hs.tls13.cookie_len)) in tlsext_cookie_server_build() 1769 if (s->s3->hs.tls13.cookie != NULL || in tlsext_cookie_client_parse() 1779 &s->s3->hs.tls13.cookie_len)) in tlsext_cookie_client_parse() [all …]
|
H A D | tls13_legacy.c | 126 struct tls13_ctx *ctx = ssl->internal->tls13; in tls13_legacy_error() 210 struct tls13_ctx *ctx = ssl->internal->tls13; in tls13_legacy_pending() 226 struct tls13_ctx *ctx = ssl->internal->tls13; in tls13_legacy_read_bytes() 260 struct tls13_ctx *ctx = ssl->internal->tls13; in tls13_legacy_write_bytes() 413 struct tls13_ctx *ctx = ssl->internal->tls13; in tls13_legacy_accept() 445 struct tls13_ctx *ctx = ssl->internal->tls13; in tls13_legacy_connect() 477 struct tls13_ctx *ctx = ssl->internal->tls13; in tls13_legacy_shutdown()
|
H A D | tls13_handshake.c | 478 ctx->hs->tls13.transcript_hash, in tls13_handshake_send_action() 479 sizeof(ctx->hs->tls13.transcript_hash), in tls13_handshake_send_action() 480 &ctx->hs->tls13.transcript_hash_len)) in tls13_handshake_send_action() 522 ctx->hs->tls13.transcript_hash, in tls13_handshake_recv_action() 523 sizeof(ctx->hs->tls13.transcript_hash), in tls13_handshake_recv_action() 524 &ctx->hs->tls13.transcript_hash_len)) in tls13_handshake_recv_action()
|
H A D | s3_lib.c | 1568 tls13_secrets_destroy(s->s3->hs.tls13.secrets); in ssl3_free() 1569 freezero(s->s3->hs.tls13.cookie, s->s3->hs.tls13.cookie_len); in ssl3_free() 1570 tls13_clienthello_hash_clear(&s->s3->hs.tls13); in ssl3_free() 1572 tls_buffer_free(s->s3->hs.tls13.quic_read_buffer); in ssl3_free() 1613 tls13_secrets_destroy(s->s3->hs.tls13.secrets); in ssl3_clear() 1614 s->s3->hs.tls13.secrets = NULL; in ssl3_clear() 1615 freezero(s->s3->hs.tls13.cookie, s->s3->hs.tls13.cookie_len); in ssl3_clear() 1616 s->s3->hs.tls13.cookie = NULL; in ssl3_clear() 1617 s->s3->hs.tls13.cookie_len = 0; in ssl3_clear() 1618 tls13_clienthello_hash_clear(&s->s3->hs.tls13); in ssl3_clear() [all …]
|
H A D | ssl_lib.c | 196 tls13_ctx_free(s->internal->tls13); in SSL_clear() 197 s->internal->tls13 = NULL; in SSL_clear() 537 tls13_ctx_free(s->internal->tls13); in SSL_free() 1877 if (s->internal->tls13 != NULL && s->version == TLS1_3_VERSION) { in SSL_export_keying_material() 1882 return tls13_exporter(s->internal->tls13, label, llen, p, plen, in SSL_export_keying_material() 2660 return ssl->s3->hs.tls13.quic_read_level; in SSL_quic_read_level() 2666 return ssl->s3->hs.tls13.quic_write_level; in SSL_quic_write_level() 2683 if (ssl->s3->hs.tls13.quic_read_buffer == NULL) { in SSL_provide_quic_data() 2684 ssl->s3->hs.tls13.quic_read_buffer = tls_buffer_new(0); in SSL_provide_quic_data() 2685 if (ssl->s3->hs.tls13.quic_read_buffer == NULL) { in SSL_provide_quic_data() [all …]
|
H A D | ssl_locl.h | 652 SSL_HANDSHAKE_TLS13 tls13; member 924 struct tls13_ctx *tls13; member 1331 STACK_OF(SSL_CIPHER) **pref, STACK_OF(SSL_CIPHER) *tls13,
|