Re: [PATCH v3 0/7] Fix bio splitting by the crypto fallback code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 15, 2025 at 03:35:19PM -0700, Bart Van Assche wrote:
> On 7/15/25 2:44 PM, Eric Biggers wrote:
> > But if the actual encryption is done using code
> > whose developers / maintainers don't really consider encryption to be a
> > priority, that's not a great place to be.
> 
> Why does the crypto fallback code clone a bio instead of encrypting /
> decrypting in place?

Decryption is already in-place.  Encryption is not, and unfortunately it
can't be since the source data must not be changed.  If you encrypt
in-place, then the data would get corrupted every time it's written.

- Eric




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux