diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2009-01-06 14:41:58 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:59:21 -0800 |
commit | a34f60f748c6fe5d791e9b54cffe442201428254 (patch) | |
tree | 1b5378b49773c0f57bb5f892c3d2096da3c9a803 /fs/ecryptfs/crypto.c | |
parent | 9c79f34f7ee71cd28272332b424ca64b2be006ab (diff) | |
download | kernel-crypto-a34f60f748c6fe5d791e9b54cffe442201428254.tar.gz kernel-crypto-a34f60f748c6fe5d791e9b54cffe442201428254.tar.xz kernel-crypto-a34f60f748c6fe5d791e9b54cffe442201428254.zip |
eCryptfs: Filename Encryption: Header updates
Extensions to the header file to support filename encryption.
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Dustin Kirkland <dustin.kirkland@gmail.com>
Cc: Eric Sandeen <sandeen@redhat.com>
Cc: Tyler Hicks <tchicks@us.ibm.com>
Cc: David Kleikamp <shaggy@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/crypto.c')
-rw-r--r-- | fs/ecryptfs/crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 485732751f0..c9839df37c7 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c @@ -175,8 +175,8 @@ out: * * Returns zero on success; non-zero on error. */ -static int ecryptfs_derive_iv(char *iv, struct ecryptfs_crypt_stat *crypt_stat, - loff_t offset) +int ecryptfs_derive_iv(char *iv, struct ecryptfs_crypt_stat *crypt_stat, + loff_t offset) { int rc = 0; char dst[MD5_DIGEST_SIZE]; |