Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dcipher.c239 static TEE_Result alloc_cryp_ctx(void **ctx, enum stm32_cryp_algo_mode algo) in alloc_cryp_ctx() function
261 return alloc_cryp_ctx(ctx, STM32_CRYP_MODE_DES_ECB); in stm32_cryp_cipher_allocate()
263 return alloc_cryp_ctx(ctx, STM32_CRYP_MODE_DES_CBC); in stm32_cryp_cipher_allocate()
265 return alloc_cryp_ctx(ctx, STM32_CRYP_MODE_TDES_ECB); in stm32_cryp_cipher_allocate()
267 return alloc_cryp_ctx(ctx, STM32_CRYP_MODE_TDES_CBC); in stm32_cryp_cipher_allocate()
269 return alloc_cryp_ctx(ctx, STM32_CRYP_MODE_AES_ECB); in stm32_cryp_cipher_allocate()
271 return alloc_cryp_ctx(ctx, STM32_CRYP_MODE_AES_CBC); in stm32_cryp_cipher_allocate()
273 return alloc_cryp_ctx(ctx, STM32_CRYP_MODE_AES_CTR); in stm32_cryp_cipher_allocate()