aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDavid Gstir <[email protected]>2015-11-15 17:14:41 +0100
committerHerbert Xu <[email protected]>2015-11-16 21:39:23 +0800
commitcb8affb55c7e64816f3effcd9b2fc3268c016fac (patch)
treea4db924f12ad7421f71ca0ca10a374b4eb814267 /lib/memory-notifier-error-inject.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
crypto: nx - Fix timing leak in GCM and CCM decryption
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: [email protected] Signed-off-by: David Gstir <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions