[GIT PULL] fscrypt updates for 5.5

From: Eric Biggers
Date: Sun Nov 24 2019 - 23:41:29 EST


The following changes since commit 7d194c2100ad2a6dded545887d02754948ca5241:

Linux 5.4-rc4 (2019-10-20 15:56:22 -0400)

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 0eee17e3322625b87ce5fa631bda16562a8dc494:

f2fs: add support for IV_INO_LBLK_64 encryption policies (2019-11-06 12:34:42 -0800)

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

- Add the IV_INO_LBLK_64 encryption policy flag which modifies the
encryption to be optimized for UFS inline encryption hardware.

- For AES-128-CBC, use the crypto API's implementation of ESSIV (which
was added in 5.4) rather than doing ESSIV manually.

- A few other cleanups.

----------------------------------------------------------------
Eric Biggers (8):
fscrypt: invoke crypto API for ESSIV handling
fscrypt: remove struct fscrypt_ctx
fscrypt: zeroize fscrypt_info before freeing
docs: ioctl-number: document fscrypt ioctl numbers
fscrypt: avoid data race on fscrypt_mode::logged_impl_name
fscrypt: add support for IV_INO_LBLK_64 policies
ext4: add support for IV_INO_LBLK_64 encryption policies
f2fs: add support for IV_INO_LBLK_64 encryption policies

Documentation/filesystems/fscrypt.rst | 68 +++++++++------
Documentation/ioctl/ioctl-number.rst | 1 +
fs/crypto/bio.c | 29 +------
fs/crypto/crypto.c | 124 ++++----------------------
fs/crypto/fscrypt_private.h | 25 +++---
fs/crypto/keyring.c | 6 +-
fs/crypto/keysetup.c | 158 ++++++++++------------------------
fs/crypto/keysetup_v1.c | 4 -
fs/crypto/policy.c | 41 ++++++++-
fs/ext4/ext4.h | 2 +
fs/ext4/super.c | 14 +++
fs/f2fs/super.c | 26 ++++--
include/linux/fscrypt.h | 35 +-------
include/uapi/linux/fscrypt.h | 3 +-
14 files changed, 208 insertions(+), 328 deletions(-)