Lines Matching refs:end

77 	const unsigned char *end;  in get_ext()  local
82 end = v3_ext.p + v3_ext.len; in get_ext()
93 ret = mbedtls_asn1_get_tag(&p, end, &len, in get_ext()
175 } while (p < end); in get_ext()
194 unsigned char *p, *end, *crt_end, *pk_end; in cert_parse() local
215 end = crt_end; in cert_parse()
223 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
225 if ((ret != 0) || ((p + len) != end)) { in cert_parse()
233 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
238 end = p + len; in cert_parse()
239 tbs.len = end - tbs.p; in cert_parse()
245 if (((end - p) <= (ptrdiff_t)sizeof(v3)) || in cert_parse()
254 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_INTEGER); in cert_parse()
264 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
275 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
288 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
298 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
309 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
339 ret = mbedtls_asn1_get_tag(&p, end, &len, in cert_parse()
369 ret = mbedtls_asn1_get_tag(&p, end, &len, in cert_parse()
372 if ((ret != 0) || (len != (size_t)(end - p))) { in cert_parse()
380 ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
382 if ((ret != 0) || (len != (size_t)(end - p))) { in cert_parse()
395 end = crt_end; in cert_parse()
406 if ((sig_alg1.len >= (size_t)(end - p)) || in cert_parse()
418 ret = mbedtls_asn1_get_bitstring_null(&p, end, &len); in cert_parse()
419 if ((ret != 0) || ((p + len) != end)) { in cert_parse()
422 signature.len = end - signature.p; in cert_parse()