Commit a501121e authored by Richard Hartmann's avatar Richard Hartmann Committed by Herbert Xu

crypto: des_generic - Fix checkpatch errors

Signed-off-by: 's avatarRichard Hartmann <richih.mailinglist@gmail.com>
Signed-off-by: 's avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9472d763
......@@ -869,8 +869,7 @@ static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key,
if (unlikely(!((K[0] ^ K[2]) | (K[1] ^ K[3])) ||
!((K[2] ^ K[4]) | (K[3] ^ K[5]))) &&
(*flags & CRYPTO_TFM_REQ_WEAK_KEY))
{
(*flags & CRYPTO_TFM_REQ_WEAK_KEY)) {
*flags |= CRYPTO_TFM_RES_WEAK_KEY;
return -EINVAL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment