Home
last modified time | relevance | path

Searched refs:namelen (Results 1 – 22 of 22) sorted by relevance

/openssl/crypto/pkcs12/
H A Dp12_attr.c18 int namelen) in PKCS12_add_localkeyid() argument
21 V_ASN1_OCTET_STRING, name, namelen) != NULL) in PKCS12_add_localkeyid()
39 int namelen) in PKCS12_add_friendlyname_asc() argument
42 MBSTRING_ASC, (unsigned char *)name, namelen) != NULL) in PKCS12_add_friendlyname_asc()
49 int namelen) in PKCS12_add_friendlyname_utf8() argument
52 MBSTRING_UTF8, (unsigned char *)name, namelen) != NULL) in PKCS12_add_friendlyname_utf8()
59 const unsigned char *name, int namelen) in PKCS12_add_friendlyname_uni() argument
62 MBSTRING_BMP, name, namelen) != NULL) in PKCS12_add_friendlyname_uni()
68 int PKCS12_add_CSPName_asc(PKCS12_SAFEBAG *bag, const char *name, int namelen) in PKCS12_add_CSPName_asc() argument
71 MBSTRING_ASC, (unsigned char *)name, namelen) != NULL) in PKCS12_add_CSPName_asc()
H A Dp12_crt.c22 int namelen,
48 int namelen = -1; in PKCS12_create_ex2() local
76 name = (char *)X509_alias_get0(cert, &namelen); in PKCS12_create_ex2()
84 bag = pkcs12_add_cert_bag(&bags, cert, name, namelen, pkeyid, pkeyidlen); in PKCS12_create_ex2()
195 int namelen, in pkcs12_add_cert_bag() argument
205 if (name != NULL && !PKCS12_add_friendlyname(bag, name, namelen)) in pkcs12_add_cert_bag()
224 int namelen = -1; in PKCS12_add_cert() local
231 name = (char *)X509_alias_get0(cert, &namelen); in PKCS12_add_cert()
234 return pkcs12_add_cert_bag(pbags, cert, name, namelen, keyid, keyidlen); in PKCS12_add_cert()
/openssl/crypto/x509/
H A Dx509_vpm.c37 const char *name, size_t namelen) in int_x509_param_set_hosts() argument
45 if (namelen == 0 || name == NULL) in int_x509_param_set_hosts()
46 namelen = name ? strlen(name) : 0; in int_x509_param_set_hosts()
48 && memchr(name, '\0', namelen > 1 ? namelen - 1 : namelen) != NULL) in int_x509_param_set_hosts()
50 if (namelen > 0 && name[namelen - 1] == '\0') in int_x509_param_set_hosts()
51 --namelen; in int_x509_param_set_hosts()
57 if (name == NULL || namelen == 0) in int_x509_param_set_hosts()
60 copy = OPENSSL_strndup(name, namelen); in int_x509_param_set_hosts()
385 const char *name, size_t namelen) in X509_VERIFY_PARAM_set1_host() argument
387 return int_x509_param_set_hosts(param, SET_HOST, name, namelen); in X509_VERIFY_PARAM_set1_host()
[all …]
/openssl/test/
H A Dv3nametest.c287 size_t namelen = strlen(*pname); in run_cert() local
288 char *name = OPENSSL_malloc(namelen + 1); in run_cert()
293 memcpy(name, *pname, namelen + 1); in run_cert()
296 if (!TEST_int_ge(ret = X509_check_host(crt, name, namelen, 0, NULL), in run_cert()
310 if (!TEST_int_ge(ret = X509_check_host(crt, name, namelen, in run_cert()
326 ret = X509_check_email(crt, name, namelen, 0); in run_cert()
H A Dfilterprov.c169 size_t namelen; in filter_provider_set_filter() local
193 namelen = strlen(name); in filter_provider_set_filter()
200 if (found[namelen] != '\0' && found[namelen] != ':') in filter_provider_set_filter()
/openssl/doc/man3/
H A DPKCS12_add_friendlyname_asc.pod14 int namelen);
17 int namelen);
20 const unsigned char *name, int namelen);
H A DPKCS12_add_CSPName_asc.pod11 int PKCS12_add_CSPName_asc(PKCS12_SAFEBAG *bag, const char *name, int namelen);
H A DPKCS12_add_localkeyid.pod12 int namelen);
H A DX509_check_host.pod11 int X509_check_host(X509 *, const char *name, size_t namelen,
37 domain names must be given in A-label form. The B<namelen> argument
H A DX509_VERIFY_PARAM_set_flags.pod57 const char *name, size_t namelen);
59 const char *name, size_t namelen);
147 is NUL-terminated, B<namelen> may be zero, otherwise B<namelen>
H A DEVP_PKEY_CTX_ctrl.pod94 int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen);
112 size_t namelen);
118 size_t namelen);
245 as its size I<namelen> is large enough to store that name, including a
356 size I<namelen>. The padding mode must have been set to
/openssl/crypto/conf/
H A Dconf_def.c845 size_t namelen; in get_next_file() local
847 namelen = strlen(filename); in get_next_file()
850 if ((namelen > 5 in get_next_file()
851 && OPENSSL_strcasecmp(filename + namelen - 5, ".conf") == 0) in get_next_file()
852 || (namelen > 4 in get_next_file()
853 && OPENSSL_strcasecmp(filename + namelen - 4, ".cnf") == 0)) { in get_next_file()
858 newlen = pathlen + namelen + 2; in get_next_file()
/openssl/ssl/
H A Dssl_conf.c27 int namelen; member
145 const char *name, int namelen, int onoff) in ssl_match_option() argument
150 if (namelen == -1) { in ssl_match_option()
153 } else if (tbl->namelen != namelen in ssl_match_option()
154 || OPENSSL_strncasecmp(tbl->name, name, namelen)) in ssl_match_option()
/openssl/include/openssl/
H A Dpkcs12.h.in185 int namelen);
187 int namelen);
189 int namelen);
191 int namelen);
193 const unsigned char *name, int namelen);
H A Drsa.h154 size_t namelen);
169 size_t namelen);
H A Dx509_vfy.h.in734 const char *name, size_t namelen);
736 const char *name, size_t namelen);
H A Devp.h2221 int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen);
/openssl/demos/http3/
H A Dossl-nghttp3-demo.c18 nv->namelen = strlen(name); in make_nv()
/openssl/crypto/pem/
H A Dpem_lib.c825 size_t namelen; in get_header_and_data() local
878 namelen = strlen(name); in get_header_and_data()
879 if (strncmp(p, name, namelen) != 0 || in get_header_and_data()
880 !HAS_PREFIX(p + namelen, TAILSTR)) { in get_header_and_data()
/openssl/ssl/statem/
H A Dstatem_lib.c2747 int namelen; in construct_ca_names() local
2750 || (namelen = i2d_X509_NAME(name, NULL)) < 0 in construct_ca_names()
2751 || !WPACKET_sub_allocate_bytes_u16(pkt, namelen, in construct_ca_names()
2753 || i2d_X509_NAME(name, &namebytes) != namelen) { in construct_ca_names()
/openssl/crypto/evp/
H A Devp_lib.c1175 int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen) in EVP_PKEY_CTX_get_group_name() argument
1191 name, namelen); in EVP_PKEY_CTX_get_group_name()
/openssl/crypto/bio/
H A Dbss_dgram.c1048 mh->namelen = sizeof(struct sockaddr_in); in translate_msg_win()
1051 mh->namelen = sizeof(struct sockaddr_in6); in translate_msg_win()
1054 mh->namelen = 0; in translate_msg_win()

Completed in 84 milliseconds