kernel-fxtec-pro1x/fs
Jiten Patel f4ecbf76c7 fs: crypto: Add support for legacy pfk based FBE
Enable legacy method to generate aes keys derived
from nonce and master key. In private mode the keys
will be used as file encryption keys and set into
Inline Crypto Engine hardware.
This will be used to support OTA upgrades where
device were launched using legacy PFK generation
method.

Test:
1) Flashed P meta, create multiple files under /data.
2) Set PIN
3) Build R (include OTA changes) and flash
   APPS images of R except userdata and boot the device.
4) Device booted upto UI.
5) Unlock device by PIN set on P build.
6) Files created with Q build retained.
7) Created new files under /data and checked retention across
   multiple re-boots.

Change-Id: I6b4e49ed4549bf4f27ea63ab33016b00dca9fcf0
Signed-off-by: Jiten Patel <jitepate@codeaurora.org>
2021-01-27 10:59:30 +05:30
..
9p 9P: Cast to loff_t before multiplying 2020-11-05 11:08:53 +01:00
adfs
affs affs: fix basic permission bits to actually work 2020-09-09 19:04:30 +02:00
afs Merge android-4.19-stable.146 (443485d) into msm-4.19 2020-10-16 11:06:31 +05:30
autofs
befs
bfs
btrfs btrfs: tree-checker: fix the error message for transid error 2020-11-10 12:35:57 +01:00
cachefiles cachefiles: Handle readpage error correctly 2020-11-05 11:08:54 +01:00
ceph ceph: promote to unsigned long long before shifting 2020-11-05 11:08:53 +01:00
cifs cifs: handle -EINTR in cifs_setattr 2020-11-05 11:08:44 +01:00
coda
configfs configfs: fix config_item refcnt leak in configfs_rmdir() 2020-05-27 17:37:32 +02:00
cramfs
crypto fs: crypto: Add support for legacy pfk based FBE 2021-01-27 10:59:30 +05:30
debugfs
devpts
dlm fs: dlm: fix configfs memory leak 2020-10-30 10:38:28 +01:00
ecryptfs ecryptfs: replace BUG_ON with error handling code 2020-02-28 16:38:59 +01:00
efivarfs efivarfs: Replace invalid slashes with exclamation marks in dentries. 2020-11-05 11:08:32 +01:00
efs
exofs Merge android-4.19-q.88 (47d86d5) into msm-4.19 2020-01-28 03:20:43 -08:00
exportfs exportfs: fix 'passing zero to ERR_PTR()' warning 2020-01-27 14:50:02 +01:00
ext2 ext2: don't update mtime on COW faults 2020-09-09 19:04:28 +02:00
ext4 Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
f2fs Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
fat fat: don't allow to mount if the FAT length == 0 2020-06-22 09:05:08 +02:00
freevxfs
fscache
fuse Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
gfs2 Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
hfs
hfsplus hfsplus: fix crash and filesystem corruption when deleting files 2020-04-17 10:48:52 +02:00
hostfs
hpfs
hugetlbfs
incfs ANDROID: Incremental fs: magic number compatible 32-bit 2020-08-31 19:18:46 +05:30
isofs
jbd2 jbd2: abort journal if free a async write error metadata buffer 2020-09-03 11:24:24 +02:00
jffs2 This is the 4.19.142 stable release 2020-08-26 11:07:03 +02:00
jfs jfs: fix bogus variable self-initialization 2020-01-27 14:50:33 +01:00
kernfs Merge android-4.19-stable.125 (a483478) into msm-4.19 2020-09-20 23:45:10 +05:30
lockd
minix fs/minix: remove expected error message in block_to_path() 2020-08-21 11:05:38 +02:00
nfs Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
nfs_common
nfsd NFSD: Add missing NFSv2 .pc_func methods 2020-11-05 11:08:52 +01:00
nilfs2 nilfs2: fix null pointer dereference at nilfs_segctor_do_construct() 2020-06-22 09:05:03 +02:00
nls
notify Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
ntfs ntfs: add check for mft record size in superblock 2020-10-30 10:38:28 +01:00
ocfs2 ocfs2: change slot number type s16 to u16 2020-08-21 11:05:33 +02:00
omfs
openpromfs
orangefs help_next should increase position index 2020-02-24 08:34:53 +01:00
overlayfs This is the 4.19.134 stable release 2020-07-22 13:03:12 +02:00
proc mm: process_reclaim: pass pid struct instead of tgid 2021-01-12 16:32:10 +05:30
pstore pstore: Fix linking when crypto API disabled 2020-08-19 08:15:04 +02:00
qnx4
qnx6
quota quota: clear padding in v2r1_mem2diskdqb() 2020-10-29 09:55:12 +01:00
ramfs ramfs: fix nommu mmap with gaps in the page cache 2020-10-30 10:38:21 +01:00
reiserfs reiserfs: Fix memory leak in reiserfs_parse_options() 2020-10-30 10:38:31 +01:00
romfs romfs: fix uninitialized memory leak in romfs_dev_read() 2020-08-26 10:30:59 +02:00
sdcardfs Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
squashfs
sysfs
sysv
tracefs
ubifs This is the 4.19.155 stable release 2020-11-05 14:02:27 +01:00
udf udf: Fix memory leak when mounting 2020-11-05 11:08:50 +01:00
ufs fs/ufs: avoid potential u32 multiplication overflow 2020-08-21 11:05:38 +02:00
unicode FROMLIST: unicode: Add utf8_casefold_hash 2020-02-28 03:35:36 +00:00
verity fs-verity: remove unnecessary extern keywords 2020-06-16 14:07:40 -07:00
xfs This is the 4.19.155 stable release 2020-11-05 14:02:27 +01:00
aio.c aio: fix async fsync creds 2020-06-22 09:05:01 +02:00
anon_inodes.c
attr.c Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
bad_inode.c
binfmt_aout.c
binfmt_elf.c fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info() 2020-06-03 08:19:41 +02:00
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
block_dev.c This is the 4.19.149 stable release 2020-10-01 16:49:05 +02:00
buffer.c Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
char_dev.c chardev: Avoid potential use-after-free in 'chrdev_open()' 2020-01-24 14:28:27 +05:30
compat.c
compat_binfmt_elf.c
compat_ioctl.c fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP 2020-01-09 10:19:07 +01:00
coredump.c coredump: fix crash when umh is disabled 2020-09-08 01:59:16 -07:00
d_path.c
dax.c dax: pass NOWAIT flag to iomap_apply 2020-03-05 16:42:12 +01:00
dcache.c fs, fscrypt: clear DCACHE_ENCRYPTED_NAME when unaliasing directory 2020-11-05 11:08:35 +01:00
dcookies.c
direct-io.c ANDROID: fscrypt: handle direct I/O with IV_INO_LBLK_32 2020-07-27 14:49:02 +05:30
drop_caches.c fs: avoid softlockups in s_inodes iterators 2020-01-12 12:17:20 +01:00
eventfd.c eventfd: track eventfd_signal() recursion depth 2020-02-11 04:34:08 -08:00
eventpoll.c This is the 4.19.150 stable release 2020-10-07 08:45:35 +02:00
exec.c Merge android-4.19-stable.157 (8ee67bc) into msm-4.19 2020-12-18 18:35:06 +05:30
fcntl.c
fhandle.c
file.c fix multiplication overflow in copy_fdtable() 2020-05-27 17:37:29 +02:00
file_table.c
filesystems.c fs/filesystems.c: downgrade user-reachable WARN_ONCE() to pr_warn_once() 2020-04-17 10:48:51 +02:00
fs-writeback.c writeback: Fix sync livelock due to b_dirty_time processing 2020-09-03 11:24:28 +02:00
fs_pin.c
fs_struct.c Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
inode.c Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
internal.h Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
ioctl.c
iomap.c File and metadata encryption changes from android-4.19.96-107 2020-04-21 06:19:04 -07:00
Kconfig Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
Kconfig.binfmt
libfs.c Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-4.19.y' into android-4.19-stable 2020-06-15 13:24:58 -07:00
locks.c locks: print unsigned ino in /proc/locks 2020-01-09 10:19:00 +01:00
Makefile Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
mbcache.c
mount.h
mpage.c
namei.c Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
namespace.c Merge android-4.19-stable.125 (a483478) into msm-4.19 2020-09-20 23:45:10 +05:30
no-block.c
nsfs.c
open.c Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
pipe.c
pnode.c This is the 4.19.120 stable release 2020-05-03 08:48:02 +02:00
pnode.h
posix_acl.c
proc_namespace.c
read_write.c Merge android-4.19-stable.136 (204dd19) into msm-4.19 2020-10-14 20:04:29 +05:30
readdir.c filldir[64]: remove WARN_ON_ONCE() for bad directory entries 2020-01-04 19:13:26 +01:00
select.c
seq_file.c
signalfd.c fs/signalfd.c: fix inconsistent return codes for signalfd4 2020-08-26 10:31:02 +02:00
splice.c splice: only read in as much information as there is pipe buffer space 2019-12-17 20:35:43 +01:00
stack.c
stat.c
statfs.c
super.c Merge crypto changes from android-4.19.79-95 into msm-4.19 2020-04-24 15:21:22 -07:00
sync.c
timerfd.c
userfaultfd.c Merge android-4.19.95 (5da1114) into msm-4.19 2020-03-27 10:48:20 -07:00
utimes.c Restore sdcardfs feature 2020-08-21 15:15:18 +05:30
xattr.c Merge android-4.19-stable.146 (443485d) into msm-4.19 2020-10-16 11:06:31 +05:30