Searched refs:enc_tweak (Results 1 – 1 of 1) sorted by relevance
/optee_os/core/drivers/crypto/caam/cipher/ |
A D | caam_cipher_xts.c | 46 struct caambuf *enc_tweak, in do_tweak_block() argument 58 tmp->orig.data[idx] = srcbuf->data[idx] ^ enc_tweak->data[idx]; in do_tweak_block() 72 do_galois_mult(enc_tweak); in do_tweak_block() 85 struct caamdmaobj enc_tweak = { }; in caam_cipher_update_xts() local 125 &enc_tweak); in caam_cipher_update_xts() 132 caam_dmaobj_copy_to_orig(&enc_tweak); in caam_cipher_update_xts() 167 ret = do_tweak_block(ctx, &enc_tweak.orig, &srcbuf, &dstbuf, in caam_cipher_update_xts() 203 memcpy(tmpsrc.data, enc_tweak.orig.data, in caam_cipher_update_xts() 204 enc_tweak.orig.length); in caam_cipher_update_xts() 210 ret = do_tweak_block(ctx, &enc_tweak.orig, &srcbuf, in caam_cipher_update_xts() [all …]
|
Completed in 3 milliseconds