[RFC 0/3] Introduce the bulk mode method when sending request to crypto layer

From: Baolin Wang
Date: Wed May 25 2016 - 02:12:51 EST


This patchset will check if the cipher can support bulk mode, then dm-crypt
will handle different ways to send requests to crypto layer according to
cipher mode.

Looking forward to any comments and suggestions. Thanks.

Baolin Wang (3):
block: Introduce blk_bio_map_sg() to map one bio
crypto: Introduce CRYPTO_ALG_BULK flag
md: dm-crypt: Introduce the bulk mode method when sending request

block/blk-merge.c | 45 +++++++++++
drivers/md/dm-crypt.c | 188 ++++++++++++++++++++++++++++++++++++++++++---
include/crypto/skcipher.h | 7 ++
include/linux/blkdev.h | 3 +
include/linux/crypto.h | 6 ++
5 files changed, 237 insertions(+), 12 deletions(-)

--
1.7.9.5