diff options
author | David Gstir <[email protected]> | 2015-11-15 17:14:42 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2015-11-16 21:39:24 +0800 |
commit | 79960943fdc114fd4583c9ab164b5c89da7aa601 (patch) | |
tree | eee34426e869bbc88d47c233f490808dc38ffa02 /lib/memory-notifier-error-inject.c | |
parent | cb8affb55c7e64816f3effcd9b2fc3268c016fac (diff) |
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: [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