Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=686106ff5ed2cbcd3fc12a22e53c880cf0943eff
Commit:     686106ff5ed2cbcd3fc12a22e53c880cf0943eff
Parent:     e45116b8d71ece9dbe41b114368ff7aebe3ae41a
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 8 13:59:52 2006 +1100
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Dec 11 14:34:33 2006 -0800

    [CRYPTO] sha512: Fix sha384 block size
    
    The SHA384 block size should be 128 bytes, not 96 bytes.  This was
    spotted by Andrew Donofrio.
    
    Fortunately the block size isn't actually used anywhere so this typo
    has had no real impact.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
---
 crypto/sha512.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/crypto/sha512.c b/crypto/sha512.c
index 2dfe7f1..15eab9d 100644
--- a/crypto/sha512.c
+++ b/crypto/sha512.c
@@ -24,7 +24,7 @@
 
 #define SHA384_DIGEST_SIZE 48
 #define SHA512_DIGEST_SIZE 64
-#define SHA384_HMAC_BLOCK_SIZE  96
+#define SHA384_HMAC_BLOCK_SIZE 128
 #define SHA512_HMAC_BLOCK_SIZE 128
 
 struct sha512_ctx {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to