aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorTyler Hicks <[email protected]>2013-05-09 16:55:07 -0700
committerTyler Hicks <[email protected]>2013-05-09 16:55:07 -0700
commit4dfea4f0d7f13309d2ee112a2584210cae4320c6 (patch)
tree53af474217e7072070f260f4284d988b75456332 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentc1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 (diff)
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 <[email protected]> Acked-by: Colin King <[email protected]> Reviewed-by: Zeev Zilberman <[email protected]> Cc: Dustin Kirkland <[email protected]> Cc: Tim Chen <[email protected]> Cc: Ying Huang <[email protected]> Cc: Thieu Le <[email protected]> Cc: Li Wang <[email protected]> Cc: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions