linux-xiaomi-chiron/fs/ecryptfs
Tyler Hicks 00a699400a eCryptfs: Combine encrypt_scatterlist() and decrypt_scatterlist()
These two functions are identical except for a debug printk and whether
they call crypto_ablkcipher_encrypt() or crypto_ablkcipher_decrypt(), so
they can be safely merged if the caller can indicate if encryption or
decryption should occur.

The debug printk is useless so it is removed.

Two new #define's are created to indicate if an ENCRYPT or DECRYPT
operation is desired.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
2013-06-07 17:28:26 -07:00
..
crypto.c eCryptfs: Combine encrypt_scatterlist() and decrypt_scatterlist() 2013-06-07 17:28:26 -07:00
debug.c
dentry.c
ecryptfs_kernel.h
file.c eCryptfs: Check return of filemap_write_and_wait during fsync 2013-06-04 23:53:31 -07:00
inode.c
Kconfig
keystore.c
kthread.c
main.c
Makefile
messaging.c eCryptfs: Cocci spatch "memdup.spatch" 2013-06-07 17:26:55 -07:00
miscdev.c
mmap.c
read_write.c
super.c