summaryrefslogtreecommitdiffstats
path: root/crypto/cast5.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2011-07-08 11:21:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-07-08 11:21:21 +0200
commit625426633d7786f26a33123a9d12bec476bcc3cd (patch)
tree9c773150e6cb1a7cf2e807431a679a80fc6dc69d /crypto/cast5.c
parentcrypto: s390 - support hardware accelerated SHA-224 (diff)
downloadlinux-625426633d7786f26a33123a9d12bec476bcc3cd.tar.xz
linux-625426633d7786f26a33123a9d12bec476bcc3cd.zip
crypto: gf128mul - fix call to memset()
In gf128mul_lle() and gf128mul_bbe() r isn't completely initialized with zero because the size argument passed to memset() is the size of the pointer, not the structure it points to. Luckily there are no in-kernel users of those functions so the ABI change implied by this fix should break no existing code. Based on a patch by the PaX Team. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: PaX Team <pageexec@freemail.hu> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cast5.c')
0 files changed, 0 insertions, 0 deletions