Home
last modified time | relevance | path

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

/openssl-master/ssl/statem/
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()
375 if (SSL_extension_supported(ext_type) in add_custom_ext_intern()
380 if (ext_type > 0xffff) in add_custom_ext_intern()
383 if (custom_ext_find(exts, role, ext_type, NULL)) in add_custom_ext_intern()
398 meth->ext_type = ext_type; in add_custom_ext_intern()
406 unsigned int ext_type, in add_old_custom_ext() argument
431 ret = add_custom_ext_intern(ctx, role, ext_type, in add_old_custom_ext()
487 int SSL_extension_supported(unsigned int ext_type) in SSL_extension_supported() argument
[all …]
/openssl-master/util/perl/TLSProxy/
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};
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};
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};
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};
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};
/openssl-master/doc/man3/
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 …]
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().
/openssl-master/test/
A Dssl_old_test.c409 if (ext_type == TLSEXT_TYPE_signed_certificate_timestamp) in serverinfo_cli_parse_cb()
411 else if (ext_type == TACK_EXT_TYPE) in serverinfo_cli_parse_cb()
441 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb()
457 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb()
475 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_cli_add_cb()
486 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_cli_parse_cb()
497 if (ext_type != CUSTOM_EXT_TYPE_3) in custom_ext_3_cli_add_cb()
508 if (ext_type != CUSTOM_EXT_TYPE_3) in custom_ext_3_cli_parse_cb()
543 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_srv_parse_cb()
564 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_srv_parse_cb()
[all …]
A Dsslapitest.c5460 static int old_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, in old_add_cb() argument
5481 static void old_free_cb(SSL *s, unsigned int ext_type, const unsigned char *out, in old_free_cb() argument
5487 static int old_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, in old_parse_cb() argument
5505 static int new_add_cb(SSL *s, unsigned int ext_type, unsigned int context, in new_add_cb() argument
5527 static void new_free_cb(SSL *s, unsigned int ext_type, unsigned int context, in new_free_cb() argument
5533 static int new_parse_cb(SSL *s, unsigned int ext_type, unsigned int context, in new_parse_cb() argument
/openssl-master/ssl/
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 …]
A Dssl_local.h1964 unsigned short ext_type; member
2786 ENDPOINT role, unsigned int ext_type,
2791 __owur int custom_ext_parse(SSL *s, unsigned int context, unsigned int ext_type,
/openssl-master/crypto/x509/
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()
/openssl-master/include/openssl/
A Dssl.h.in283 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
287 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
290 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
295 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type,
302 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type,
307 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type,
856 unsigned int ext_type);
859 unsigned int ext_type,
867 unsigned int ext_type,
874 __owur int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
[all …]
/openssl-master/apps/
A Ds_client.c273 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_cli_parse_cb() argument
282 ext_buf[0] = (unsigned char)(ext_type >> 8); in serverinfo_cli_parse_cb()
283 ext_buf[1] = (unsigned char)(ext_type); in serverinfo_cli_parse_cb()
289 ext_type); in serverinfo_cli_parse_cb()

Completed in 67 milliseconds