Home
last modified time | relevance | path

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

/mbedtls-latest/tests/suites/
Dtest_suite_x509parse.function358 const unsigned char *policy_end;
369 policy_end = *p + len;
371 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len,
386 * If there is an optional qualifier, then *p < policy_end
387 * Check the Qualifier len to verify it doesn't exceed policy_end.
389 if (*p < policy_end) {
390 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len,
401 if (*p != policy_end) {
/mbedtls-latest/library/
Dx509_crt.c770 const unsigned char *policy_end; in x509_get_certificate_policies() local
780 policy_end = *p + len; in x509_get_certificate_policies()
782 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len, in x509_get_certificate_policies()
829 if (*p < policy_end) { in x509_get_certificate_policies()
830 if ((ret = mbedtls_asn1_get_tag(p, policy_end, &len, in x509_get_certificate_policies()
841 if (*p != policy_end) { in x509_get_certificate_policies()