Home
last modified time | relevance | path

Searched refs:ext_type (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-14.2/crypto/openssl/ssl/statem/
H A Dextensions_cust.c89 if (ext_type == meth->ext_type in custom_ext_find()
125 meth = custom_ext_find(exts, role, ext_type, NULL); in custom_ext_parse()
219 if (!WPACKET_put_bytes_u16(pkt, meth->ext_type) in custom_ext_add()
382 if (SSL_extension_supported(ext_type) in add_custom_ext_intern()
387 if (ext_type > 0xffff) in add_custom_ext_intern()
390 if (custom_ext_find(exts, role, ext_type, NULL)) in add_custom_ext_intern()
405 meth->ext_type = ext_type; in add_custom_ext_intern()
413 unsigned int ext_type, in add_old_custom_ext() argument
438 ret = add_custom_ext_intern(ctx, role, ext_type, in add_old_custom_ext()
494 int SSL_extension_supported(unsigned int ext_type) in SSL_extension_supported() argument
[all …]
/freebsd-14.2/crypto/openssl/util/perl/TLSProxy/
H A DEncryptedExtensions.pm102 my ($self, $ext_type, $ext_data) = @_;
103 $self->{extension_data}{$ext_type} = $ext_data;
107 my ($self, $ext_type) = @_;
108 delete $self->{extension_data}{$ext_type};
H A DCertificateRequest.pm97 my ($self, $ext_type, $ext_data) = @_;
98 $self->{extension_data}{$ext_type} = $ext_data;
102 my ($self, $ext_type) = @_;
103 delete $self->{extension_data}{$ext_type};
H A DCertificate.pm206 my ($self, $ext_type, $ext_data) = @_;
207 $self->{extension_data}{$ext_type} = $ext_data;
211 my ($self, $ext_type) = @_;
212 delete $self->{extension_data}{$ext_type};
H A DServerHello.pm228 my ($self, $ext_type, $ext_data) = @_;
229 $self->{extension_data}{$ext_type} = $ext_data;
233 my ($self, $ext_type) = @_;
234 delete $self->{extension_data}{$ext_type};
H A DClientHello.pm250 my ($self, $ext_type, $ext_data) = @_;
251 $self->{extension_data}{$ext_type} = $ext_data;
255 my ($self, $ext_type) = @_;
256 delete $self->{extension_data}{$ext_type};
/freebsd-14.2/crypto/openssl/doc/man3/
H A DSSL_extension_supported.pod18 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type,
25 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type,
30 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type,
37 int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
45 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
50 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
54 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
59 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
65 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
71 int SSL_extension_supported(unsigned int ext_type);
[all …]
H A DSSL_CTX_has_client_custom_ext.pod12 int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx, unsigned int ext_type);
17 client extension of type B<ext_type> using SSL_CTX_add_client_custom_ext().
/freebsd-14.2/crypto/openssl/test/
H A Dssl_old_test.c414 if (ext_type == TLSEXT_TYPE_signed_certificate_timestamp) in serverinfo_cli_parse_cb()
416 else if (ext_type == TACK_EXT_TYPE) in serverinfo_cli_parse_cb()
446 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb()
462 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb()
480 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_cli_add_cb()
491 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_cli_parse_cb()
502 if (ext_type != CUSTOM_EXT_TYPE_3) in custom_ext_3_cli_add_cb()
513 if (ext_type != CUSTOM_EXT_TYPE_3) in custom_ext_3_cli_parse_cb()
548 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_srv_parse_cb()
569 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_srv_parse_cb()
[all …]
/freebsd-14.2/crypto/openssl/ssl/
H A Dssl_rsa.c580 static int serverinfoex_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_parse_cb() argument
595 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb() argument
599 return serverinfoex_srv_parse_cb(s, ext_type, 0, in, inlen, NULL, 0, al, in serverinfo_srv_parse_cb()
603 static int serverinfoex_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_add_cb() argument
621 ext_type, out, outlen); in serverinfoex_srv_add_cb()
634 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_add_cb() argument
638 return serverinfoex_srv_add_cb(s, ext_type, 0, out, outlen, NULL, 0, al, in serverinfo_srv_add_cb()
664 unsigned int ext_type = 0; in serverinfo_process_buffer() local
668 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
687 if (!SSL_CTX_add_server_custom_ext(ctx, ext_type, in serverinfo_process_buffer()
[all …]
/freebsd-14.2/sys/dev/hptnr/
H A Dos_bsd.h133 int ext_type; member
164 int ext_type; member
H A Dhptnr_os_bsd.c141 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
180 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
236 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/freebsd-14.2/sys/dev/hptrr/
H A Dos_bsd.h134 int ext_type; member
165 int ext_type; member
H A Dhptrr_os_bsd.c127 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
166 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
222 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/freebsd-14.2/sys/dev/hpt27xx/
H A Dos_bsd.h131 int ext_type; member
162 int ext_type; member
H A Dhpt27xx_os_bsd.c155 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
194 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
250 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/freebsd-14.2/crypto/openssl/crypto/x509/
H A Dv3_conf.c39 int ext_type; in X509V3_EXT_nconf_int() local
43 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_int()
44 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf_int()
68 int ext_type; in X509V3_EXT_nconf_nid() local
71 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_nid()
73 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid()
/freebsd-14.2/sys/dev/bnxt/bnxt_re/
H A Dqplib_tlv.h52 #define ROCE_EXT_TLV_PREP(rtlv, ext_type, content_bytes, more, reqd) \ argument
55 (rtlv)->tlv.tlv_type = (ext_type); \
/freebsd-14.2/sys/kern/
H A Dkern_mbuf.c704 KASSERT(m->m_ext.ext_type == EXT_PACKET, ("%s: ext_type != EXT_PACKET", __func__)); in mb_dtor_pack()
742 m->m_ext.ext_type = m_gettype(size); in mb_ctor_clust()
763 m->m_ext.ext_type = EXT_PACKET; /* Override. */ in mb_zinit_pack()
1182 KASSERT(m->m_ext.ext_type == EXT_EXTREF || in mb_free_ext()
1183 m->m_ext.ext_type == EXT_RXRING, in mb_free_ext()
1190 switch (m->m_ext.ext_type) { in mb_free_ext()
1232 KASSERT(m->m_ext.ext_type == 0, in mb_free_ext()
1550 mb->m_ext.ext_type = type; in m_extadd()
/freebsd-14.2/contrib/wpa/src/tls/
H A Dtlsv1_server_read.c129 u16 ext_type, ext_len; in tls_process_client_hello() local
341 ext_type = WPA_GET_BE16(pos); in tls_process_client_hello()
358 ext_type); in tls_process_client_hello()
362 if (ext_type == TLS_EXT_SESSION_TICKET) { in tls_process_client_hello()
370 } else if (ext_type == TLS_EXT_STATUS_REQUEST) { in tls_process_client_hello()
372 } else if (ext_type == TLS_EXT_STATUS_REQUEST_V2) { in tls_process_client_hello()
H A Dtlsv1_client.h38 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type,
H A Dtlsv1_client.c730 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type, in tlsv1_client_hello_ext() argument
747 WPA_PUT_BE16(pos, ext_type); in tlsv1_client_hello_ext()
754 if (ext_type == TLS_EXT_PAC_OPAQUE) { in tlsv1_client_hello_ext()
/freebsd-14.2/contrib/wpa/src/radius/
H A Dradius.c339 attr = radius_get_attr_type((ext->type << 8) | ext->ext_type); in radius_msg_dump_attr()
341 ext->type, ext->ext_type, in radius_msg_dump_attr()
716 u8 ext_type = 0; in radius_msg_add_attr() local
728 ext_type = type & 0xff; in radius_msg_add_attr()
778 ext->ext_type = ext_type; in radius_msg_add_attr()
792 ext->ext_type = ext_type; in radius_msg_add_attr()
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dtls_none.c180 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument
/freebsd-14.2/crypto/openssl/include/openssl/
H A Dssl.h306 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
310 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
313 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
318 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type,
325 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type,
330 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type,
879 unsigned int ext_type);
882 unsigned int ext_type,
890 unsigned int ext_type,
897 __owur int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
[all …]

12