linux/fs/crypto
Eric Biggers 0c4cdb27ca fscrypt: drop empty name check from fname_decrypt()
fname_decrypt() is validating that the encrypted filename is nonempty.
However, earlier a stronger precondition was already enforced: the
encrypted filename must be at least 16 (FS_CRYPTO_BLOCK_SIZE) bytes.

Drop the redundant check for an empty filename.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-05-20 16:21:03 -04:00
..
bio.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
crypto.c fscrypt: remove stale comment from fscrypt_d_revalidate() 2018-05-20 16:21:01 -04:00
fname.c fscrypt: drop empty name check from fname_decrypt() 2018-05-20 16:21:03 -04:00
fscrypt_private.h fscrypt: clean up after fscrypt_prepare_lookup() conversions 2018-05-20 16:20:59 -04:00
hooks.c fscrypt: fix build with pre-4.6 gcc versions 2018-02-01 10:51:18 -05:00
Kconfig fscrypt: add support for AES-128-CBC 2017-06-23 20:05:07 -04:00
keyinfo.c fscrypt: don't clear flags on crypto transform 2018-05-20 16:21:01 -04:00
Makefile fscrypt: new helper function - fscrypt_file_open() 2017-10-18 19:52:37 -04:00
policy.c fscrypt: lots of cleanups, mostly courtesy by Eric Biggers 2017-11-14 11:35:15 -08:00