Searched refs:may_mask (Results 1 – 1 of 1) sorted by relevance
2259 unsigned int may_mask = MBEDTLS_X509_KU_ENCIPHER_ONLY in mbedtls_x509_crt_check_key_usage() local2265 usage_must = usage & ~may_mask; in mbedtls_x509_crt_check_key_usage()2267 if( ( ( crt->key_usage & ~may_mask ) & usage_must ) != usage_must ) in mbedtls_x509_crt_check_key_usage()2270 usage_may = usage & may_mask; in mbedtls_x509_crt_check_key_usage()2272 if( ( ( crt->key_usage & may_mask ) | usage_may ) != usage_may ) in mbedtls_x509_crt_check_key_usage()