commit | 94fc2e0be0e687958e87f58cf8fdfbeafe33cfce | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Apr 11 16:51:08 2019 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Apr 18 22:15:00 2019 +0800 |
tree | 3627d5b8807fbc91409f59944777d8d1cddcf7ca | |
parent | 270e21da4890afedddec48a626e1a07ff6595fc6 [diff] |
crypto: hisilicon - Forbid 2-key 3DES in FIPS mode This patch forbids the use of 2-key 3DES (K1 == K3) in FIPS mode. It also removes a couple of unnecessary key length checks that are already performed by the crypto API. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>