commit | 5f77043f0f7851aa6139fb9a8b297497b540b397 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sun Sep 24 00:40:41 2006 +1000 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Sep 23 11:34:43 2006 -0700 |
tree | 2c9ee5c2c6219cce5fdd30ba41d35eaab6763595 | |
parent | 4c8bd7eeee4c8f157fb61fb64b57500990b42e0e [diff] |
[CRYPTO] hmac: Fix hmac_init update call The crypto_hash_update call in hmac_init gave the number 1 instead of the length of the sg list in bytes. This is a missed conversion from the digest => hash change. As tcrypt only tests crypto_hash_digest it didn't catch this. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org>