commit | 0f534e4a13496b02ae284f50fcb0263f6ea37007 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Thu Jun 08 14:48:32 2017 +0100 |
committer | James Morris <james.l.morris@oracle.com> | Fri Jun 09 13:29:47 2017 +1000 |
tree | a5200ddfa62a42340dd2ee2e918fb5b001240382 | |
parent | 64d107d3acca1565c39c044c459fd18f70943534 [diff] |
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>