Lines Matching refs:ext
146 && s->ext.compress_certificate_sent) { in ossl_statem_client13_read_transition()
161 && s->ext.compress_certificate_sent) { in ossl_statem_client13_read_transition()
277 if (s->ext.ticket_expected) { in ossl_statem_client_read_transition()
292 && s->ext.session_secret_cb != NULL in ossl_statem_client_read_transition()
293 && s->session->ext.tick != NULL in ossl_statem_client_read_transition()
338 if (s->ext.status_expected && mt == SSL3_MT_CERTIFICATE_STATUS) { in ossl_statem_client_read_transition()
375 if (s->ext.ticket_expected) { in ossl_statem_client_read_transition()
431 return sc->ext.client_cert_type == TLSEXT_cert_type_x509 in do_compressed_cert()
432 && sc->ext.compress_certificate_from_peer[0] != TLSEXT_comp_cert_none; in do_compressed_cert()
493 if (s->ext.early_data == SSL_EARLY_DATA_ACCEPTED) { in ossl_statem_client13_write_transition()
730 } else if (s->ext.early_data == SSL_EARLY_DATA_REJECTED) { in ossl_statem_client_pre_work()
1619 && s->ext.session_secret_cb != NULL && s->session->ext.tick) { in tls_process_server_hello()
1628 if (s->ext.session_secret_cb(ussl, s->session->master_key, in tls_process_server_hello()
1631 s->ext.session_secret_cb_arg) in tls_process_server_hello()
1852 if (s->ext.tls13_cookie_len == 0 && s->s3.tmp.pkey != NULL) { in tls_process_as_hello_retry_request()
1974 if (s->ext.server_cert_type == TLSEXT_cert_type_rpk) in tls_process_server_certificate()
1976 if (s->ext.server_cert_type != TLSEXT_cert_type_x509) { in tls_process_server_certificate()
2069 if (s->ext.server_cert_type == TLSEXT_cert_type_rpk) in tls_post_process_server_certificate()
2755 OPENSSL_free(s->session->ext.tick); in tls_process_new_session_ticket()
2756 s->session->ext.tick = NULL; in tls_process_new_session_ticket()
2757 s->session->ext.ticklen = 0; in tls_process_new_session_ticket()
2759 s->session->ext.tick = OPENSSL_malloc(ticklen); in tls_process_new_session_ticket()
2760 if (s->session->ext.tick == NULL) { in tls_process_new_session_ticket()
2764 if (!PACKET_copy_bytes(pkt, s->session->ext.tick, ticklen)) { in tls_process_new_session_ticket()
2769 s->session->ext.tick_lifetime_hint = ticket_lifetime_hint; in tls_process_new_session_ticket()
2770 s->session->ext.tick_age_add = age_add; in tls_process_new_session_ticket()
2771 s->session->ext.ticklen = ticklen; in tls_process_new_session_ticket()
2814 if (!EVP_Digest(s->session->ext.tick, ticklen, in tls_process_new_session_ticket()
2882 s->ext.ocsp.resp = OPENSSL_malloc(resplen); in tls_process_cert_status_body()
2883 if (s->ext.ocsp.resp == NULL) { in tls_process_cert_status_body()
2884 s->ext.ocsp.resp_len = 0; in tls_process_cert_status_body()
2888 s->ext.ocsp.resp_len = resplen; in tls_process_cert_status_body()
2889 if (!PACKET_copy_bytes(pkt, s->ext.ocsp.resp, resplen)) { in tls_process_cert_status_body()
2932 if (s->ext.status_type != TLSEXT_STATUSTYPE_nothing in tls_process_initial_server_flight()
2933 && sctx->ext.status_cb != NULL) { in tls_process_initial_server_flight()
2934 int ret = sctx->ext.status_cb(SSL_CONNECTION_GET_USER_SSL(s), in tls_process_initial_server_flight()
2935 sctx->ext.status_arg); in tls_process_initial_server_flight()
3734 s->ext.compress_certificate_from_peer[0] = TLSEXT_comp_cert_none; in tls_prepare_client_certificate()
3744 s->ext.compress_certificate_from_peer[0] = TLSEXT_comp_cert_none; in tls_prepare_client_certificate()
3776 switch (s->ext.client_cert_type) { in tls_construct_client_certificate()
3829 int alg = sc->ext.compress_certificate_from_peer[0]; in tls_construct_client_compressed_certificate()
3972 len = s->ext.npn_len; in tls_construct_next_proto()
3975 if (!WPACKET_sub_memcpy_u8(pkt, s->ext.npn, len) in tls_construct_next_proto()