[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161013033953.sgohuvud5krlupf3@thunk.org>
Date: Wed, 12 Oct 2016 23:39:53 -0400
From: Theodore Ts'o <tytso@....edu>
To: Eric Biggers <ebiggers@...gle.com>
Cc: Richard Weinberger <richard.weinberger@...il.com>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
linux-ext4@...r.kernel.org, linux-f2fs-devel@...ts.sourceforge.net,
jaegeuk@...nel.org
Subject: Re: [PATCH] fscrypto: make XTS tweak initialization
endian-independent
On Fri, Sep 30, 2016 at 7:58 PM, Eric Biggers <ebiggers@...gle.com> wrote:
> The XTS tweak (or IV) was initialized differently on little endian and
> big endian systems. Because the ciphertext depends on the XTS tweak, it
> was not possible to use an encrypted filesystem created by a little
> endian system on a big endian system and vice versa, even if they shared
> the same PAGE_SIZE. Fix this by always using little endian.
>
> This will break hypothetical big endian users of ext4 or f2fs
> encryption. However, all users we are aware of are little endian, and
> it's believed that "real" big endian users are unlikely to exist yet.
> So this might as well be fixed now before it's too late.
>
> Signed-off-by: Eric Biggers <ebiggers@...gle.com>
Thanks, applied.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists