/openssl/ssl/statem/ |
H A D | extensions_cust.c | 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() 378 if (SSL_extension_supported(ext_type) in add_custom_ext_intern() 383 if (ext_type > 0xffff) in add_custom_ext_intern() 386 if (custom_ext_find(exts, role, ext_type, NULL)) in add_custom_ext_intern() 401 meth->ext_type = ext_type; in add_custom_ext_intern() 409 unsigned int ext_type, in add_old_custom_ext() argument 434 ret = add_custom_ext_intern(ctx, role, ext_type, in add_old_custom_ext() 490 int SSL_extension_supported(unsigned int ext_type) in SSL_extension_supported() argument [all …]
|
/openssl/util/perl/TLSProxy/ |
H A D | EncryptedExtensions.pm | 102 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 D | CertificateRequest.pm | 97 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 D | Certificate.pm | 206 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 D | ServerHello.pm | 228 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 D | ClientHello.pm | 250 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/doc/man3/ |
H A D | SSL_extension_supported.pod | 18 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 D | SSL_CTX_has_client_custom_ext.pod | 12 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/test/ |
H A D | ssl_old_test.c | 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() 446 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb() 462 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb() 480 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_cli_add_cb() 491 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_cli_parse_cb() 502 if (ext_type != CUSTOM_EXT_TYPE_3) in custom_ext_3_cli_add_cb() 513 if (ext_type != CUSTOM_EXT_TYPE_3) in custom_ext_3_cli_parse_cb() 548 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_srv_parse_cb() 569 if (ext_type != CUSTOM_EXT_TYPE_2) in custom_ext_2_srv_parse_cb() [all …]
|
H A D | sslapitest.c | 5513 static int old_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, in old_add_cb() argument 5534 static void old_free_cb(SSL *s, unsigned int ext_type, const unsigned char *out, in old_free_cb() argument 5540 static int old_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, in old_parse_cb() argument 5558 static int new_add_cb(SSL *s, unsigned int ext_type, unsigned int context, in new_add_cb() argument 5580 static void new_free_cb(SSL *s, unsigned int ext_type, unsigned int context, in new_free_cb() argument 5586 static int new_parse_cb(SSL *s, unsigned int ext_type, unsigned int context, in new_parse_cb() argument 5886 static int serverinfo_custom_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_custom_parse_cb() argument
|
/openssl/ssl/ |
H A D | ssl_rsa.c | 608 static int serverinfoex_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_parse_cb() argument 623 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb() argument 627 return serverinfoex_srv_parse_cb(s, ext_type, 0, in, inlen, NULL, 0, al, in serverinfo_srv_parse_cb() 631 static int serverinfoex_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_add_cb() argument 655 ext_type, out, outlen); in serverinfoex_srv_add_cb() 668 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_add_cb() argument 672 return serverinfoex_srv_add_cb(s, ext_type, 0, out, outlen, NULL, 0, al, in serverinfo_srv_add_cb() 698 unsigned int ext_type = 0; in serverinfo_process_buffer() local 702 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer() 721 if (!SSL_CTX_add_server_custom_ext(ctx, ext_type, in serverinfo_process_buffer() [all …]
|
H A D | ssl_local.h | 2025 unsigned short ext_type; member 2878 ENDPOINT role, unsigned int ext_type, 2884 unsigned int ext_type,
|
/openssl/crypto/x509/ |
H A D | v3_conf.c | 39 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/include/openssl/ |
H A D | ssl.h.in | 286 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type, 290 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type, 293 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type, 298 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type, 305 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type, 310 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type, 859 unsigned int ext_type); 862 unsigned int ext_type, 870 unsigned int ext_type, 877 __owur int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type, [all …]
|
/openssl/apps/ |
H A D | s_client.c | 273 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()
|