]> git.ipfire.org Git - people/arne_f/kernel.git/commit
[CRYPTO] sha512: Fix sha384 block size
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Dec 2006 20:27:09 +0000 (21:27 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 14 Dec 2006 20:27:09 +0000 (21:27 +0100)
commit5f486864691e8875f32bd4b368eb654bbee9a697
treeb4dd040f44d775fb7bd627db8b6aa0269b714423
parentf56983ef991e770274d482e3a78afc95395fea36
[CRYPTO] 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: Adrian Bunk <bunk@stusta.de>
crypto/sha512.c