Searched refs:may_mask (Results 1 – 1 of 1) sorted by relevance
1794 unsigned int may_mask = MBEDTLS_X509_KU_ENCIPHER_ONLY in mbedtls_x509_crt_check_key_usage() local1801 usage_must = usage & ~may_mask; in mbedtls_x509_crt_check_key_usage()1803 if (((crt->key_usage & ~may_mask) & usage_must) != usage_must) { in mbedtls_x509_crt_check_key_usage()1807 usage_may = usage & may_mask; in mbedtls_x509_crt_check_key_usage()1809 if (((crt->key_usage & may_mask) | usage_may) != usage_may) { in mbedtls_x509_crt_check_key_usage()