Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/cipher/
A Dcaam_cipher_xts.c82 struct caambuf tmpsrc = { }; in caam_cipher_update_xts() local
192 retstatus = caam_alloc_align_buf(&tmpsrc, ctx->alg->size_block); in caam_cipher_update_xts()
203 memcpy(tmpsrc.data, enc_tweak.orig.data, in caam_cipher_update_xts()
205 do_galois_mult(&tmpsrc); in caam_cipher_update_xts()
207 ret = do_tweak_block(ctx, &tmpsrc, &srcbuf, in caam_cipher_update_xts()
221 tmpsrc.data[idx] = in caam_cipher_update_xts()
228 tmpsrc.data[idx] = tmpdst.orig.data[idx]; in caam_cipher_update_xts()
230 ret = do_tweak_block(ctx, &enc_tweak.orig, &tmpsrc, &dstbuf, in caam_cipher_update_xts()
237 CIPHER_DUMPBUF("Source", tmpsrc.data, tmpsrc.length); in caam_cipher_update_xts()
254 caam_free_buf(&tmpsrc); in caam_cipher_update_xts()

Completed in 4 milliseconds