]> err.no Git - linux-2.6/commit
[CRYPTO] tcrypt: LRW test vectors
authorRik Snel <rsnel@cube.dyndns.org>
Wed, 29 Nov 2006 08:01:41 +0000 (19:01 +1100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Dec 2006 02:38:58 +0000 (18:38 -0800)
commitf3d1044cd0a9b427a25b2492f4d503d2dd54cfd7
treef0dc06f9af35c01fa22c3f88dae4806caa522f10
parent64470f1b8510699dc357a44004dc924bc139c917
[CRYPTO] tcrypt: LRW test vectors

Do modprobe tcrypt mode=10 to check the included test vectors, they are
from: http://grouper.ieee.org/groups/1619/email/pdf00017.pdf and from
http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html.

To make the last test vector fit, I had to increase the buffer size of
input and result to 512 bytes.

Signed-off-by: Rik Snel <rsnel@cube.dyndns.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c
crypto/tcrypt.h