summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-sha-regs.h
diff options
context:
space:
mode:
authorDavid Gstir <david@sigma-star.at>2015-11-15 17:14:42 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-11-16 14:39:24 +0100
commit79960943fdc114fd4583c9ab164b5c89da7aa601 (patch)
treeeee34426e869bbc88d47c233f490808dc38ffa02 /drivers/crypto/atmel-sha-regs.h
parentcrypto: nx - Fix timing leak in GCM and CCM decryption (diff)
downloadlinux-79960943fdc114fd4583c9ab164b5c89da7aa601.tar.xz
linux-79960943fdc114fd4583c9ab164b5c89da7aa601.zip
crypto: talitos - Fix timing leak in ESP ICV verification
Using non-constant time memcmp() makes the verification of the authentication tag in the decrypt path vulnerable to timing attacks. Fix this by using crypto_memneq() instead. Cc: stable@vger.kernel.org Signed-off-by: David Gstir <david@sigma-star.at> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-sha-regs.h')
0 files changed, 0 insertions, 0 deletions