Lines Matching refs:flags
64 int verify_none(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
69 *flags |= MBEDTLS_X509_BADCERT_OTHER;
74 int verify_all(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
79 *flags = 0;
145 int verify_fatal(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
154 *flags |= (1 << certificate_depth);
202 int verify_print(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
208 ((void) flags);
222 ret = mbedtls_snprintf(p, n, " - flags 0x%08x\n", *flags);
555 void x509_verify_info(int flags, char *prefix, char *result_str)
562 res = mbedtls_x509_crt_verify_info(buf, sizeof(buf), prefix, flags);
579 uint32_t flags = 0;
605 &mbedtls_x509_crt_profile_default, NULL, &flags,
610 TEST_ASSERT(flags == (uint32_t) flags_result);
617 &mbedtls_x509_crt_profile_default, NULL, &flags,
638 uint32_t flags = 0;
687 &flags,
692 TEST_EQUAL(flags, (uint32_t) flags_result);
698 flags = 0;
705 &flags,
710 TEST_ASSERT(flags == (uint32_t) (flags_result));
728 uint32_t flags = 0;
741 &compat_profile, name, &flags,
745 TEST_ASSERT(flags == (uint32_t) (-1));
759 uint32_t flags = 0;
777 name, &flags,
1238 uint32_t flags;
1262 ret = mbedtls_x509_crt_verify(&chain, &trusted, NULL, NULL, &flags,
1265 TEST_ASSERT(flags == (uint32_t) flags_chk);
1280 uint32_t flags;
1308 NULL, &flags, verify_fatal, &vrfy_fatal_lvls);
1311 TEST_ASSERT(flags == (uint32_t) (flags_result));