android_kernel_motorola_sm6375/fs/crypto
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Biggers d404a4fdf9 ANDROID: fscrypt: fall back to filesystem-layer crypto when needed
When the filesystem is mounted with '-o inlinecrypt', make fscrypt fall
back to filesystem-layer crypto when inline crypto won't work, e.g. due
to the hardware not supporting the encryption algorithm.

When blk-crypto-fallback is disabled, this fixes '-o inlinecrypt' to not
break any fscrypt policies that would otherwise work.

This is needed for VtsKernelEncryptionTest to pass on some devices.

Bug: 137270441
Bug: 151100202
Test: 'atest vts_kernel_encryption_test' on Pixel 4 with the
      inline crypto patches backported, and also on Cuttlefish.
Change-Id: I3e730df4608efb12d7126d1a85faddcccb566764
Signed-off-by: Eric Biggers <[email protected]>
2020-04-07 17:59:05 +00:00
..
bio.c Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.4.y' into android-5.4 2020-02-20 12:31:26 -08:00
crypto.c Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.4.y' into android-5.4 2020-02-20 12:31:26 -08:00
fname.c FROMLIST: fscrypt: Have filesystems handle their d_ops 2020-02-20 21:21:40 +00:00
fscrypt_private.h ANDROID: fscrypt: fall back to filesystem-layer crypto when needed 2020-04-07 17:59:05 +00:00
hkdf.c fscrypt: constify struct fscrypt_hkdf parameter to fscrypt_hkdf_expand() 2020-02-12 19:35:18 -08:00
hooks.c FROMLIST: fscrypt: Have filesystems handle their d_ops 2020-02-20 21:21:40 +00:00
inline_crypt.c ANDROID: fscrypt: fall back to filesystem-layer crypto when needed 2020-04-07 17:59:05 +00:00
Kconfig Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.4.y' into android-5.4 2020-02-20 12:31:26 -08:00
keyring.c Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.4.y' into android-5.4 2020-02-20 12:31:26 -08:00
keysetup.c ANDROID: fscrypt: fall back to filesystem-layer crypto when needed 2020-04-07 17:59:05 +00:00
keysetup_v1.c ANDROID: block: Prevent crypto fallback for wrapped keys 2020-02-25 19:27:51 +00:00
Makefile FROMLIST: fscrypt: add inline encryption support 2019-10-30 22:01:39 +00:00
policy.c FROMLIST: fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl 2020-03-19 11:29:02 -07:00