Lines Matching refs:ctx
30 int tag, int aclass, char opt, ASN1_TLC *ctx,
45 int exptag, int expclass, char opt, ASN1_TLC *ctx);
50 ASN1_TLC *ctx, int depth, OSSL_LIB_CTX *libctx,
55 ASN1_TLC *ctx, int depth,
61 ASN1_TLC *ctx);
109 int aclass, char opt, ASN1_TLC *ctx,
118 rv = asn1_item_embed_d2i(pval, in, len, it, tag, aclass, opt, ctx, 0,
127 int tag, int aclass, char opt, ASN1_TLC *ctx)
129 return asn1_item_ex_d2i_intern(pval, in, len, it, tag, aclass, opt, ctx,
164 int tag, int aclass, char opt, ASN1_TLC *ctx,
214 return asn1_template_ex_d2i(pval, in, len, it->templates, opt, ctx,
218 tag, aclass, opt, ctx);
233 &p, len, -1, 0, 1, ctx);
256 return asn1_d2i_ex_primitive(pval, in, len, it, otag, 0, 0, ctx);
262 return ef->asn1_ex_d2i_ex(pval, in, len, it, tag, aclass, opt, ctx,
264 return ef->asn1_ex_d2i(pval, in, len, it, tag, aclass, opt, ctx);
298 ret = asn1_template_ex_d2i(pchptr, &p, len, tt, 1, ctx, depth,
347 &p, len, tag, aclass, opt, ctx);
422 ret = asn1_template_ex_d2i(pseqval, &p, len, seqtt, isopt, ctx,
499 ASN1_TLC *ctx, int depth,
522 &p, inlen, tt->tag, aclass, opt, ctx);
534 ret = asn1_template_noexp_d2i(val, &p, len, tt, 0, ctx, depth, libctx,
558 return asn1_template_noexp_d2i(val, in, inlen, tt, opt, ctx, depth,
571 ASN1_TLC *ctx, int depth,
611 &p, len, sktag, skaclass, opt, ctx);
652 ASN1_ITEM_ptr(tt->item), -1, 0, 0, ctx,
674 ctx, depth, libctx, propq);
683 -1, 0, opt, ctx, depth, libctx, propq);
701 int tag, int aclass, char opt, ASN1_TLC *ctx)
735 &p, inlen, -1, 0, 0, ctx);
750 &p, inlen, tag, aclass, opt, ctx);
765 asn1_tlc_clear(ctx);
1138 int exptag, int expclass, char opt, ASN1_TLC *ctx)
1151 if (ctx != NULL && ctx->valid) {
1152 i = ctx->ret;
1153 plen = ctx->plen;
1154 pclass = ctx->pclass;
1155 ptag = ctx->ptag;
1156 p += ctx->hdrlen;
1159 if (ctx != NULL) {
1160 ctx->ret = i;
1161 ctx->plen = plen;
1162 ctx->pclass = pclass;
1163 ctx->ptag = ptag;
1164 ctx->hdrlen = p - q;
1165 ctx->valid = 1;
1170 if ((i & 0x81) == 0 && (plen + ctx->hdrlen) > len) {
1195 asn1_tlc_clear(ctx);
1220 asn1_tlc_clear(ctx);