Searched refs:aUsage (Results 1 – 1 of 1) sorted by relevance
70 static psa_key_usage_t toPsaKeyUsage(int aUsage) in toPsaKeyUsage() argument74 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() argument104 return (aUsage & ~supported_flags) == 0; in checkKeyUsage()