Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

crypto: des_generic - Fix checkpatch errors

parent 9472d763
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
	}