Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/x509v3/
Dv3_ia5.c70 static char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
85 ASN1_IA5STRING *ia5) in i2s_ASN1_IA5STRING() argument
88 if(!ia5 || !ia5->length) return NULL; in i2s_ASN1_IA5STRING()
89 if(!(tmp = OPENSSL_malloc(ia5->length + 1))) { in i2s_ASN1_IA5STRING()
93 memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING()
94 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING()
101 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local
106 if(!(ia5 = M_ASN1_IA5STRING_new())) goto err; in s2i_ASN1_IA5STRING()
107 if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str, in s2i_ASN1_IA5STRING()
109 M_ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
[all …]
Dv3nametest.c164 ASN1_IA5STRING *ia5 = NULL; in set_altname() local
181 ia5 = ASN1_IA5STRING_new(); in set_altname()
182 if (ia5 == NULL) in set_altname()
184 if (!ASN1_STRING_set(ia5, name, -1)) in set_altname()
190 GENERAL_NAME_set0_value(gen, type, ia5); in set_altname()
191 ia5 = NULL; in set_altname()
203 ASN1_IA5STRING_free(ia5); in set_altname()
Dv3_alt.c130 X509V3_add_value_uchar("email",gen->d.ia5->data, &ret); in STACK_OF()
134 X509V3_add_value_uchar("DNS",gen->d.ia5->data, &ret); in STACK_OF()
138 X509V3_add_value_uchar("URI",gen->d.ia5->data, &ret); in STACK_OF()
200 BIO_printf(out, "email:%s",gen->d.ia5->data); in GENERAL_NAME_print()
204 BIO_printf(out, "DNS:%s",gen->d.ia5->data); in GENERAL_NAME_print()
208 BIO_printf(out, "URI:%s",gen->d.ia5->data); in GENERAL_NAME_print()
380 gen->d.ia5 = email; in copy_email()
509 if(!(gen->d.ia5 = M_ASN1_IA5STRING_new()) || in a2i_GENERAL_NAME()
510 !ASN1_STRING_set(gen->d.ia5, (unsigned char*)value, in a2i_GENERAL_NAME()
Dv3_genn.c130 result = ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp()
178 a->d.ia5 = value; in GENERAL_NAME_set0_value()
212 return a->d.ia5; in GENERAL_NAME_get0_value()
Dv3_utl.c540 if(!append_ia5(&ret, gen->d.ia5)) return NULL; in STACK_OF()
/external/boringssl/src/crypto/asn1/
Da_print.c66 int ia5=0; in ASN1_PRINTABLE_type() local
85 ia5=1; in ASN1_PRINTABLE_type()
90 if (ia5) return(V_ASN1_IA5STRING); in ASN1_PRINTABLE_type()
/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.h198 ASN1_IA5STRING *ia5;/* rfc822Name, dNSName, uniformResourceIdentifier */ member
555 OPENSSL_EXPORT char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5);
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c1170 if (os_strlen((char *) gen->d.ia5->data) == len && in tls_match_altsubject_component()
1171 os_memcmp(value, gen->d.ia5->data, len) == 0) in tls_match_altsubject_component()
1461 pos = os_malloc(10 + gen->d.ia5->length + 1); in openssl_tls_cert_event()
1481 os_memcpy(pos, gen->d.ia5->data, gen->d.ia5->length); in openssl_tls_cert_event()
1482 pos += gen->d.ia5->length; in openssl_tls_cert_event()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp5554 const char* data = reinterpret_cast<const char*>(ASN1_STRING_data(gen->d.ia5));
5555 ssize_t len = ASN1_STRING_length(gen->d.ia5);
5557 && (ASN1_PRINTABLE_type(ASN1_STRING_data(gen->d.ia5), len) != V_ASN1_T61STRING)) {