commit | fec17cb2231733174e039ad9054fa16bb358e2ec | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Sun Jun 11 23:20:23 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jun 20 11:21:19 2017 +0800 |
tree | b3fef173dac11fb9c6c7927e659a79c8f9df3bce | |
parent | ffe55266e36bef40b940b38bfef4fcff4957624d [diff] |
crypto: rsa-pkcs1pad - use constant time memory comparison for MACs Otherwise, we enable all sorts of forgeries via timing attack. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Suggested-by: Stephan Müller <smueller@chronox.de> Cc: stable@vger.kernel.org Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: linux-crypto@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>