From: Herbert Xu Date: Sat, 23 Sep 2006 14:40:41 +0000 (+1000) Subject: [CRYPTO] hmac: Fix hmac_init update call X-Git-Tag: v2.6.19-rc1~1279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f77043f0f7851aa6139fb9a8b297497b540b397;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed