Home
last modified time | relevance | path

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

12

/freebsd/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()
89 if (ext_type == meth->ext_type in custom_ext_find()
114 unsigned int ext_type, in custom_ext_parse()
83 custom_ext_find(const custom_ext_methods * exts,ENDPOINT role,unsigned int ext_type,size_t * idx) custom_ext_find() argument
115 custom_ext_parse(SSL_CONNECTION * s,unsigned int context,unsigned int ext_type,const unsigned char * ext_data,size_t ext_size,X509 * x,size_t chainidx) custom_ext_parse() argument
404 SSL_CTX_has_client_custom_ext(const SSL_CTX * ctx,unsigned int ext_type) SSL_CTX_has_client_custom_ext() argument
411 ossl_tls_add_custom_ext_intern(SSL_CTX * ctx,custom_ext_methods * exts,ENDPOINT role,unsigned int ext_type,unsigned int context,SSL_custom_ext_add_cb_ex add_cb,SSL_custom_ext_free_cb_ex free_cb,void * add_arg,SSL_custom_ext_parse_cb_ex parse_cb,void * parse_arg) ossl_tls_add_custom_ext_intern() argument
480 add_old_custom_ext(SSL_CTX * ctx,ENDPOINT role,unsigned int ext_type,unsigned int context,custom_ext_add_cb add_cb,custom_ext_free_cb free_cb,void * add_arg,custom_ext_parse_cb parse_cb,void * parse_arg) add_old_custom_ext() argument
522 SSL_CTX_add_client_custom_ext(SSL_CTX * ctx,unsigned int ext_type,custom_ext_add_cb add_cb,custom_ext_free_cb free_cb,void * add_arg,custom_ext_parse_cb parse_cb,void * parse_arg) SSL_CTX_add_client_custom_ext() argument
536 SSL_CTX_add_server_custom_ext(SSL_CTX * ctx,unsigned int ext_type,custom_ext_add_cb add_cb,custom_ext_free_cb free_cb,void * add_arg,custom_ext_parse_cb parse_cb,void * parse_arg) SSL_CTX_add_server_custom_ext() argument
550 SSL_CTX_add_custom_ext(SSL_CTX * ctx,unsigned int ext_type,unsigned int context,SSL_custom_ext_add_cb_ex add_cb,SSL_custom_ext_free_cb_ex free_cb,void * add_arg,SSL_custom_ext_parse_cb_ex parse_cb,void * parse_arg) SSL_CTX_add_custom_ext() argument
562 SSL_extension_supported(unsigned int ext_type) SSL_extension_supported() argument
[all...]
/freebsd/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/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};
/freebsd/crypto/openssl/test/
H A Dssl_old_test.c416 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type,
420 if (ext_type == TLSEXT_TYPE_signed_certificate_timestamp)
422 else if (ext_type == TACK_EXT_TYPE)
448 static int custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type,
452 if (ext_type != CUSTOM_EXT_TYPE_0)
457 static int custom_ext_0_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_add_cb()
464 static int custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_parse_cb() argument
468 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_0_cli_parse_cb()
475 static int custom_ext_1_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_add_cb()
482 static int custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_parse_cb() argument
423 serverinfo_cli_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) serverinfo_cli_parse_cb() argument
455 custom_ext_0_cli_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_0_cli_add_cb() argument
471 custom_ext_1_cli_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_1_cli_add_cb() argument
489 custom_ext_2_cli_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_2_cli_add_cb() argument
500 custom_ext_2_cli_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) custom_ext_2_cli_parse_cb() argument
511 custom_ext_3_cli_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_3_cli_add_cb() argument
522 custom_ext_3_cli_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) custom_ext_3_cli_parse_cb() argument
539 custom_ext_0_srv_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) custom_ext_0_srv_parse_cb() argument
548 custom_ext_0_srv_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_0_srv_add_cb() argument
557 custom_ext_1_srv_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) custom_ext_1_srv_parse_cb() argument
571 custom_ext_1_srv_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_1_srv_add_cb() argument
578 custom_ext_2_srv_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) custom_ext_2_srv_parse_cb() argument
592 custom_ext_2_srv_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_2_srv_add_cb() argument
601 custom_ext_3_srv_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) custom_ext_3_srv_parse_cb() argument
615 custom_ext_3_srv_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) custom_ext_3_srv_add_cb() argument
[all...]
/freebsd/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()
652 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb()
656 return serverinfoex_srv_parse_cb(s, ext_type, 0, in, inlen, NULL, 0, al, in serverinfoex_srv_add_cb() argument
660 static int serverinfoex_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_add_cb()
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()
702 return serverinfoex_srv_add_cb(s, ext_type, 0, out, outlen, NULL, 0, al,
728 unsigned int ext_type = 0; in serverinfo_process_buffer()
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()
633 serverinfoex_srv_parse_cb(SSL * s,unsigned int ext_type,unsigned int context,const unsigned char * in,size_t inlen,X509 * x,size_t chainidx,int * al,void * arg) serverinfoex_srv_parse_cb() argument
648 serverinfo_srv_parse_cb(SSL * s,unsigned int ext_type,const unsigned char * in,size_t inlen,int * al,void * arg) serverinfo_srv_parse_cb() argument
693 serverinfo_srv_add_cb(SSL * s,unsigned int ext_type,const unsigned char ** out,size_t * outlen,int * al,void * arg) serverinfo_srv_add_cb() argument
723 unsigned int ext_type = 0; serverinfo_process_buffer() local
[all...]
/freebsd/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/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/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/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/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/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/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()
/freebsd/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/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()
613 static void free_transport_params_cb(SSL *s, unsigned int ext_type, in free_transport_params_cb()
620 static int parse_transport_params_cb(SSL *s, unsigned int ext_type, in parse_transport_params_cb()
597 add_transport_params_cb(SSL * s,unsigned int ext_type,unsigned int context,const unsigned char ** out,size_t * outlen,X509 * x,size_t chainidx,int * al,void * add_arg) add_transport_params_cb() argument
611 free_transport_params_cb(SSL * s,unsigned int ext_type,unsigned int context,const unsigned char * out,void * add_arg) free_transport_params_cb() argument
618 parse_transport_params_cb(SSL * s,unsigned int ext_type,unsigned int context,const unsigned char * in,size_t inlen,X509 * x,size_t chainidx,int * al,void * parse_arg) parse_transport_params_cb() argument
/freebsd/contrib/wpa/src/crypto/
H A Dtls_none.c180 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument

12