Searched refs:main_hash (Results 1 – 5 of 5) sorted by relevance
125 static inline uint32_t __tee_alg_hash_algo(uint32_t main_hash) in __tee_alg_hash_algo() argument127 if (main_hash == __TEE_MAIN_HASH_SM3) in __tee_alg_hash_algo()130 return (TEE_OPERATION_DIGEST << 28) | main_hash; in __tee_alg_hash_algo()134 #define TEE_ALG_HASH_ALGO(main_hash) __tee_alg_hash_algo(main_hash) argument145 #define TEE_ALG_HMAC_ALGO(main_hash) \ argument146 (TEE_OPERATION_MAC << 28 | (main_hash))
Completed in 8 milliseconds