summaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-09-24 00:40:41 +1000
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-23 11:34:43 -0700
commit9d7fa2b348d02d6ccd5ef662da8c9b58a6456e34 (patch)
treee64abc58cb2430c488139283767f0b5e3e973608 /crypto/api.c
parent3f295d387356ed528537012b52e0d9cf1bdbde3a (diff)
downloadlinux-crypto-9d7fa2b348d02d6ccd5ef662da8c9b58a6456e34.tar.gz
linux-crypto-9d7fa2b348d02d6ccd5ef662da8c9b58a6456e34.zip
[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>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions