Lines Matching refs:tt
24 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt,
26 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
63 const ASN1_TEMPLATE *tt = NULL; in asn1_item_embed_new() local
149 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in asn1_item_embed_new()
150 pseqval = ossl_asn1_get_field_ptr(pval, tt); in asn1_item_embed_new()
151 if (!asn1_template_new(pseqval, tt, libctx, propq)) in asn1_item_embed_new()
207 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, in asn1_template_new() argument
210 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); in asn1_template_new()
211 int embed = tt->flags & ASN1_TFLG_EMBED; in asn1_template_new()
218 if (tt->flags & ASN1_TFLG_OPTIONAL) { in asn1_template_new()
219 asn1_template_clear(pval, tt); in asn1_template_new()
224 if (tt->flags & ASN1_TFLG_ADB_MASK) { in asn1_template_new()
229 if (tt->flags & ASN1_TFLG_SK_MASK) { in asn1_template_new()
247 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in asn1_template_clear() argument
250 if (tt->flags & (ASN1_TFLG_ADB_MASK | ASN1_TFLG_SK_MASK)) in asn1_template_clear()
253 asn1_item_clear(pval, ASN1_ITEM_ptr(tt->item)); in asn1_template_clear()