From: Tyler Hicks Date: Thu, 9 May 2013 23:55:07 +0000 (-0700) Subject: eCryptfs: Use the ablkcipher crypto API X-Git-Tag: v3.10-rc1~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dfea4f0d7f13309d2ee112a2584210cae4320c6;p=pandora-kernel.git eCryptfs: Use the ablkcipher crypto API Make the switch from the blkcipher kernel crypto interface to the ablkcipher interface. encrypt_scatterlist() and decrypt_scatterlist() now use the ablkcipher interface but, from the eCryptfs standpoint, still treat the crypto operation as a synchronous operation. They submit the async request and then wait until the operation is finished before they return. Most of the changes are contained inside those two functions. Despite waiting for the completion of the crypto operation, the ablkcipher interface provides performance increases in most cases when used on AES-NI capable hardware. Signed-off-by: Tyler Hicks Acked-by: Colin King Reviewed-by: Zeev Zilberman Cc: Dustin Kirkland Cc: Tim Chen Cc: Ying Huang Cc: Thieu Le Cc: Li Wang Cc: Jarkko Sakkinen --- Reading git-diff-tree failed