Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/aspeed/
A Dhace_ast2600.c305 struct ast2600_hace_ctx *src_hctx = NULL; in ast2600_hace_copy_state() local
308 src_hctx = container_of(src_ctx, struct ast2600_hace_ctx, hash_ctx); in ast2600_hace_copy_state()
311 dst_hctx->hash_ctx = src_hctx->hash_ctx; in ast2600_hace_copy_state()
312 dst_hctx->cmd = src_hctx->cmd; in ast2600_hace_copy_state()
313 dst_hctx->dgt_size = src_hctx->dgt_size; in ast2600_hace_copy_state()
314 dst_hctx->blk_size = src_hctx->blk_size; in ast2600_hace_copy_state()
315 dst_hctx->pad_size = src_hctx->pad_size; in ast2600_hace_copy_state()
316 dst_hctx->total[0] = src_hctx->total[0]; in ast2600_hace_copy_state()
317 dst_hctx->total[1] = src_hctx->total[1]; in ast2600_hace_copy_state()
320 memcpy(dst_hctx->buf, src_hctx->buf, HASH_BLK_BUFSZ); in ast2600_hace_copy_state()
[all …]

Completed in 4 milliseconds