summaryrefslogtreecommitdiffstats
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2013-04-06 08:26:22 +0200
committerTyler Hicks <tyhicks@canonical.com>2013-06-08 02:28:26 +0200
commit00a699400a707953368e970b37bb8765fdb08015 (patch)
tree5f0d915de16b024814d17fb1cd941db855b3bd99 /crypto/pcrypt.c
parenteCryptfs: Decrypt pages in-place (diff)
downloadlinux-00a699400a707953368e970b37bb8765fdb08015.tar.xz
linux-00a699400a707953368e970b37bb8765fdb08015.zip
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>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions