Searched refs:subid (Results 1 – 1 of 1) sorted by relevance
376 asn1_subid_decode(struct asn1_ctx *ctx, unsigned long *subid) in asn1_subid_decode() argument380 *subid = 0; in asn1_subid_decode()386 *subid <<= 7; in asn1_subid_decode()387 *subid |= ch & 0x7F; in asn1_subid_decode()396 unsigned long subid; in asn1_oid_decode() local412 if (!asn1_subid_decode(ctx, &subid)) { in asn1_oid_decode()418 if (subid < 40) { in asn1_oid_decode()420 optr[1] = subid; in asn1_oid_decode()421 } else if (subid < 80) { in asn1_oid_decode()423 optr[1] = subid - 40; in asn1_oid_decode()[all …]