Searched refs:policy_end (Results 1 – 2 of 2) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_x509parse.function | 343 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/ |
D | x509_crt.c | 669 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()
|