diff options
author | Eric Biggers <ebiggers@google.com> | 2017-06-08 14:48:32 +0100 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-06-09 13:29:47 +1000 |
commit | 0f534e4a13496b02ae284f50fcb0263f6ea37007 (patch) | |
tree | a5200ddfa62a42340dd2ee2e918fb5b001240382 /mm | |
parent | 64d107d3acca1565c39c044c459fd18f70943534 (diff) | |
download | linux-0f534e4a13496b02ae284f50fcb0263f6ea37007.tar.gz linux-0f534e4a13496b02ae284f50fcb0263f6ea37007.tar.bz2 linux-0f534e4a13496b02ae284f50fcb0263f6ea37007.zip |
KEYS: encrypted: use constant-time HMAC comparison
MACs should, in general, be compared using crypto_memneq() to prevent
timing attacks.
Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions