aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2015-05-01 20:56:50 +0000
committerTheodore Ts'o <[email protected]>2015-05-01 20:56:50 +0000
commita44cd7a05496d60fd2ba8cca080e3db8f481549b (patch)
treedd8d05d845817e4a429804d8ffe09dd68b6881e6 /scripts/asn1_compiler.c
parentext4 crypto: simplify and speed up filename encryption (diff)
downloadkernel-a44cd7a05496d60fd2ba8cca080e3db8f481549b.tar.gz
kernel-a44cd7a05496d60fd2ba8cca080e3db8f481549b.zip
ext4 crypto: add padding to filenames before encrypting
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 <[email protected]>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions