Re: [PATCH 1/4] dm-crypt: clarify cipher vs. cipher mode

2010-01-18 Thread Richard Zidlicky
Hi, > > ivseed = key_table[64] is nowhere declared. > > This is an implementation detail of Loop-AES, so I don't consider it > belonging to the description of the modes here. difficult to draw the line, but as it is something supplied as "external parameter" to the dm-crypt layer I think it

Re: [PATCH 1/4] dm-crypt: clarify cipher vs. cipher mode

2010-01-18 Thread Max Vozeler
Hello Richard, On Sun, Jan 17, 2010 at 11:02:34PM +0100, Richard Zidlicky wrote: > > diff --git a/Documentation/crypto/lmk.txt b/Documentation/crypto/lmk.txt > > new file mode 100644 > > index 000..91ca7f7 > > --- /dev/null > > +++ b/Documentation/crypto/lmk.txt > > @@ -0,0 +1,102 @@ > > +Loop

Re: [PATCH 4/4] crypto: lmk2/lmk3 cipher block modes

2010-01-18 Thread Max Vozeler
Hello Herbert, On Sun, Jan 17, 2010 at 10:03:25PM +1100, Herbert Xu wrote: > On Mon, Dec 28, 2009 at 06:59:15PM +, Max Vozeler wrote: > > Both modes operate on full 512 byte sectors. They use CBC > > with an IV derived from the sector number, the data and (for > > lmk3 only) an extra 128-bit I