Lines Matching defs:tag
72 char inf, int tag, int aclass, int depth);
92 int tag, int aclass, char opt,
117 unsigned long ASN1_tag2bit(int tag)
119 if ((tag < 0) || (tag > 30))
121 return tag2bit[tag];
162 * tag mismatch return -1 to handle OPTIONAL
167 int tag, int aclass, char opt, ASN1_TLC *ctx)
201 if ((tag != -1) || opt) {
210 tag, aclass, opt, ctx);
215 /* Just read in tag and class */
231 /* Check tag matches bit map */
244 return ef->asn1_ex_d2i(pval, in, len, it, tag, aclass, opt, ctx);
254 if (tag == -1)
257 exptag = tag;
259 * Don't care about anything other than presence of expected tag
274 * underlying code is expecting a tag and class other than the one
284 if (tag != -1) {
297 if (tag != -1)
366 if (tag == -1) {
367 tag = V_ASN1_SEQUENCE;
372 &p, len, tag, aclass, opt, ctx);
517 * EXPLICIT tag and the other handles the rest.
537 /* Check if EXPLICIT tag expected */
545 &p, inlen, tt->tag, aclass, opt, ctx);
573 * Otherwise we must hit the EXPLICIT tag end or its an error
612 /* First work out expected inner tag value */
614 sktag = tt->tag;
623 /* Get the tag */
685 ASN1_ITEM_ptr(tt->item), tt->tag, aclass, opt,
714 int tag, int aclass, char opt, ASN1_TLC *ctx)
729 utype = tag;
730 tag = -1;
735 /* If type is ANY need to figure out type from tag */
737 if (tag >= 0) {
756 if (tag == -1) {
757 tag = utype;
763 &p, inlen, tag, aclass, opt, ctx);
811 * So instead just check for UNIVERSAL class and ignore the tag.
1052 char inf, int tag, int aclass, int depth)
1083 len, tag, aclass, 0, NULL)) {
1094 if (!asn1_collect(buf, &p, plen, ininf, tag, aclass, depth + 1))
1139 * Check an ASN1 tag and length: a bit like ASN1_get_object but it sets the
1201 * We have a tag and class match: assume we are going to do something