| /NextBSD/crypto/openssl/ssl/ |
| HD | t1_ext.c | 64 unsigned int ext_type) in custom_ext_find() argument 69 if (ext_type == meth->ext_type) in custom_ext_find() 88 unsigned int ext_type, in custom_ext_parse() argument 93 meth = custom_ext_find(exts, ext_type); in custom_ext_parse() 117 return meth->parse_cb(s, ext_type, ext_data, ext_size, al, in custom_ext_parse() 150 cb_retval = meth->add_cb(s, meth->ext_type, in custom_ext_add() 159 s2n(meth->ext_type, ret); in custom_ext_add() 176 meth->free_cb(s, meth->ext_type, out, meth->add_arg); in custom_ext_add() 204 unsigned int ext_type, in custom_ext_meth_add() argument 218 if (SSL_extension_supported(ext_type)) in custom_ext_meth_add() [all …]
|
| HD | ssltest.c | 457 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_cli_parse_cb() argument 461 if (ext_type == SCT_EXT_TYPE) in serverinfo_cli_parse_cb() 463 else if (ext_type == TACK_EXT_TYPE) in serverinfo_cli_parse_cb() 489 static int custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_add_cb() argument 493 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb() 498 static int custom_ext_0_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_parse_cb() argument 505 static int custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_add_cb() argument 509 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb() 516 static int custom_ext_1_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_parse_cb() argument 523 static int custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_2_cli_add_cb() argument [all …]
|
| HD | ssl_rsa.c | 810 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb() argument 823 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_add_cb() argument 835 ext_type, out, outlen); in serverinfo_srv_add_cb() 859 unsigned int ext_type = 0; in serverinfo_process_buffer() local 872 ext_type = (serverinfo[0] << 8) + serverinfo[1]; in serverinfo_process_buffer() 873 if (ctx && !SSL_CTX_add_server_custom_ext(ctx, ext_type, in serverinfo_process_buffer()
|
| HD | ssl.h | 402 typedef int (*custom_ext_add_cb) (SSL *s, unsigned int ext_type, 406 typedef void (*custom_ext_free_cb) (SSL *s, unsigned int ext_type, 409 typedef int (*custom_ext_parse_cb) (SSL *s, unsigned int ext_type, 1388 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type, 1395 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type, 1402 int SSL_extension_supported(unsigned int ext_type);
|
| /NextBSD/crypto/openssl/doc/ssl/ |
| HD | SSL_CTX_set_custom_cli_ext.pod | 11 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type, 17 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type, 23 int SSL_extension_supported(unsigned int ext_type); 25 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type, 30 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type, 34 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type, 43 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and 47 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and 53 SSL_extension_supported() returns 1 if the extension B<ext_type> is handled 60 B<ext_type> parameter is set to the extension type which will be added and [all …]
|
| /NextBSD/crypto/openssl/crypto/x509v3/ |
| HD | v3_conf.c | 88 int ext_type; in X509V3_EXT_nconf() local 91 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf() 92 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf() 107 int ext_type; in X509V3_EXT_nconf_nid() local 109 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_nid() 111 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid()
|
| /NextBSD/sys/dev/iir/ |
| HD | iir_ctrl.c | 230 p->ext_type = 0x6000 | gdt->sc_device; in iir_ioctl() 236 p->ext_type = 0x6000 | gdt->sc_subdevice; in iir_ioctl() 242 p->ext_type = 0x6000 | gdt->sc_subdevice; in iir_ioctl()
|
| /NextBSD/sys/dev/hptrr/ |
| HD | os_bsd.h | 134 int ext_type; member 165 int ext_type; member
|
| HD | hptrr_os_bsd.c | 127 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()
|
| /NextBSD/sys/dev/hpt27xx/ |
| HD | os_bsd.h | 131 int ext_type; member 164 int ext_type; member
|
| HD | hpt27xx_os_bsd.c | 155 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()
|
| /NextBSD/sys/dev/hptnr/ |
| HD | os_bsd.h | 133 int ext_type; member 164 int ext_type; member
|
| HD | hptnr_os_bsd.c | 141 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()
|
| /NextBSD/contrib/wpa/src/tls/ |
| HD | tlsv1_client.h | 37 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type,
|
| HD | tlsv1_client.c | 681 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type, in tlsv1_client_hello_ext() argument 700 WPA_PUT_BE16(pos, ext_type); in tlsv1_client_hello_ext() 707 if (ext_type == TLS_EXT_PAC_OPAQUE) { in tlsv1_client_hello_ext()
|
| HD | tlsv1_server_read.c | 57 u16 ext_type, ext_len; in tls_process_client_hello() local 241 ext_type = WPA_GET_BE16(pos); in tls_process_client_hello() 258 ext_type); in tls_process_client_hello() 262 if (ext_type == TLS_EXT_SESSION_TICKET) { in tls_process_client_hello()
|
| /NextBSD/sys/kern/ |
| HD | kern_mbuf.c | 497 KASSERT(m->m_ext.ext_type == EXT_PACKET, ("%s: ext_type != EXT_PACKET", __func__)); in mb_dtor_pack() 568 m->m_ext.ext_type = type; in mb_ctor_clust() 607 m->m_ext.ext_type = EXT_PACKET; /* Override. */ in mb_zinit_pack()
|
| HD | uipc_mbuf.c | 315 mb->m_ext.ext_type = type; in m_extadd() 337 switch (m->m_ext.ext_type) { in mb_free_ext() 356 switch (m->m_ext.ext_type) { in mb_free_ext() 388 KASSERT(m->m_ext.ext_type == 0, in mb_free_ext() 408 switch (m->m_ext.ext_type) { in mb_dupcl()
|
| HD | uipc_mbuf2.c | 155 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n))) in m_pulldown()
|
| /NextBSD/sys/dev/netmap/ |
| HD | netmap_generic.c | 112 (m)->m_ext.ext_type = EXT_EXTREF; \ 121 m->m_ext.ext_type = EXT_PACKET; in netmap_default_mbuf_destructor() 136 m->m_ext.ext_type = EXT_EXTREF; in netmap_get_mbuf()
|
| /NextBSD/contrib/wpa/src/crypto/ |
| HD | tls_none.c | 166 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument
|
| HD | tls_internal.c | 654 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument 659 return tlsv1_client_hello_ext(conn->client, ext_type, in tls_connection_client_hello_ext()
|
| HD | tls.h | 522 int ext_type, const u8 *data,
|
| /NextBSD/sys/sys/ |
| HD | mbuf.h | 166 uint32_t ext_type:8, /* type of external storage */ member 582 m->m_ext.ext_type = EXT_EXTREF; in m_extaddref() 761 m->m_ext.ext_type = type; in m_cljset()
|
| /NextBSD/sys/netinet/ |
| HD | tcp_pcap.c | 308 switch (mhead->m_ext.ext_type) { in tcp_pcap_add()
|