Home
last modified time | relevance | path

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

/third_party/boringssl/src/crypto/bytestring/
Dber.c32 switch (tag & ~CBS_ASN1_CONSTRUCTED) { in is_string_type()
81 if (tag & CBS_ASN1_CONSTRUCTED) { in cbs_find_ber()
113 assert(!(string_tag & CBS_ASN1_CONSTRUCTED)); in cbs_convert_ber()
137 if ((tag & ~CBS_ASN1_CONSTRUCTED) != string_tag) { in cbs_convert_ber()
143 if ((tag & CBS_ASN1_CONSTRUCTED) && is_string_type(tag)) { in cbs_convert_ber()
146 out_tag &= ~CBS_ASN1_CONSTRUCTED; in cbs_convert_ber()
170 if (tag & CBS_ASN1_CONSTRUCTED) { in cbs_convert_ber()
224 assert(!(outer_tag & CBS_ASN1_CONSTRUCTED)); in CBS_get_asn1_implicit_string()
225 assert(!(inner_tag & CBS_ASN1_CONSTRUCTED)); in CBS_get_asn1_implicit_string()
240 !CBS_get_asn1(in, &child, outer_tag | CBS_ASN1_CONSTRUCTED)) { in CBS_get_asn1_implicit_string()
Dbytestring_test.cc160 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)); in TEST()
164 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)); in TEST()
169 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)); in TEST()
172 &data, &value, CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0, 42)); in TEST()
179 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)); in TEST()
183 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 1)); in TEST()
192 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)); in TEST()
197 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 1)); in TEST()
205 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 1)); in TEST()
210 &data, &value, CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0, 42)); in TEST()
[all …]
Dcbs.c296 if (ber_ok && (tag & CBS_ASN1_CONSTRUCTED) != 0 && num_bytes == 0) { in cbs_get_any_asn1_element()
/third_party/boringssl/src/ssl/
Dssl_asn1.cc149 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 1;
151 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 2;
153 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 3;
155 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 4;
157 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 5;
159 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 6;
161 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 8;
163 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 9;
165 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 10;
167 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 13;
[all …]
Dssl_cert.cc466 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in ssl_cert_skip_to_spki()
554 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 1) || in ssl_cert_check_key_usage()
558 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 2) || in ssl_cert_check_key_usage()
561 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 3)) { in ssl_cert_check_key_usage()
/third_party/boringssl/src/crypto/pkcs7/
Dpkcs7.c64 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in pkcs7_parse_header()
97 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)) { in PKCS7_get_raw_certificates()
144 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in pkcs7_bundle()
Dpkcs7_x509.c77 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in PKCS7_get_CRLs()
80 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 1)) { in PKCS7_get_CRLs()
179 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)) { in pkcs7_bundle_certificates_cb()
209 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 1)) { in pkcs7_bundle_crls_cb()
/third_party/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c387 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)) { in PKCS12_handle_safe_bag()
433 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in PKCS12_handle_safe_bag()
503 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in PKCS12_handle_content_info()
654 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)) { in PKCS12_get_key_and_certs()
1024 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in add_cert_bag()
1030 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in add_cert_bag()
1091 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in add_encrypted_data()
1196 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in PKCS12_create()
1234 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in PKCS12_create()
1243 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in PKCS12_create()
/third_party/boringssl/src/include/openssl/
Dbytestring.h170 #define CBS_ASN1_CONSTRUCTED (0x20u << CBS_ASN1_TAG_SHIFT) macro
196 #define CBS_ASN1_SEQUENCE (0x10u | CBS_ASN1_CONSTRUCTED)
197 #define CBS_ASN1_SET (0x11u | CBS_ASN1_CONSTRUCTED)
/third_party/boringssl/src/crypto/ec_extra/
Dec_asn1.c71 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0;
73 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 1;