Home
last modified time | relevance | path

Searched refs:policy_end (Results 1 – 2 of 2) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_x509parse.function343 const unsigned char *policy_end;
354 policy_end = *p + len;
356 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len,
371 * If there is an optional qualifier, then *p < policy_end
372 * Check the Qualifier len to verify it doesn't exceed policy_end.
374 if (*p < policy_end) {
375 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len,
386 if (*p != policy_end) {
/third_party/mbedtls/library/
Dx509_crt.c669 const unsigned char *policy_end; in x509_get_certificate_policies() local
679 policy_end = *p + len; in x509_get_certificate_policies()
681 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len, in x509_get_certificate_policies()
728 if (*p < policy_end) { in x509_get_certificate_policies()
729 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len, in x509_get_certificate_policies()
740 if (*p != policy_end) { in x509_get_certificate_policies()