Searched refs:CBS_ASN1_CONSTRUCTED (Results 1 – 10 of 10) sorted by relevance
32 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()
160 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 …]
296 if (ber_ok && (tag & CBS_ASN1_CONSTRUCTED) != 0 && num_bytes == 0) { in cbs_get_any_asn1_element()
149 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 …]
466 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()
64 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()
77 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()
387 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()
170 #define CBS_ASN1_CONSTRUCTED (0x20u << CBS_ASN1_TAG_SHIFT) macro196 #define CBS_ASN1_SEQUENCE (0x10u | CBS_ASN1_CONSTRUCTED)197 #define CBS_ASN1_SET (0x11u | CBS_ASN1_CONSTRUCTED)
71 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0;73 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 1;