Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dcipher.c32 struct crypto_cipher_ctx *fallback_ctx; member
116 struct crypto_cipher_ctx *ctx = ip_ctx->saes.fallback_ctx; in saes_init()
154 struct crypto_cipher_ctx *ctx = ip_ctx->saes.fallback_ctx; in saes_update()
166 struct crypto_cipher_ctx *ctx = ip_ctx->saes.fallback_ctx; in saes_final()
177 struct crypto_cipher_ctx *fb_ctx = src_ctx->fallback_ctx; in saes_copy_state()
186 fb_ctx->ops->copy_state(dst_ip_ctx->saes.fallback_ctx, fb_ctx); in saes_copy_state()
289 struct crypto_cipher_ctx *fallback_ctx = NULL; in stm32_saes_cipher_allocate() local
297 res = crypto_aes_ecb_alloc_ctx(&fallback_ctx); in stm32_saes_cipher_allocate()
302 res = crypto_aes_cbc_alloc_ctx(&fallback_ctx); in stm32_saes_cipher_allocate()
307 res = crypto_aes_ctr_alloc_ctx(&fallback_ctx); in stm32_saes_cipher_allocate()
[all …]