Home
last modified time | relevance | path

Searched refs:tag_class (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/crypto/x509/
Dasn1_gen.c144 CBS_ASN1_TAG tag_class = CBS_ASN1_CONTEXT_SPECIFIC; in parse_tag() local
150 tag_class = CBS_ASN1_UNIVERSAL; in parse_tag()
153 tag_class = CBS_ASN1_APPLICATION; in parse_tag()
156 tag_class = CBS_ASN1_PRIVATE; in parse_tag()
159 tag_class = CBS_ASN1_CONTEXT_SPECIFIC; in parse_tag()
174 if (tag_class == CBS_ASN1_UNIVERSAL && num == 0) { in parse_tag()
179 return tag_class | (CBS_ASN1_TAG)num; in parse_tag()
/external/cronet/third_party/boringssl/src/crypto/x509/
Dasn1_gen.c144 CBS_ASN1_TAG tag_class = CBS_ASN1_CONTEXT_SPECIFIC; in parse_tag() local
150 tag_class = CBS_ASN1_UNIVERSAL; in parse_tag()
153 tag_class = CBS_ASN1_APPLICATION; in parse_tag()
156 tag_class = CBS_ASN1_PRIVATE; in parse_tag()
159 tag_class = CBS_ASN1_CONTEXT_SPECIFIC; in parse_tag()
174 if (tag_class == CBS_ASN1_UNIVERSAL && num == 0) { in parse_tag()
179 return tag_class | (CBS_ASN1_TAG)num; in parse_tag()
/external/boringssl/src/crypto/asn1/
Dasn1_lib.c126 int tag_class = (tag & CBS_ASN1_CLASS_MASK) >> CBS_ASN1_TAG_SHIFT; in ASN1_get_object() local
131 if (tag_class == V_ASN1_UNIVERSAL && tag_number > V_ASN1_MAX_UNIVERSAL) { in ASN1_get_object()
139 *out_class = tag_class; in ASN1_get_object()
Dasn1_test.cc2240 int tag_class; in TEST() local
2241 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
2247 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
2253 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
2260 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
/external/cronet/third_party/boringssl/src/crypto/asn1/
Dasn1_lib.c126 int tag_class = (tag & CBS_ASN1_CLASS_MASK) >> CBS_ASN1_TAG_SHIFT; in ASN1_get_object() local
131 if (tag_class == V_ASN1_UNIVERSAL && tag_number > V_ASN1_MAX_UNIVERSAL) { in ASN1_get_object()
139 *out_class = tag_class; in ASN1_get_object()
Dasn1_test.cc2240 int tag_class; in TEST() local
2241 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
2247 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
2253 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
2260 EXPECT_EQ(0x80, ASN1_get_object(&ptr, &length, &tag, &tag_class, in TEST()
/external/rust/crates/der/src/
Dtag.rs405 fn tag_class() { in tag_class() function