Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dcipher.c95 static void cryp_copy_state(union ip_ctx *dst_ip_ctx, union ip_ctx *src_ip_ctx) in cryp_copy_state() argument
97 memcpy(&dst_ip_ctx->cryp, &src_ip_ctx->cryp, sizeof(dst_ip_ctx->cryp)); in cryp_copy_state()
174 static void saes_copy_state(union ip_ctx *dst_ip_ctx, union ip_ctx *src_ip_ctx) in saes_copy_state() argument
179 memcpy(&dst_ip_ctx->saes.ctx, &src_ctx->ctx, sizeof(src_ctx->ctx)); in saes_copy_state()
181 dst_ip_ctx->saes.algo = src_ctx->algo; in saes_copy_state()
182 dst_ip_ctx->saes.use_fallback = src_ctx->use_fallback; in saes_copy_state()
186 fb_ctx->ops->copy_state(dst_ip_ctx->saes.fallback_ctx, fb_ctx); in saes_copy_state()