Searched refs:alloc_ctx (Results 1 – 9 of 9) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | cipher.c | 91 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 D | authenc.c | 326 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-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_cipher.h | 49 TEE_Result (*alloc_ctx)(void **ctx, uint32_t algo); member
|
A D | drvcrypt_authenc.h | 70 TEE_Result (*alloc_ctx)(void **ctx, uint32_t algo); member
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/cipher/ |
A D | cipher.c | 186 if (cipher->op && cipher->op->alloc_ctx) in drvcrypt_cipher_alloc_ctx() 187 ret = cipher->op->alloc_ctx(&cipher->ctx, algo); in drvcrypt_cipher_alloc_ctx()
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | cipher.c | 71 .alloc_ctx = do_allocate,
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/authenc/ |
A D | authenc.c | 320 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-3.20.0/core/drivers/crypto/versal/ |
A D | authenc.c | 839 .alloc_ctx = do_allocate,
|
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/ |
A D | caam_cipher.c | 880 .alloc_ctx = do_allocate,
|
Completed in 11 milliseconds