Home
last modified time | relevance | path

Searched refs:may_mask (Results 1 – 1 of 1) sorted by relevance

/third_party/mbedtls/library/
Dx509_crt.c1794 unsigned int may_mask = MBEDTLS_X509_KU_ENCIPHER_ONLY in mbedtls_x509_crt_check_key_usage() local
1801 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()