Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dcipher.c27 struct saes_ctx { struct
42 struct saes_ctx saes; argument
176 struct saes_ctx *src_ctx = &src_ip_ctx->saes; in saes_copy_state()
290 struct stm32_cipher_ctx *saes_ctx = NULL; in stm32_saes_cipher_allocate() local
315 saes_ctx = calloc(1, sizeof(*saes_ctx)); in stm32_saes_cipher_allocate()
316 if (!saes_ctx) { in stm32_saes_cipher_allocate()
324 saes_ctx->ip_ctx.saes.algo = saes_algo; in stm32_saes_cipher_allocate()
325 saes_ctx->ops = &saes_ops; in stm32_saes_cipher_allocate()
326 saes_ctx->ip_ctx.saes.fallback_ctx = fallback_ctx; in stm32_saes_cipher_allocate()
327 *ctx = &saes_ctx->c_ctx; in stm32_saes_cipher_allocate()