Lines Matching refs:tt

49                                 const ASN1_TEMPLATE *tt, char opt,
54 const ASN1_TEMPLATE *tt, char opt,
168 const ASN1_TEMPLATE *tt, *errtt = NULL; in asn1_item_embed_d2i() local
282 tt = it->templates + i; in asn1_item_embed_d2i()
283 pchptr = ossl_asn1_get_field_ptr(pval, tt); in asn1_item_embed_d2i()
284 ossl_asn1_template_free(pchptr, tt); in asn1_item_embed_d2i()
293 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
294 pchptr = ossl_asn1_get_field_ptr(pval, tt); in asn1_item_embed_d2i()
298 ret = asn1_template_ex_d2i(pchptr, &p, len, tt, 1, ctx, depth, in asn1_item_embed_d2i()
310 ossl_asn1_template_free(pchptr, tt); in asn1_item_embed_d2i()
311 errtt = tt; in asn1_item_embed_d2i()
375 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
376 if (tt->flags & ASN1_TFLG_ADB_MASK) { in asn1_item_embed_d2i()
379 seqtt = ossl_asn1_do_adb(*pval, tt, 0); in asn1_item_embed_d2i()
388 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
391 seqtt = ossl_asn1_do_adb(*pval, tt, 1); in asn1_item_embed_d2i()
454 for (; i < it->tcount; tt++, i++) { in asn1_item_embed_d2i()
456 seqtt = ossl_asn1_do_adb(*pval, tt, 1); in asn1_item_embed_d2i()
498 const ASN1_TEMPLATE *tt, char opt, in asn1_template_ex_d2i() argument
509 flags = tt->flags; in asn1_template_ex_d2i()
522 &p, inlen, tt->tag, aclass, opt, ctx); in asn1_template_ex_d2i()
534 ret = asn1_template_noexp_d2i(val, &p, len, tt, 0, ctx, depth, libctx, in asn1_template_ex_d2i()
558 return asn1_template_noexp_d2i(val, in, inlen, tt, opt, ctx, depth, in asn1_template_ex_d2i()
570 const ASN1_TEMPLATE *tt, char opt, in asn1_template_noexp_d2i() argument
580 flags = tt->flags; in asn1_template_noexp_d2i()
589 if (tt->flags & ASN1_TFLG_EMBED) { in asn1_template_noexp_d2i()
600 sktag = tt->tag; in asn1_template_noexp_d2i()
627 ASN1_item_ex_free(&vtmp, ASN1_ITEM_ptr(tt->item)); in asn1_template_noexp_d2i()
652 ASN1_ITEM_ptr(tt->item), -1, 0, 0, ctx, in asn1_template_noexp_d2i()
656 ASN1_item_free(skfield, ASN1_ITEM_ptr(tt->item)); in asn1_template_noexp_d2i()
662 ASN1_item_free(skfield, ASN1_ITEM_ptr(tt->item)); in asn1_template_noexp_d2i()
673 ASN1_ITEM_ptr(tt->item), tt->tag, aclass, opt, in asn1_template_noexp_d2i()
682 ret = asn1_item_embed_d2i(val, &p, len, ASN1_ITEM_ptr(tt->item), in asn1_template_noexp_d2i()