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-17 Thread Richard Zidlicky
Hi, > The format-magic is not mentioned in Jari's description, but > is indeed used by Loop-AES. > > Compare loop-AES-v3.2h/glue.c:402: > > /* 4024 bits == 31 * 128 bit plaintext blocks + 56 bits of sector number */ > /* For version 3 on-disk format this really should be 4536 bits, but can't

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

2010-01-11 Thread Richard Zidlicky
On Mon, Jan 04, 2010 at 04:25:42PM +0100, Max Vozeler wrote: > + > +These modes have two main characteristics compared to regular CBC > +with sector IV. The first is implemented in dm-crypt, the second > +is implemented in the lmk2 and lmk3 blkciphers. the formulation is not very clear. Possibly

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

2009-12-29 Thread Richard Zidlicky
Hi, many thanks for the clarifications. Fedora has a very nice and unobstrusive crypto setup but finding out the technical details involves looking into quite a few places. The http://code.google.com/p/cryptsetup/ pages seems to have plenty of information for a start. > (If you think about c

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

2009-12-29 Thread Richard Zidlicky
On Mon, Dec 28, 2009 at 08:37:43PM +0100, Milan Broz wrote: Hi, > > But please can you add more explanation into documentation about this mode? > Is there any paper which analyses that mode - if so can you add link > to description? > (and yes, I know loop-AES documentation:-) I have some archi

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

2009-12-28 Thread Richard Zidlicky
On Mon, Dec 28, 2009 at 07:59:15PM +0100, Max Vozeler wrote: > + help > + LMK block cipher modes (lmk2/lmk3). > + > + These modes are compatible with Loop-AES. Use them with a > + dm-crypt cipher string aes-lmk2-plain64-multi:64 (for Loop-AES > + v2.x) or aes-lmk2-plai