Lines Matching refs:flags
61 int verify_none( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags )
66 *flags |= MBEDTLS_X509_BADCERT_OTHER;
71 int verify_all( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags )
76 *flags = 0;
146 int verify_fatal( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags )
156 *flags |= ( 1 << certificate_depth );
205 int verify_print( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags )
211 ((void) flags);
225 ret = mbedtls_snprintf( p, n, " - flags 0x%08x\n", *flags );
529 void x509_verify_info( int flags, char * prefix, char * result_str )
536 res = mbedtls_x509_crt_verify_info( buf, sizeof( buf ), prefix, flags );
553 uint32_t flags = 0;
577 &mbedtls_x509_crt_profile_default, NULL, &flags,
582 TEST_ASSERT( flags == (uint32_t) flags_result );
589 &mbedtls_x509_crt_profile_default, NULL, &flags,
609 uint32_t flags = 0;
650 …res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, profile, cn_name, &flags, f_vrfy, NUL…
653 TEST_ASSERT( flags == (uint32_t)( flags_result ) );
660 flags = 0;
662 …res = mbedtls_x509_crt_verify_with_ca_cb( &crt, ca_callback, &ca, profile, cn_name, &flags, f_vrfy…
665 TEST_ASSERT( flags == (uint32_t)( flags_result ) );
683 uint32_t flags = 0;
695 &compat_profile, name, &flags,
699 TEST_ASSERT( flags == (uint32_t)( -1 ) );
713 uint32_t flags = 0;
730 name, &flags,
1044 uint32_t flags;
1068 ret = mbedtls_x509_crt_verify( &chain, &trusted, NULL, NULL, &flags,
1071 TEST_ASSERT( flags == (uint32_t) flags_chk );
1086 uint32_t flags;
1112 NULL, &flags, verify_fatal, &vrfy_fatal_lvls );
1115 TEST_ASSERT( flags == (uint32_t)( flags_result ) );