All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] crypto: loop-AES support
@ 2009-12-28 18:59 Max Vozeler
  2009-12-28 18:59 ` [PATCH 1/4] dm-crypt: clarify cipher vs. cipher mode Max Vozeler
                   ` (3 more replies)
  0 siblings, 4 replies; 26+ messages in thread
From: Max Vozeler @ 2009-12-28 18:59 UTC (permalink / raw)
  To: linux-crypto; +Cc: linux-crypto

This set adds an implementation of the Loop-AES block
encryption modes for dm-crypt.

It consists of two main parts:

 (1) blkcipher implementation of the Loop-AES block 
     chaining modes (lmk2, lmk3)

 (2) Support for alternating keys in dm-crypt.

The patches are based on cryptodev-2.6.

Together they can be used to access encrypted images
created with loop-AES.

Loop-AES v2.x multi-key-v2 mode corresponds to the
dm-crypt cipher spec "aes-lmk2-plain64-multi:64", v2.x
corresponds to "aes-lmk3-plain64-multi:64".

Tested on mips32 and x86_64. 

To actually use this with Loop-AES encrypted images
you will need a key derivator which converts Loop-AES
format keyfiles into a hexstring for dm-crypt.

I'm putting some rough code for testing up on 
http://hinterhof.net/~max/keyderive-0.1.tar.gz

Please note that this is not intended to be used with
any valuable keys yet. I'll work on a robust derivator
once the kernel side is done.

Looking forward to comments and review,

	Max

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2010-02-01 10:44 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28 18:59 [RFC PATCH] crypto: loop-AES support Max Vozeler
2009-12-28 18:59 ` [PATCH 1/4] dm-crypt: clarify cipher vs. cipher mode Max Vozeler
2009-12-28 19:37   ` Milan Broz
2009-12-29  1:46     ` Max Vozeler
2010-01-04 15:25       ` Max Vozeler
2010-01-11 21:28         ` Richard Zidlicky
2010-01-13 17:27           ` Max Vozeler
2010-01-17 22:02             ` Richard Zidlicky
2010-01-18 17:08               ` Max Vozeler
2010-01-18 19:51                 ` Richard Zidlicky
2009-12-29  9:21     ` Richard Zidlicky
2009-12-29 11:38       ` Milan Broz
2009-12-29 17:37         ` Richard Zidlicky
2009-12-28 18:59 ` [PATCH 2/4] dm-crypt: multi tfm mode Max Vozeler
2009-12-28 18:59 ` [PATCH 3/4] crypto: md5 - Add export support Max Vozeler
2010-01-13  9:52   ` Herbert Xu
2010-01-13 17:37     ` Max Vozeler
2010-01-17 10:55       ` Herbert Xu
2009-12-28 18:59 ` [PATCH 4/4] crypto: lmk2/lmk3 cipher block modes Max Vozeler
2009-12-29  1:18   ` Richard Zidlicky
2009-12-29  1:56     ` Max Vozeler
2010-01-17 11:03   ` Herbert Xu
2010-01-18 16:52     ` Max Vozeler
2010-01-19  8:00       ` Herbert Xu
2010-02-01 10:32         ` Max Vozeler
2010-02-01 10:44           ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.