[GIT PULL] fscrypt updates for 5.19

Eric Biggers
2022-05-23T07:53:58Z

The following changes since commit ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e:

Linux 5.18-rc2 (2022-04-10 14:21:36 -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 218d921b581eadf312c8ef0e09113b111f104eeb:

fscrypt: add new helper functions for test_dummy_encryption (2022-05-09 16:18:54 -0700)

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

Some cleanups for fs/crypto/:

- Split up the misleadingly-named FS_CRYPTO_BLOCK_SIZE constant.

- Consistently report the encryption implementation that is being used.

- Add helper functions for the test_dummy_encryption mount option that
work properly with the new mount API. ext4 and f2fs will use these.

----------------------------------------------------------------
Eric Biggers (4):
fscrypt: split up FS_CRYPTO_BLOCK_SIZE
fscrypt: log when starting to use inline encryption
fscrypt: factor out fscrypt_policy_to_key_spec()
fscrypt: add new helper functions for test_dummy_encryption

fs/crypto/crypto.c | 10 ++--
fs/crypto/fname.c | 11 +++-
fs/crypto/fscrypt_private.h | 10 +++-
fs/crypto/inline_crypt.c | 33 ++++++++++-
fs/crypto/keyring.c | 64 +++++++++++++++++----
fs/crypto/keysetup.c | 22 ++------
fs/crypto/policy.c | 132 ++++++++++++++++++++++++++------------------
fs/ubifs/ubifs.h | 2 +-
include/linux/fscrypt.h | 51 ++++++++++++++++-
9 files changed, 238 insertions(+), 97 deletions(-)

______________________________________________________
Linux MTD discussion mailing list