]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] lrw: Liskov Rivest Wagner, a tweakable narrow block cipher mode
authorRik Snel <rsnel@cube.dyndns.org>
Sat, 25 Nov 2006 22:43:10 +0000 (09:43 +1100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Dec 2006 02:38:56 +0000 (18:38 -0800)
commit64470f1b8510699dc357a44004dc924bc139c917
tree188d414266091c2220bae155651b2aacc2c6b9aa
parentc494e0705d670c51ac736c8c4d92750705fe3187
[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 <rsnel@cube.dyndns.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/lrw.c [new file with mode: 0644]