Searched refs:may_mask (Results 1 – 1 of 1) sorted by relevance
1550 unsigned int may_mask = MBEDTLS_X509_KU_ENCIPHER_ONLY in mbedtls_x509_crt_check_key_usage() local1556 usage_must = usage & ~may_mask; in mbedtls_x509_crt_check_key_usage()1558 if( ( ( crt->key_usage & ~may_mask ) & usage_must ) != usage_must ) in mbedtls_x509_crt_check_key_usage()1561 usage_may = usage & may_mask; in mbedtls_x509_crt_check_key_usage()1563 if( ( ( crt->key_usage & may_mask ) | usage_may ) != usage_may ) in mbedtls_x509_crt_check_key_usage()