summaryrefslogtreecommitdiff
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-04 20:04:21 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:30 +1100
commit7e676d8b0348623cec6ea62e8d5edd1af2abd8b0 (patch)
tree9d9c68d161ba00eaf2611cf7263645bf35c929de /crypto/cipher.c
parente54956d332fd129de3584fea08112642b1e269a7 (diff)
downloadlinux-crypto-7e676d8b0348623cec6ea62e8d5edd1af2abd8b0.tar.gz
linux-crypto-7e676d8b0348623cec6ea62e8d5edd1af2abd8b0.zip
[CRYPTO] authenc: Fix hash verification
The previous code incorrectly included the hash in the verification which also meant that we'd crash and burn when it comes to actually verifying the hash since we'd go past the end of the SG list. This patch fixes that by subtracting authsize from cryptlen at the start. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions