diff options
author | Eric Biggers <ebiggers@google.com> | 2017-04-24 20:00:10 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-05-04 18:44:37 +0300 |
commit | 17159420a6c18bb3515ff85598b5ccf1a572763d (patch) | |
tree | 562afc39b20e061cbdfaaf6e2db7854da95fbb45 /fs/crypto/fscrypt_private.h | |
parent | 6b06cdee81d68a8a829ad8e8d0f31d6836744af9 (diff) | |
download | linux-17159420a6c18bb3515ff85598b5ccf1a572763d.tar.xz |
fscrypt: introduce helper function for filename matching
Introduce a helper function fscrypt_match_name() which tests whether a
fscrypt_name matches a directory entry. Also clean up the magic numbers
and document things properly.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/fscrypt_private.h')
-rw-r--r-- | fs/crypto/fscrypt_private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/crypto/fscrypt_private.h b/fs/crypto/fscrypt_private.h index e08ca6d1ca0f..1e1f8a361b75 100644 --- a/fs/crypto/fscrypt_private.h +++ b/fs/crypto/fscrypt_private.h @@ -13,8 +13,6 @@ #include <linux/fscrypt_supp.h> -#define FS_FNAME_CRYPTO_DIGEST_SIZE 32 - /* Encryption parameters */ #define FS_XTS_TWEAK_SIZE 16 #define FS_AES_128_ECB_KEY_SIZE 16 |