crypto: sparc - Forbid 2-key 3DES in FIPS mode
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 11 Apr 2019 08:50:58 +0000 (16:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Apr 2019 14:14:59 +0000 (22:14 +0800)
commiteee25da50baaa32790dbe82d60754936ceb82042
treeb884635c3cb496db342ea9c52c85bae0ec99eb61
parent55902d8514483bd2c94f375b5259224520a1fd6b
crypto: sparc - Forbid 2-key 3DES in FIPS mode

This patch forbids the use of 2-key 3DES (K1 == K3) in FIPS mode.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/sparc/crypto/des_glue.c