On Tue, 6 May 2008, Herbert Xu wrote: > Mikulas Patocka <mpatocka at redhat.com> wrote: >> >> BTW: is it guaranteed for crypto functions that they read the source data >> only once? > > There is no such guarantee. > > Cheers, So we'll have to copy the sector to temporary space before encrypting it. I'll look at it. Mikulas