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.function339 const unsigned char *policy_end;
348 policy_end = *p + len;
350 if( ( ret = mbedtls_asn1_get_tag( p, policy_end, &len,
363 * If there is an optional qualifier, then *p < policy_end
364 * Check the Qualifier len to verify it doesn't exceed policy_end.
366 if( *p < policy_end )
368 if( ( ret = mbedtls_asn1_get_tag( p, policy_end, &len,
377 if( *p != policy_end )
/third_party/mbedtls/library/
Dx509_crt.c816 const unsigned char *policy_end; in x509_get_certificate_policies() local
825 policy_end = *p + len; in x509_get_certificate_policies()
827 if( ( ret = mbedtls_asn1_get_tag( p, policy_end, &len, in x509_get_certificate_policies()
873 if( *p < policy_end ) in x509_get_certificate_policies()
875 if( ( ret = mbedtls_asn1_get_tag( p, policy_end, &len, in x509_get_certificate_policies()
884 if( *p != policy_end ) in x509_get_certificate_policies()