aboutsummaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@google.com>2015-05-04 19:35:03 -0400
committerMister Oyster <oysterized@gmail.com>2017-05-27 19:40:01 +0200
commit86554ec8ca9c64f134c74e7cdd6df400658359e3 (patch)
tree46c55f4a6237f497de159ed6359c80f25a72f0fc /scripts/const_structs.checkpatch
parent44ed788e0ddb3f9c61f782414d02275bfcae8a3d (diff)
ext4 crypto: optimize filename encryption
Encrypt the filename as soon it is passed in by the user. This avoids our needing to encrypt the filename 2 or 3 times while in the process of creating a filename. Similarly, when looking up a directory entry, encrypt the filename early, or if the encryption key is not available, base-64 decode the file syystem so that the hash value and the last 16 bytes of the encrypted filename is available in the new struct ext4_filename data structure. Change-Id: Ia76a5e51770840c57a53180cd89476f2e9b8c966 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Theodore Ts'o <tytso@google.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions