Home | History | Annotate | Download | only in asn1

Lines Matching defs:plen

74 static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen);
772 long plen;
827 ret = asn1_check_tlen(&plen, NULL, NULL, &inf, &cst,
860 if (!asn1_find_end(&p, plen, inf))
866 len = p - cont + plen;
867 p += plen;
882 if (!asn1_collect(&buf, &p, plen, inf, -1, V_ASN1_UNIVERSAL, 0))
902 len = plen;
903 p += plen;
1092 long plen;
1118 if(!asn1_check_tlen(&plen, NULL, NULL, &inf, NULL, &p, len,
1127 p += plen;
1158 long plen;
1187 if (!asn1_check_tlen(&plen, NULL, NULL, &ininf, &cst, &p,
1203 if (!asn1_collect(buf, &p, plen, ininf, tag, aclass,
1207 else if (plen && !collect_data(buf, &p, plen))
1220 static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen)
1226 if (!BUF_MEM_grow_clean(buf, len + plen))
1231 memcpy(buf->data + len, *p, plen);
1233 *p += plen;
1267 long plen;
1275 plen = ctx->plen;
1282 i = ASN1_get_object(&p, &plen, &ptag, &pclass, len);
1286 ctx->plen = plen;
1294 if (!(i & 0x81) && ((plen + ctx->hdrlen) > len))
1328 plen = len - (p - q);
1337 *olen = plen;