[GIT PULL] fscrypt updates for 5.14

From: Eric Biggers
Date: Mon Jun 28 2021 - 12:56:57 EST


The following changes since commit c4681547bcce777daf576925a966ffa824edd09d:

Linux 5.13-rc3 (2021-05-23 11:42:48 -1000)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fscrypt-for-linus

for you to fetch changes up to 2fc2b430f559fdf32d5d1dd5ceaa40e12fb77bdf:

fscrypt: fix derivation of SipHash keys on big endian CPUs (2021-06-05 00:52:52 -0700)

----------------------------------------------------------------

A couple bug fixes for fs/crypto/:

- Fix handling of major dirhash values that happen to be 0.

- Fix cases where keys were derived differently on big endian systems
than on little endian systems (affecting some newer features only).

----------------------------------------------------------------
Eric Biggers (2):
fscrypt: don't ignore minor_hash when hash is 0
fscrypt: fix derivation of SipHash keys on big endian CPUs

fs/crypto/fname.c | 10 +++-------
fs/crypto/keysetup.c | 40 ++++++++++++++++++++++++++++++++--------
2 files changed, 35 insertions(+), 15 deletions(-)