mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-16 03:36:41 +00:00

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>