From: Rik Snel Date: Sat, 25 Nov 2006 22:43:10 +0000 (+1100) Subject: [CRYPTO] lrw: Liskov Rivest Wagner, a tweakable narrow block cipher mode X-Git-Tag: v2.6.20-rc1~145^2^2~7^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64470f1b8510699dc357a44004dc924bc139c917;p=pandora-kernel.git [CRYPTO] lrw: Liskov Rivest Wagner, a tweakable narrow block cipher mode Main module, this implements the Liskov Rivest Wagner block cipher mode in the new blockcipher API. The implementation is based on ecb.c. The LRW-32-AES specification I used can be found at: http://grouper.ieee.org/groups/1619/email/pdf00017.pdf It implements the optimization specified as optional in the specification, and in addition it uses optimized multiplication routines from gf128mul.c. Since gf128mul.[ch] is not tested on bigendian, this cipher mode may currently fail badly on bigendian machines. Signed-off-by: Rik Snel Signed-off-by: Herbert Xu --- Reading git-diff-tree failed