• Theodore Ts'o's avatar
    ext4 crypto: add padding to filenames before encrypting · a44cd7a0
    Theodore Ts'o authored
    This obscures the length of the filenames, to decrease the amount of
    information leakage.  By default, we pad the filenames to the next 4
    byte boundaries.  This costs nothing, since the directory entries are
    aligned to 4 byte boundaries anyway.  Filenames can also be padded to
    8, 16, or 32 bytes, which will consume more directory space.
    
    Change-Id: Ibb7a0fb76d2c48e2061240a709358ff40b14f322
    Signed-off-by: Theodore Ts'o's avatarTheodore Ts'o <tytso@mit.edu>
    a44cd7a0
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
acl.c Loading commit data...
acl.h Loading commit data...
balloc.c Loading commit data...
bitmap.c Loading commit data...
block_validity.c Loading commit data...
crypto.c Loading commit data...
crypto_fname.c Loading commit data...
crypto_key.c Loading commit data...
crypto_policy.c Loading commit data...
dir.c Loading commit data...
ext4.h Loading commit data...
ext4_crypto.h Loading commit data...
ext4_extents.h Loading commit data...
ext4_jbd2.c Loading commit data...
ext4_jbd2.h Loading commit data...
extents.c Loading commit data...
extents_status.c Loading commit data...
extents_status.h Loading commit data...
file.c Loading commit data...
fsync.c Loading commit data...
hash.c Loading commit data...
ialloc.c Loading commit data...
indirect.c Loading commit data...
inline.c Loading commit data...
inode.c Loading commit data...
ioctl.c Loading commit data...
mballoc.c Loading commit data...
mballoc.h Loading commit data...
migrate.c Loading commit data...
mmp.c Loading commit data...
move_extent.c Loading commit data...
namei.c Loading commit data...
page-io.c Loading commit data...
readpage.c Loading commit data...
resize.c Loading commit data...
super.c Loading commit data...
symlink.c Loading commit data...
truncate.h Loading commit data...
xattr.c Loading commit data...
xattr.h Loading commit data...
xattr_security.c Loading commit data...
xattr_trusted.c Loading commit data...
xattr_user.c Loading commit data...