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

Commit 23beafbe authored by Linus Torvalds's avatar Linus Torvalds
Browse files
parents 48c0d9ec 8eb2dfac
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -45,7 +45,13 @@ struct priv {

static inline void setbit128_bbe(void *b, int bit)
{
	__set_bit(bit ^ 0x78, b);
	__set_bit(bit ^ (0x80 -
#ifdef __BIG_ENDIAN
			 BITS_PER_LONG
#else
			 BITS_PER_BYTE
#endif
			), b);
}

static int setkey(struct crypto_tfm *parent, const u8 *key,