Home
last modified time | relevance | path

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

/linux/drivers/crypto/qce/
H A Dsha.c168 const struct qce_sha_saved_state *import_state = in; in qce_ahash_import() local
171 rctx->count = import_state->count; in qce_ahash_import()
172 rctx->buflen = import_state->pending_buflen; in qce_ahash_import()
173 rctx->first_blk = import_state->first_blk; in qce_ahash_import()
174 rctx->flags = import_state->flags; in qce_ahash_import()
175 rctx->byte_count[0] = import_state->byte_count[0]; in qce_ahash_import()
176 rctx->byte_count[1] = import_state->byte_count[1]; in qce_ahash_import()
177 memcpy(rctx->buf, import_state->pending_buf, rctx->buflen); in qce_ahash_import()
178 memcpy(rctx->digest, import_state->partial_digest, sizeof(rctx->digest)); in qce_ahash_import()