]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] sha512: Fix sha384 block size
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 10 Dec 2006 00:32:06 +0000 (11:32 +1100)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:17 +0000 (11:05 -0800)
commit80355a9d6632081192381bdcc6903d96627f1c1a
tree70244fac11a39970b41bd5d6de09981087ddcb74
parent43cb0cab8631c2099561dae2cf6ed47c9bd37471
[PATCH] sha512: Fix sha384 block size

The SHA384 block size should be 128 bytes, not 96 bytes.  This was
spotted by Andrew Donofrio.

This breaks HMAC which uses the block size during setup and the final
calculation.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
crypto/sha512.c