Re: Fwd: Incompatible LRW changes from 2.6.27 to 2.6.29?

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

 



On 10/11/2009 10:05 PM, Massimo Burcheri wrote:
> On Fr Oktober 9 2009 at 22:07, Moji wrote:
> 
>> I am running Gentoo 2.6.30-r4 and I don't seem to be able to
>> reproduce the problem, maybe I am not understanding it correctly.
>>
>> Here is what I tried.
> ...
> 
> Hi, thanks for your efforts. This also works for me on 2.6.30, but did 
> you try to create the LUKS Device on 2.6.27 and then switching to 
> 2.6.30 to open it? That's what is failing here.
> Even creating on 2.6.30 and opening on 2.6.27 doesn't work.
> 
> Then the platform here is PPC.

Short searching in git log show this patch

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8eb2dfac41c71701bb741f496f0cb7b7e4a3c3f6
"It turns out that LRW has never worked properly on big endian."
and maybe also
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=fd4609a8e00a867303783ade62d67953fb72adc8

So I think since 2.6.29-rc6 it "work properly" and in previous kernel all ciphers
in LRW mode on big-endian arch produce wrong output.

Can you try to apply this simple patch(es) to old kernel and then check if it works in new one?

Milan
--
mbroz@xxxxxxxxxx
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux