commit | d7198ce46d10712b6fdd66e35237d7d0d51afcd6 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Apr 11 16:50:56 2019 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Apr 18 22:14:58 2019 +0800 |
tree | 786ec13831f3e366c6612b85a3a4a8818c8bed71 | |
parent | 694e0db6600c12f8172efb51cd4b4bbade958562 [diff] |
crypto: des_generic - Forbid 2-key in 3DES and add helpers This patch adds a requirement to the generic 3DES implementation such that 2-key 3DES (K1 == K3) is no longer allowed in FIPS mode. We will also provide helpers that may be used by drivers that implement 3DES to make the same check. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>