Home
last modified time | relevance | path

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

/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c70 static psa_key_usage_t toPsaKeyUsage(int aUsage) in toPsaKeyUsage() argument
74 if (aUsage & OT_CRYPTO_KEY_USAGE_EXPORT) { in toPsaKeyUsage()
78 if (aUsage & OT_CRYPTO_KEY_USAGE_ENCRYPT) { in toPsaKeyUsage()
82 if (aUsage & OT_CRYPTO_KEY_USAGE_DECRYPT) { in toPsaKeyUsage()
86 if (aUsage & OT_CRYPTO_KEY_USAGE_SIGN_HASH) { in toPsaKeyUsage()
90 if (aUsage & OT_CRYPTO_KEY_USAGE_VERIFY_HASH) { in toPsaKeyUsage()
97 static bool checkKeyUsage(int aUsage) in checkKeyUsage() argument
104 return (aUsage & ~supported_flags) == 0; in checkKeyUsage()