Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dhash.c135 enum stm32_hash_algo stm32_algo = STM32_HASH_SHA256; in stm32_hash_allocate() local
140 stm32_algo = STM32_HASH_MD5; in stm32_hash_allocate()
143 stm32_algo = STM32_HASH_SHA1; in stm32_hash_allocate()
146 stm32_algo = STM32_HASH_SHA224; in stm32_hash_allocate()
149 stm32_algo = STM32_HASH_SHA256; in stm32_hash_allocate()
152 stm32_algo = STM32_HASH_SHA384; in stm32_hash_allocate()
155 stm32_algo = STM32_HASH_SHA512; in stm32_hash_allocate()
165 res = stm32_hash_alloc(&c->hash, STM32_HASH_MODE, stm32_algo); in stm32_hash_allocate()
171 FMSG("Using HASH %"PRIu32, stm32_algo); in stm32_hash_allocate()
H A Dhmac.c175 enum stm32_hash_algo stm32_algo = STM32_HASH_MD5; in stm32_hmac_allocate() local
180 stm32_algo = STM32_HASH_MD5; in stm32_hmac_allocate()
183 stm32_algo = STM32_HASH_SHA1; in stm32_hmac_allocate()
186 stm32_algo = STM32_HASH_SHA224; in stm32_hmac_allocate()
189 stm32_algo = STM32_HASH_SHA256; in stm32_hmac_allocate()
192 stm32_algo = STM32_HASH_SHA384; in stm32_hmac_allocate()
195 stm32_algo = STM32_HASH_SHA512; in stm32_hmac_allocate()
205 res = stm32_hash_alloc(&c->hash, STM32_HMAC_MODE, stm32_algo); in stm32_hmac_allocate()
211 FMSG("Using HMAC %d", stm32_algo); in stm32_hmac_allocate()