diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-04 20:04:21 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:30 +1100 |
commit | 481f34ae752ac74c4cbd88a9954dd4ed10e84f81 (patch) | |
tree | 1c158f9600b189220fb5943b6263750367d10265 /security/inode.c | |
parent | e236d4a89a2ffbc8aa18064161f4f159c4d89b4a (diff) | |
download | op-kernel-dev-481f34ae752ac74c4cbd88a9954dd4ed10e84f81.zip op-kernel-dev-481f34ae752ac74c4cbd88a9954dd4ed10e84f81.tar.gz |
[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 'security/inode.c')
0 files changed, 0 insertions, 0 deletions