https://github.com/torvalds/linux
Revision a44cd7a05496d60fd2ba8cca080e3db8f481549b authored by Theodore Ts'o on 01 May 2015, 20:56:50 UTC, committed by Theodore Ts'o on 01 May 2015, 20:56:50 UTC
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 <tytso@mit.edu>
1 parent 5de0b4d
History
Tip revision: a44cd7a05496d60fd2ba8cca080e3db8f481549b authored by Theodore Ts'o on 01 May 2015, 20:56:50 UTC
ext4 crypto: add padding to filenames before encrypting
Tip revision: a44cd7a
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 297.9 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top