Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
A Dcipher.c91 static TEE_Result alloc_ctx(void **ctx, enum stm32_cryp_algo_mode algo) in alloc_ctx() function
117 return alloc_ctx(ctx, STM32_CRYP_MODE_DES_ECB); in stm32_cipher_allocate()
119 return alloc_ctx(ctx, STM32_CRYP_MODE_DES_CBC); in stm32_cipher_allocate()
121 return alloc_ctx(ctx, STM32_CRYP_MODE_TDES_ECB); in stm32_cipher_allocate()
123 return alloc_ctx(ctx, STM32_CRYP_MODE_TDES_CBC); in stm32_cipher_allocate()
125 return alloc_ctx(ctx, STM32_CRYP_MODE_AES_ECB); in stm32_cipher_allocate()
127 return alloc_ctx(ctx, STM32_CRYP_MODE_AES_CBC); in stm32_cipher_allocate()
129 return alloc_ctx(ctx, STM32_CRYP_MODE_AES_CTR); in stm32_cipher_allocate()
136 .alloc_ctx = &stm32_cipher_allocate,
A Dauthenc.c326 static TEE_Result alloc_ctx(void **ctx, enum stm32_cryp_algo_mode algo) in alloc_ctx() function
350 return alloc_ctx(ctx, STM32_CRYP_MODE_AES_CCM); in stm32_ae_allocate()
352 return alloc_ctx(ctx, STM32_CRYP_MODE_AES_GCM); in stm32_ae_allocate()
362 .alloc_ctx = &stm32_ae_allocate,
/optee_os/core/drivers/crypto/crypto_api/cipher/
A Dcipher.c187 if (cipher->op && cipher->op->alloc_ctx) in drvcrypt_cipher_alloc_ctx()
188 ret = cipher->op->alloc_ctx(&cipher->ctx, algo); in drvcrypt_cipher_alloc_ctx()
/optee_os/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_cipher.h49 TEE_Result (*alloc_ctx)(void **ctx, uint32_t algo); member
A Ddrvcrypt_authenc.h70 TEE_Result (*alloc_ctx)(void **ctx, uint32_t algo); member
/optee_os/core/drivers/crypto/se050/core/
A Dcipher.c71 .alloc_ctx = do_allocate,
/optee_os/core/drivers/crypto/crypto_api/authenc/
A Dauthenc.c320 if (authenc->op && authenc->op->alloc_ctx) in drvcrypt_authenc_alloc_ctx()
321 ret = authenc->op->alloc_ctx(&authenc->ctx, algo); in drvcrypt_authenc_alloc_ctx()
/optee_os/core/drivers/crypto/caam/cipher/
A Dcaam_cipher.c880 .alloc_ctx = do_allocate,

Completed in 9 milliseconds