+1
−0
fs/f2fs/crypto_policy.c
0 → 100644
+206
−0
+16
−0
+93
−0
+3
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch adds encryption policy and password salt support through ioctl implementation. It adds three ioctls: F2FS_IOC_SET_ENCRYPTION_POLICY, F2FS_IOC_GET_ENCRYPTION_POLICY, F2FS_IOC_GET_ENCRYPTION_PWSALT, which use xattr operations. Note that, these definition and codes are taken from ext4 crypto support. For f2fs, xattr operations and on-disk flags for superblock and inode were changed. Signed-off-by:Michael Halcrow <mhalcrow@google.com> Signed-off-by:
Theodore Ts'o <tytso@mit.edu> Signed-off-by:
Ildar Muslukhov <muslukhovi@gmail.com> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org>