Lines Matching defs:tag
69 int tag, int aclass);
75 int tag, int aclass);
131 const ASN1_ITEM *it, int tag, int aclass)
153 tag, aclass);
154 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass);
181 return ef->asn1_ex_i2d(pval, out, it, tag, aclass);
189 /* Fixup for IMPLICIT tag: note this messes up for tags > 30,
192 if (out && (tag != -1))
193 *p = aclass | tag | (*p & V_ASN1_CONSTRUCTED);
212 if (tag == -1)
214 tag = V_ASN1_SEQUENCE;
235 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
239 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
271 const ASN1_TEMPLATE *tt, int tag, int iclass)
275 /* Work out tag and class to use: tagging may come
284 if (tag != -1)
288 ttag = tt->tag;
291 else if (tag != -1)
294 ttag = tag;
307 /* At this point 'ttag' contains the outer tag to use,
337 /* Work out inner tag value: if EXPLICIT
363 /* If EXPLICIT need length of surrounding tag */
372 /* EXPLICIT tag */
375 /* SET or SEQUENCE and IMPLICIT tag */
398 /* Find length of EXPLICIT tag */
402 /* Output tag and item */
505 const ASN1_ITEM *it, int tag, int aclass)
522 * include tag+length. We need to check here
543 /* If not implicitly tagged get tag from underlying type */
544 if (tag == -1) tag = utype;
546 /* Output tag+length followed by content octets */
550 ASN1_put_object(out, ndef, len, tag, aclass);
559 return ASN1_object_size(ndef, len, tag);