Home
last modified time | relevance | path

Searched refs:ia5 (Results 1 – 12 of 12) sorted by relevance

/external/boringssl/src/crypto/x509v3/
Dv3_ia5.c74 ASN1_IA5STRING *ia5);
89 ASN1_IA5STRING *ia5) in i2s_ASN1_IA5STRING() argument
92 if (!ia5 || !ia5->length) in i2s_ASN1_IA5STRING()
94 if (!(tmp = OPENSSL_malloc(ia5->length + 1))) { in i2s_ASN1_IA5STRING()
98 OPENSSL_memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING()
99 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING()
106 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local
111 if (!(ia5 = M_ASN1_IA5STRING_new())) in s2i_ASN1_IA5STRING()
113 if (!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char *)str, in s2i_ASN1_IA5STRING()
115 M_ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
[all …]
Dv3name_test.cc177 ASN1_IA5STRING *ia5 = NULL; in set_altname() local
194 ia5 = ASN1_IA5STRING_new(); in set_altname()
195 if (ia5 == NULL) in set_altname()
197 if (!ASN1_STRING_set(ia5, name, -1)) in set_altname()
202 GENERAL_NAME_set0_value(gen, type, ia5); in set_altname()
203 ia5 = NULL; in set_altname()
215 ASN1_IA5STRING_free(ia5); in set_altname()
Dv3_alt.c142 if (!X509V3_add_value_uchar("email", gen->d.ia5->data, &ret)) in STACK_OF()
147 if (!X509V3_add_value_uchar("DNS", gen->d.ia5->data, &ret)) in STACK_OF()
152 if (!X509V3_add_value_uchar("URI", gen->d.ia5->data, &ret)) in STACK_OF()
213 BIO_printf(out, "email:%s", gen->d.ia5->data); in GENERAL_NAME_print()
217 BIO_printf(out, "DNS:%s", gen->d.ia5->data); in GENERAL_NAME_print()
221 BIO_printf(out, "URI:%s", gen->d.ia5->data); in GENERAL_NAME_print()
396 gen->d.ia5 = email; in copy_email()
517 if (!(gen->d.ia5 = M_ASN1_IA5STRING_new()) || in a2i_GENERAL_NAME()
518 !ASN1_STRING_set(gen->d.ia5, (unsigned char *)value, in a2i_GENERAL_NAME()
Dv3_genn.c125 result = ASN1_STRING_cmp(a->d.ia5, b->d.ia5);
173 a->d.ia5 = value; in GENERAL_NAME_set0_value()
206 return a->d.ia5; in GENERAL_NAME_get0_value()
Dv3_utl.c622 if (!append_ia5(&ret, gen->d.ia5)) in STACK_OF()
/external/boringssl/src/crypto/asn1/
Da_print.c65 int ia5 = 0; in ASN1_PRINTABLE_type() local
84 ia5 = 1; in ASN1_PRINTABLE_type()
90 if (ia5) in ASN1_PRINTABLE_type()
/external/curl/docs/examples/
Dcurlx.c151 static char *ia5string(ASN1_IA5STRING *ia5) in ia5string() argument
154 if(!ia5 || !ia5->length) in ia5string()
156 tmp = OPENSSL_malloc(ia5->length + 1); in ia5string()
157 memcpy(tmp, ia5->data, ia5->length); in ia5string()
158 tmp[ia5->length] = 0; in ia5string()
176 return ia5string(ad->location->d.ia5); in my_get_ext()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c729 if (gen->d.ia5->data[gen->d.ia5->length] != '\0')
733 racoon_hexdump(gen->d.ia5->data, gen->d.ia5->length + 1);
737 len = gen->d.ia5->length + 1;
742 strlcpy(*altname, (char *) gen->d.ia5->data, len);
/external/boringssl/src/include/openssl/
Dx509v3.h208 ASN1_IA5STRING *ia5;/* rfc822Name, dNSName, uniformResourceIdentifier */ member
567 OPENSSL_EXPORT char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5);
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c1696 if (os_strlen((char *) gen->d.ia5->data) == len && in tls_match_altsubject_component()
1697 os_memcmp(value, gen->d.ia5->data, len) == 0) in tls_match_altsubject_component()
2235 pos = os_malloc(10 + gen->d.ia5->length + 1); in openssl_tls_cert_event()
2255 os_memcpy(pos, gen->d.ia5->data, gen->d.ia5->length); in openssl_tls_cert_event()
2256 pos += gen->d.ia5->length; in openssl_tls_cert_event()
/external/curl/lib/vtls/
Dopenssl.c1558 const char *altptr = (char *)ASN1_STRING_get0_data(check->d.ia5); in verifyhost()
1559 size_t altlen = (size_t) ASN1_STRING_length(check->d.ia5); in verifyhost()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3862 const char* data = reinterpret_cast<const char*>(ASN1_STRING_data(gen->d.ia5)); in GENERAL_NAME_to_jobject()
3863 ssize_t len = ASN1_STRING_length(gen->d.ia5); in GENERAL_NAME_to_jobject()
3865 (ASN1_PRINTABLE_type(ASN1_STRING_data(gen->d.ia5), len) != V_ASN1_T61STRING)) { in GENERAL_NAME_to_jobject()