Lines Matching refs:tag
61 unsigned char tag, tmp;
72 /* Extract a tag from the data */
73 tag = data[dp++];
74 if (tag == ASN1_EOC) {
86 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) {
101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5))
176 unsigned char tag = 0, csp = 0, jsp = 0, optag = 0, hdr = 0;
184 #define FLAG_LAST_MATCHED 0x04 /* Last tag matched */
185 #define FLAG_CONS 0x20 /* Corresponds to CONS bit in the opcode tag
209 /* If this command is meant to match a tag, then do that before
226 /* Extract a tag from the data */
229 tag = data[dp++];
230 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG))
234 pr_debug("- any %02x\n", tag);
236 /* Extract the tag from the machine
244 /* Determine whether the tag matched */
245 tmp = optag ^ tag;
247 pr_debug("- match? %02x %02x %02x\n", tag, optag, tmp);
264 if (unlikely(!(tag & ASN1_CONS_BIT)))
306 tag, len, flags & FLAG_CONS ? " CONS" : "");
346 ret = actions[act](context, hdr, tag, data + dp, len);
454 ret = actions[machine[pc + 1]](context, hdr, tag, data + tdp, len);
510 errmsg = "Unexpected tag";
513 errmsg = "Long tag not supported";
516 errmsg, pc, dp, optag, tag, len);