Lines Matching refs:flags
1518 uint32_t flags ) in mbedtls_x509_crt_verify_info() argument
1527 if( ( flags & cur->code ) == 0 ) in mbedtls_x509_crt_verify_info()
1532 flags ^= cur->code; in mbedtls_x509_crt_verify_info()
1535 if( flags != 0 ) in mbedtls_x509_crt_verify_info()
1633 int flags = 0; in x509_crt_verifycrl() local
1638 return( flags ); in x509_crt_verifycrl()
1657 flags |= MBEDTLS_X509_BADCRL_NOT_TRUSTED; in x509_crt_verifycrl()
1666 flags |= MBEDTLS_X509_BADCRL_BAD_MD; in x509_crt_verifycrl()
1669 flags |= MBEDTLS_X509_BADCRL_BAD_PK; in x509_crt_verifycrl()
1677 flags |= MBEDTLS_X509_BADCRL_NOT_TRUSTED; in x509_crt_verifycrl()
1684 flags |= MBEDTLS_X509_BADCERT_BAD_KEY; in x509_crt_verifycrl()
1690 flags |= MBEDTLS_X509_BADCRL_NOT_TRUSTED; in x509_crt_verifycrl()
1698 flags |= MBEDTLS_X509_BADCRL_EXPIRED; in x509_crt_verifycrl()
1701 flags |= MBEDTLS_X509_BADCRL_FUTURE; in x509_crt_verifycrl()
1708 flags |= MBEDTLS_X509_BADCERT_REVOKED; in x509_crt_verifycrl()
1715 return( flags ); in x509_crt_verifycrl()
1898 int path_cnt, int self_cnt, uint32_t *flags, in x509_crt_verify_top() argument
1909 *flags |= MBEDTLS_X509_BADCERT_EXPIRED; in x509_crt_verify_top()
1912 *flags |= MBEDTLS_X509_BADCERT_FUTURE; in x509_crt_verify_top()
1915 *flags |= MBEDTLS_X509_BADCERT_BAD_MD; in x509_crt_verify_top()
1918 *flags |= MBEDTLS_X509_BADCERT_BAD_PK; in x509_crt_verify_top()
1923 *flags |= MBEDTLS_X509_BADCERT_NOT_TRUSTED; in x509_crt_verify_top()
1981 *flags &= ~MBEDTLS_X509_BADCERT_NOT_TRUSTED; in x509_crt_verify_top()
1984 *flags |= MBEDTLS_X509_BADCERT_BAD_KEY; in x509_crt_verify_top()
2001 *flags |= x509_crt_verifycrl( child, trust_ca, ca_crl, profile ); in x509_crt_verify_top()
2019 if( ( ret = f_vrfy( p_vrfy, child, path_cnt, flags ) ) != 0 ) in x509_crt_verify_top()
2023 *flags |= ca_flags; in x509_crt_verify_top()
2032 int path_cnt, int self_cnt, uint32_t *flags, in x509_crt_verify_child() argument
2049 *flags |= MBEDTLS_X509_BADCERT_NOT_TRUSTED; in x509_crt_verify_child()
2054 *flags |= MBEDTLS_X509_BADCERT_EXPIRED; in x509_crt_verify_child()
2057 *flags |= MBEDTLS_X509_BADCERT_FUTURE; in x509_crt_verify_child()
2060 *flags |= MBEDTLS_X509_BADCERT_BAD_MD; in x509_crt_verify_child()
2063 *flags |= MBEDTLS_X509_BADCERT_BAD_PK; in x509_crt_verify_child()
2071 *flags |= MBEDTLS_X509_BADCERT_NOT_TRUSTED; in x509_crt_verify_child()
2078 *flags |= MBEDTLS_X509_BADCERT_BAD_KEY; in x509_crt_verify_child()
2084 *flags |= MBEDTLS_X509_BADCERT_NOT_TRUSTED; in x509_crt_verify_child()
2090 *flags |= x509_crt_verifycrl(child, parent, ca_crl, profile ); in x509_crt_verify_child()
2152 if( ( ret = f_vrfy( p_vrfy, child, path_cnt, flags ) ) != 0 ) in x509_crt_verify_child()
2155 *flags |= parent_flags; in x509_crt_verify_child()
2166 const char *cn, uint32_t *flags, in mbedtls_x509_crt_verify() argument
2171 &mbedtls_x509_crt_profile_default, cn, flags, f_vrfy, p_vrfy ) ); in mbedtls_x509_crt_verify()
2182 const char *cn, uint32_t *flags, in mbedtls_x509_crt_verify_with_profile() argument
2197 *flags = 0; in mbedtls_x509_crt_verify_with_profile()
2225 *flags |= MBEDTLS_X509_BADCERT_CN_MISMATCH; in mbedtls_x509_crt_verify_with_profile()
2247 *flags |= MBEDTLS_X509_BADCERT_CN_MISMATCH; in mbedtls_x509_crt_verify_with_profile()
2255 *flags |= MBEDTLS_X509_BADCERT_BAD_PK; in mbedtls_x509_crt_verify_with_profile()
2258 *flags |= MBEDTLS_X509_BADCERT_BAD_KEY; in mbedtls_x509_crt_verify_with_profile()
2270 pathlen, selfsigned, flags, f_vrfy, p_vrfy ); in mbedtls_x509_crt_verify_with_profile()
2285 pathlen, selfsigned, flags, f_vrfy, p_vrfy ); in mbedtls_x509_crt_verify_with_profile()
2292 pathlen, selfsigned, flags, f_vrfy, p_vrfy ); in mbedtls_x509_crt_verify_with_profile()
2298 if( *flags != 0 ) in mbedtls_x509_crt_verify_with_profile()