]> err.no Git - linux-2.6/commit
[CRYPTO] tcrypt: Added test vectors for sha384/sha512
authorAndrew Donofrio <linuxbugzilla@kriptik.org>
Sun, 10 Dec 2006 01:10:20 +0000 (12:10 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 6 Feb 2007 22:20:58 +0000 (09:20 +1100)
commita28091ae170cd06695bf461905c5b97a165633ba
tree803dc9a817188d82c33c14b338da6a531ba30299
parentfb469840b8c34b2f95b40a64b271f245cc1075b7
[CRYPTO] tcrypt: Added test vectors for sha384/sha512

This patch adds tests for SHA384 HMAC and SHA512 HMAC to the tcrypt module. Test data was taken from
RFC4231. This patch is a follow-up to the discovery (bug 7646) that the kernel SHA384 HMAC
implementation was not generating proper SHA384 HMACs.

Signed-off-by: Andrew Donofrio <linuxbugzilla@kriptik.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c
crypto/tcrypt.h