mirror of https://gitee.com/openkylin/linux.git
471fbbea7f
This adds support for encryption with casefolding. Since the name on disk is case preserving, and also encrypted, we can no longer just recompute the hash on the fly. Additionally, to avoid leaking extra information from the hash of the unencrypted name, we use siphash via an fscrypt v2 policy. The hash is stored at the end of the directory entry for all entries inside of an encrypted and casefolded directory apart from those that deal with '.' and '..'. This way, the change is backwards compatible with existing ext4 filesystems. [ Changed to advertise this feature via the file: /sys/fs/ext4/features/encrypted_casefold -- TYT ] Signed-off-by: Daniel Rosenberg <drosen@google.com> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Link: https://lore.kernel.org/r/20210319073414.1381041-2-drosen@google.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> |
||
---|---|---|
.. | ||
about.rst | ||
allocators.rst | ||
attributes.rst | ||
bigalloc.rst | ||
bitmaps.rst | ||
blockgroup.rst | ||
blockmap.rst | ||
blocks.rst | ||
checksums.rst | ||
directory.rst | ||
dynamic.rst | ||
eainode.rst | ||
globals.rst | ||
group_descr.rst | ||
ifork.rst | ||
index.rst | ||
inlinedata.rst | ||
inodes.rst | ||
journal.rst | ||
mmp.rst | ||
overview.rst | ||
special_inodes.rst | ||
super.rst | ||
verity.rst |