Home
last modified time | relevance | path

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

12

/src/crypto/openssl/ssl/statem/
H A Dextensions_cust.c32 static int custom_ext_add_old_cb_wrap(SSL *s, unsigned int ext_type, in custom_ext_add_old_cb_wrap() argument
43 return add_cb_wrap->add_cb(s, ext_type, out, outlen, al, in custom_ext_add_old_cb_wrap()
47 static void custom_ext_free_old_cb_wrap(SSL *s, unsigned int ext_type, in custom_ext_free_old_cb_wrap() argument
56 add_cb_wrap->free_cb(s, ext_type, out, add_cb_wrap->add_arg); in custom_ext_free_old_cb_wrap()
59 static int custom_ext_parse_old_cb_wrap(SSL *s, unsigned int ext_type, in custom_ext_parse_old_cb_wrap() argument
70 return parse_cb_wrap->parse_cb(s, ext_type, in, inlen, al, in custom_ext_parse_old_cb_wrap()
82 ENDPOINT role, unsigned int ext_type, in custom_ext_find() argument
89 if (ext_type == meth->ext_type in custom_ext_find()
114 unsigned int ext_type, in custom_ext_parse() argument
126 meth = custom_ext_find(exts, role, ext_type, NULL); in custom_ext_parse()
[all …]
/src/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().
/src/crypto/openssl/util/perl/TLSProxy/
H A DEncryptedExtensions.pm110 my ($self, $ext_type, $ext_data) = @_;
111 $self->{extension_data}{$ext_type} = $ext_data;
115 my ($self, $ext_type) = @_;
116 delete $self->{extension_data}{$ext_type};
H A DCertificateRequest.pm105 my ($self, $ext_type, $ext_data) = @_;
106 $self->{extension_data}{$ext_type} = $ext_data;
110 my ($self, $ext_type) = @_;
111 delete $self->{extension_data}{$ext_type};
H A DServerHello.pm238 my ($self, $ext_type, $ext_data) = @_;
239 $self->{extension_data}{$ext_type} = $ext_data;
243 my ($self, $ext_type) = @_;
244 delete $self->{extension_data}{$ext_type};
H A DCertificate.pm214 my ($self, $ext_type, $ext_data) = @_;
215 $self->{extension_data}{$ext_type} = $ext_data;
219 my ($self, $ext_type) = @_;
220 delete $self->{extension_data}{$ext_type};
H A DClientHello.pm298 my ($self, $ext_type, $ext_data) = @_;
299 $self->{extension_data}{$ext_type} = $ext_data;
303 my ($self, $ext_type) = @_;
304 delete $self->{extension_data}{$ext_type};
/src/crypto/openssl/test/
H A Dssl_old_test.c416 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_cli_parse_cb() argument
420 if (ext_type == TLSEXT_TYPE_signed_certificate_timestamp) in serverinfo_cli_parse_cb()
422 else if (ext_type == TACK_EXT_TYPE) in serverinfo_cli_parse_cb()
448 static int custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_add_cb() argument
452 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb()
457 static int custom_ext_0_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_parse_cb() argument
464 static int custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_add_cb() argument
468 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb()
475 static int custom_ext_1_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_parse_cb() argument
482 static int custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_2_cli_add_cb() argument
[all …]
/src/crypto/openssl/ssl/
H A Dssl_rsa.c637 static int serverinfoex_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_parse_cb() argument
652 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb() argument
656 return serverinfoex_srv_parse_cb(s, ext_type, 0, in, inlen, NULL, 0, al, in serverinfo_srv_parse_cb()
660 static int serverinfoex_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_add_cb() argument
685 ext_type, out, outlen); in serverinfoex_srv_add_cb()
698 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_add_cb() argument
702 return serverinfoex_srv_add_cb(s, ext_type, 0, out, outlen, NULL, 0, al, in serverinfo_srv_add_cb()
728 unsigned int ext_type = 0; in serverinfo_process_buffer() local
732 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
751 if (!SSL_CTX_add_server_custom_ext(ctx, ext_type, in serverinfo_process_buffer()
[all …]
/src/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()
/src/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()
/src/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()
/src/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()
/src/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); \
/src/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()
/src/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()
1196 KASSERT(m->m_ext.ext_type == EXT_EXTREF || in mb_free_ext()
1197 m->m_ext.ext_type == EXT_RXRING, in mb_free_ext()
1204 switch (m->m_ext.ext_type) { in mb_free_ext()
1247 KASSERT(m->m_ext.ext_type == 0, in mb_free_ext()
1586 mb->m_ext.ext_type = type; in m_extadd()
/src/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()
/src/crypto/openssl/ssl/quic/
H A Dquic_tls.c599 static int add_transport_params_cb(SSL *s, unsigned int ext_type, in add_transport_params_cb() argument
613 static void free_transport_params_cb(SSL *s, unsigned int ext_type, in free_transport_params_cb() argument
620 static int parse_transport_params_cb(SSL *s, unsigned int ext_type, in parse_transport_params_cb() argument
/src/contrib/wpa/src/crypto/
H A Dtls_none.c180 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument

12