Searched refs:main_hash (Results 1 – 1 of 1) sorted by relevance
133 static inline uint32_t __tee_alg_hash_algo(uint32_t main_hash) in __tee_alg_hash_algo() argument135 if (main_hash == __TEE_MAIN_HASH_SM3) in __tee_alg_hash_algo()138 return (TEE_OPERATION_DIGEST << 28) | main_hash; in __tee_alg_hash_algo()142 #define TEE_ALG_HASH_ALGO(main_hash) __tee_alg_hash_algo(main_hash) argument153 #define TEE_ALG_HMAC_ALGO(main_hash) \ argument154 (TEE_OPERATION_MAC << 28 | (main_hash))
Completed in 2 milliseconds