Searched refs:CBS_ASN1_CONSTRUCTED (Results 1 – 13 of 13) 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()
383 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)) { in PKCS12_handle_safe_bag()425 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in PKCS12_handle_safe_bag()495 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in PKCS12_handle_content_info()646 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)) { in PKCS12_get_key_and_certs()1000 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in add_cert_bag()1006 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in add_cert_bag()1067 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in add_encrypted_data()1172 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in PKCS12_create()1210 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0) || in PKCS12_create()1219 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)
115 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | in parse_asn1_set()167 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | in parse_asn1_integer()224 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | in parse_asn1_boolean()264 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | in parse_asn1_octet_string()
164 CBS_ASN1_CONSTRUCTED | 0) || in sign_pkcs7()176 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in sign_pkcs7()229 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in compare_fsverity_digest_pkcs7()239 CBS_ASN1_CONSTRUCTED | 0) || in compare_fsverity_digest_pkcs7()
71 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 0;73 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | 1;
4761 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | tag); in NativeCrypto_asn1_read_next_tag_is()4911 CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC | tag)) { in NativeCrypto_asn1_write_tag()8965 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in get_ocsp_basic_response()8999 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0) || in get_ocsp_single_responses()9020 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 0)) { in get_ocsp_single_response_extensions()9026 CBS_ASN1_CONTEXT_SPECIFIC | CBS_ASN1_CONSTRUCTED | 1) == 1; in get_ocsp_single_response_extensions()