Home
last modified time | relevance | path

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

12

/netbsd-src/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dextensions_cust.c31 static int custom_ext_add_old_cb_wrap(SSL *s, unsigned int ext_type, in custom_ext_add_old_cb_wrap() argument
42 return add_cb_wrap->add_cb(s, ext_type, out, outlen, al, in custom_ext_add_old_cb_wrap()
46 static void custom_ext_free_old_cb_wrap(SSL *s, unsigned int ext_type, in custom_ext_free_old_cb_wrap() argument
55 add_cb_wrap->free_cb(s, ext_type, out, add_cb_wrap->add_arg); in custom_ext_free_old_cb_wrap()
58 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()
113 int custom_ext_parse(SSL *s, unsigned int context, unsigned int ext_type, in custom_ext_parse() argument
125 meth = custom_ext_find(exts, role, ext_type, NULL); in custom_ext_parse()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dextensions_cust.c31 static int custom_ext_add_old_cb_wrap(SSL *s, unsigned int ext_type, in custom_ext_add_old_cb_wrap() argument
42 return add_cb_wrap->add_cb(s, ext_type, out, outlen, al, in custom_ext_add_old_cb_wrap()
46 static void custom_ext_free_old_cb_wrap(SSL *s, unsigned int ext_type, in custom_ext_free_old_cb_wrap() argument
55 add_cb_wrap->free_cb(s, ext_type, out, add_cb_wrap->add_arg); in custom_ext_free_old_cb_wrap()
58 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()
113 int custom_ext_parse(SSL *s, unsigned int context, unsigned int ext_type, in custom_ext_parse() argument
125 meth = custom_ext_find(exts, role, ext_type, NULL); in custom_ext_parse()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/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().
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DSSL_extension_supported.pod15 typedef int (*SSL_custom_ext_add_cb_ex) (SSL *s, unsigned int ext_type,
22 typedef void (*SSL_custom_ext_free_cb_ex) (SSL *s, unsigned int ext_type,
27 typedef int (*SSL_custom_ext_parse_cb_ex) (SSL *s, unsigned int ext_type,
34 int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
42 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
47 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
51 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
56 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
62 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
68 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().
/netbsd-src/crypto/external/bsd/openssl/dist/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};
/netbsd-src/crypto/external/bsd/openssl.old/dist/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};
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dssl_old_test.c410 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_cli_parse_cb() argument
414 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()
442 static int custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_add_cb() argument
446 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb()
451 static int custom_ext_0_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_parse_cb() argument
458 static int custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_add_cb() argument
462 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb()
469 static int custom_ext_1_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_parse_cb() argument
476 static int custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_2_cli_add_cb() argument
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dssltest_old.c415 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_cli_parse_cb() argument
419 if (ext_type == TLSEXT_TYPE_signed_certificate_timestamp) in serverinfo_cli_parse_cb()
421 else if (ext_type == TACK_EXT_TYPE) in serverinfo_cli_parse_cb()
447 static int custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_add_cb() argument
451 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb()
456 static int custom_ext_0_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_parse_cb() argument
463 static int custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_add_cb() argument
467 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb()
474 static int custom_ext_1_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_parse_cb() argument
481 static int custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_2_cli_add_cb() argument
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/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 …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dssl_rsa.c715 static int serverinfoex_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_parse_cb() argument
758 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb() argument
762 return serverinfoex_srv_parse_cb(s, ext_type, 0, in, inlen, NULL, 0, al, in serverinfo_srv_parse_cb()
766 static int serverinfoex_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_add_cb() argument
784 ext_type, out, outlen); in serverinfoex_srv_add_cb()
797 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_add_cb() argument
801 return serverinfoex_srv_add_cb(s, ext_type, 0, out, outlen, NULL, 0, al, in serverinfo_srv_add_cb()
827 unsigned int ext_type = 0; in serverinfo_process_buffer() local
831 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
850 if (!SSL_CTX_add_server_custom_ext(ctx, ext_type, in serverinfo_process_buffer()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/
H A Dv3_conf.c40 int ext_type; in X509V3_EXT_nconf() local
43 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf()
44 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf()
59 int ext_type; in X509V3_EXT_nconf_nid() local
61 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_nid()
63 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/common/config/riscv/
H A Driscv-common.c414 const char *ext_type, in parse_sv_or_non_std_ext() argument
419 size_t ext_type_len = strlen (ext_type); in parse_sv_or_non_std_ext()
429 if (strncmp (p, ext_type, ext_type_len) != 0) in parse_sv_or_non_std_ext()
433 if ((ext_type[0] == 's') && (ext_type_len == 1) in parse_sv_or_non_std_ext()
/netbsd-src/crypto/external/bsd/openssl/dist/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()
/netbsd-src/external/bsd/wpa/dist/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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dssl.h262 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
266 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
269 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
274 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type,
281 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type,
286 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type,
864 unsigned int ext_type);
867 unsigned int ext_type,
875 unsigned int ext_type,
882 __owur int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
[all …]

12