Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/crypto_api/include/
H A Ddrvcrypt_cipher.h49 TEE_Result (*alloc_ctx)(void **ctx, uint32_t algo); member
H A Ddrvcrypt_authenc.h70 TEE_Result (*alloc_ctx)(void **ctx, uint32_t algo); member
/optee_os/core/drivers/crypto/stm32/
H A Dauthenc.c322 static TEE_Result alloc_ctx(void **ctx, enum stm32_cryp_algo_mode algo) in alloc_ctx() function
346 return alloc_ctx(ctx, STM32_CRYP_MODE_AES_CCM); in stm32_ae_allocate()
348 return alloc_ctx(ctx, STM32_CRYP_MODE_AES_GCM); in stm32_ae_allocate()
358 .alloc_ctx = stm32_ae_allocate,
H A Dcipher.c346 .alloc_ctx = stm32_cryp_cipher_allocate,
355 .alloc_ctx = stm32_saes_cipher_allocate,
/optee_os/core/drivers/crypto/crypto_api/cipher/
H A Dcipher.c185 if (cipher->op && cipher->op->alloc_ctx) in drvcrypt_cipher_alloc_ctx()
186 ret = cipher->op->alloc_ctx(&cipher->ctx, algo); in drvcrypt_cipher_alloc_ctx()
/optee_os/core/drivers/crypto/se050/core/
H A Dcipher.c71 .alloc_ctx = do_allocate,
/optee_os/core/drivers/crypto/crypto_api/authenc/
H 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/hisilicon/
H A Dsec_cipher.c756 .alloc_ctx = sec_cipher_ctx_allocate,
H A Dsec_authenc.c788 .alloc_ctx = sec_authenc_ctx_allocate,
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher.c839 .alloc_ctx = do_allocate,
/optee_os/core/drivers/crypto/versal/
H A Dauthenc.c839 .alloc_ctx = do_allocate,
/optee_os/core/drivers/crypto/caam/ae/
H A Dcaam_ae.c367 .alloc_ctx = &caam_ae_allocate,