Lines Matching refs:tag
61 unsigned char tag, tmp; in asn1_find_indefinite_length() local
73 tag = data[dp++]; in asn1_find_indefinite_length()
74 if (tag == ASN1_EOC) { in asn1_find_indefinite_length()
86 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { in asn1_find_indefinite_length()
101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5)) in asn1_find_indefinite_length()
176 unsigned char tag = 0, csp = 0, jsp = 0, optag = 0, hdr = 0; in asn1_ber_decoder() local
229 tag = data[dp++]; in asn1_ber_decoder()
230 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) in asn1_ber_decoder()
234 pr_debug("- any %02x\n", tag); in asn1_ber_decoder()
245 tmp = optag ^ tag; in asn1_ber_decoder()
247 pr_debug("- match? %02x %02x %02x\n", tag, optag, tmp); in asn1_ber_decoder()
264 if (unlikely(!(tag & ASN1_CONS_BIT))) in asn1_ber_decoder()
306 tag, len, flags & FLAG_CONS ? " CONS" : ""); in asn1_ber_decoder()
346 ret = actions[act](context, hdr, tag, data + dp, len); in asn1_ber_decoder()
454 ret = actions[machine[pc + 1]](context, hdr, tag, data + tdp, len); in asn1_ber_decoder()
516 errmsg, pc, dp, optag, tag, len); in asn1_ber_decoder()