Home
last modified time | relevance | path

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

12

/external/rust/crates/quiche/deps/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 = ASN1_IA5STRING_new())) in s2i_ASN1_IA5STRING()
113 if (!ASN1_STRING_set(ia5, str, strlen(str))) { in s2i_ASN1_IA5STRING()
114 ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
[all …]
Dv3name_test.cc178 ASN1_IA5STRING *ia5 = NULL; in set_altname() local
195 ia5 = ASN1_IA5STRING_new(); in set_altname()
196 if (ia5 == NULL) in set_altname()
198 if (!ASN1_STRING_set(ia5, name, -1)) in set_altname()
203 GENERAL_NAME_set0_value(gen, type, ia5); in set_altname()
204 ia5 = NULL; in set_altname()
216 ASN1_IA5STRING_free(ia5); in set_altname()
Dv3_alt.c151 if (!x509V3_add_value_asn1_string("email", gen->d.ia5, &ret)) in STACK_OF()
156 if (!x509V3_add_value_asn1_string("DNS", gen->d.ia5, &ret)) in STACK_OF()
161 if (!x509V3_add_value_asn1_string("URI", gen->d.ia5, &ret)) in STACK_OF()
223 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
228 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
233 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
408 gen->d.ia5 = email; in copy_email()
529 if (!(gen->d.ia5 = ASN1_IA5STRING_new()) || in a2i_GENERAL_NAME()
530 !ASN1_STRING_set(gen->d.ia5, (unsigned char *)value, in a2i_GENERAL_NAME()
Dv3_genn.c143 return ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp()
191 a->d.ia5 = value; in GENERAL_NAME_set0_value()
226 return a->d.ia5; in GENERAL_NAME_get0_value()
Dv3_utl.c648 if (!append_ia5(&ret, gen->d.ia5)) in STACK_OF()
/external/cronet/third_party/boringssl/src/crypto/x509v3/
Dv3_ia5.c73 const ASN1_IA5STRING *ia5 = ext; in i2s_ASN1_IA5STRING() local
75 if (!ia5 || !ia5->length) { in i2s_ASN1_IA5STRING()
78 if (!(tmp = OPENSSL_malloc(ia5->length + 1))) { in i2s_ASN1_IA5STRING()
81 OPENSSL_memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING()
82 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING()
88 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local
93 if (!(ia5 = ASN1_IA5STRING_new())) { in s2i_ASN1_IA5STRING()
96 if (!ASN1_STRING_set(ia5, str, strlen(str))) { in s2i_ASN1_IA5STRING()
97 ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
100 return ia5; in s2i_ASN1_IA5STRING()
Dv3_alt.c149 if (!x509V3_add_value_asn1_string("email", gen->d.ia5, &ret)) { in STACK_OF()
155 if (!x509V3_add_value_asn1_string("DNS", gen->d.ia5, &ret)) { in STACK_OF()
161 if (!x509V3_add_value_asn1_string("URI", gen->d.ia5, &ret)) { in STACK_OF()
227 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
232 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
237 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
408 gen->d.ia5 = email; in copy_email()
480 gen->d.ia5 = str; in a2i_GENERAL_NAME()
Dv3_genn.c161 return ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp()
193 a->d.ia5 = value; in GENERAL_NAME_set0_value()
228 return a->d.ia5; in GENERAL_NAME_get0_value()
Dv3_utl.c623 if (!append_ia5(&ret, gen->d.ia5)) { in STACK_OF()
/external/boringssl/src/crypto/x509v3/
Dv3_ia5.c73 const ASN1_IA5STRING *ia5 = ext; in i2s_ASN1_IA5STRING() local
75 if (!ia5 || !ia5->length) { in i2s_ASN1_IA5STRING()
78 if (!(tmp = OPENSSL_malloc(ia5->length + 1))) { in i2s_ASN1_IA5STRING()
81 OPENSSL_memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING()
82 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING()
88 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local
93 if (!(ia5 = ASN1_IA5STRING_new())) { in s2i_ASN1_IA5STRING()
96 if (!ASN1_STRING_set(ia5, str, strlen(str))) { in s2i_ASN1_IA5STRING()
97 ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
100 return ia5; in s2i_ASN1_IA5STRING()
Dv3_alt.c149 if (!x509V3_add_value_asn1_string("email", gen->d.ia5, &ret)) { in STACK_OF()
155 if (!x509V3_add_value_asn1_string("DNS", gen->d.ia5, &ret)) { in STACK_OF()
161 if (!x509V3_add_value_asn1_string("URI", gen->d.ia5, &ret)) { in STACK_OF()
227 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
232 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
237 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print()
408 gen->d.ia5 = email; in copy_email()
480 gen->d.ia5 = str; in a2i_GENERAL_NAME()
Dv3_genn.c161 return ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp()
193 a->d.ia5 = value; in GENERAL_NAME_set0_value()
228 return a->d.ia5; in GENERAL_NAME_get0_value()
Dv3_utl.c623 if (!append_ia5(&ret, gen->d.ia5)) { in STACK_OF()
/external/libwebsockets/lib/tls/openssl/
Dopenssl-server.c799 ASN1_IA5STRING *ia5 = NULL; local
847 ia5 = ASN1_IA5STRING_new();
848 if (!ASN1_STRING_set(ia5, san_a, -1)) {
853 GENERAL_NAME_set0_value(gen, GEN_DNS, ia5);
865 ia5 = ASN1_IA5STRING_new();
866 if (!ASN1_STRING_set(ia5, san_a, -1)) {
871 GENERAL_NAME_set0_value(gen, GEN_DNS, ia5);
/external/wpa_supplicant_8/src/crypto/
Dtls_wolfssl.c615 if ((size_t) wolfSSL_ASN1_STRING_length(gen->d.ia5) == len && in tls_match_alt_subject_component()
616 os_memcmp(value, wolfSSL_ASN1_STRING_data(gen->d.ia5), in tls_match_alt_subject_component()
723 wolfSSL_ASN1_STRING_data(gen->d.ia5), in tls_match_suffix_helper()
724 wolfSSL_ASN1_STRING_length(gen->d.ia5)); in tls_match_suffix_helper()
726 (const char *) wolfSSL_ASN1_STRING_data(gen->d.ia5), in tls_match_suffix_helper()
727 wolfSSL_ASN1_STRING_length(gen->d.ia5), match, in tls_match_suffix_helper()
935 pos = os_malloc(10 + wolfSSL_ASN1_STRING_length(gen->d.ia5) + in wolfssl_tls_cert_event()
956 os_memcpy(pos, wolfSSL_ASN1_STRING_data(gen->d.ia5), in wolfssl_tls_cert_event()
957 wolfSSL_ASN1_STRING_length(gen->d.ia5)); in wolfssl_tls_cert_event()
958 pos += wolfSSL_ASN1_STRING_length(gen->d.ia5); in wolfssl_tls_cert_event()
Dtls_openssl.c1871 if (os_strlen((char *) gen->d.ia5->data) == len && in tls_match_altsubject_component()
1872 os_memcmp(value, gen->d.ia5->data, len) == 0) in tls_match_altsubject_component()
2441 pos = os_malloc(10 + gen->d.ia5->length + 1); in openssl_tls_cert_event()
2461 os_memcpy(pos, gen->d.ia5->data, gen->d.ia5->length); in openssl_tls_cert_event()
2462 pos += gen->d.ia5->length; in openssl_tls_cert_event()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dencode_asn1.py410 ia5 = backend._lib.ASN1_IA5STRING_new()
411 backend.openssl_assert(ia5 != backend._ffi.NULL)
416 res = backend._lib.ASN1_STRING_set(ia5, value, len(value))
418 gn.d.dNSName = ia5
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c737 if (ASN1_STRING_get0_data(gen->d.ia5)[ASN1_STRING_length(gen->d.ia5)] != '\0')
741 racoon_hexdump(ASN1_STRING_get0_data(gen->d.ia5), ASN1_STRING_length(gen->d.ia5) + 1);
745 len = ASN1_STRING_length(gen->d.ia5) + 1;
750 strlcpy(*altname, (const char *) ASN1_STRING_get0_data(gen->d.ia5), len);
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dx509v3.h200 ASN1_IA5STRING *ia5; // rfc822Name, dNSName, uniformResourceIdentifier member
531 const ASN1_OCTET_STRING *ia5);
/external/boringssl/src/include/openssl/
Dx509v3.h183 ASN1_IA5STRING *ia5; // rfc822Name, dNSName, uniformResourceIdentifier member
/external/cronet/third_party/boringssl/src/include/openssl/
Dx509v3.h183 ASN1_IA5STRING *ia5; // rfc822Name, dNSName, uniformResourceIdentifier member
/external/curl/lib/vtls/
Dopenssl.c2177 const char *altptr = (char *)ASN1_STRING_get0_data(check->d.ia5); in ossl_verifyhost()
2178 size_t altlen = (size_t) ASN1_STRING_length(check->d.ia5); in ossl_verifyhost()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_test.cc1510 name->d.ia5 = str.release(); in MakeGeneralName()
/external/boringssl/src/crypto/x509/
Dx509_test.cc1559 name->d.ia5 = str.release(); in MakeGeneralName()
/external/cronet/third_party/boringssl/src/crypto/x509/
Dx509_test.cc1559 name->d.ia5 = str.release(); in MakeGeneralName()

12