dm-crypt: modify dm-crypt to rely on IV generation templates
hulk inclusion category: feature bugzilla: 20209 CVE: NA --------------------------- This patch modifies the dm-crypt layer to rely on the IV generation templates for generating IV. The dm-crypt layer won't divided the 'bio' into sectors and passes each sector to the crypto driver any more. The dm-crypt layer creates a scatterlist array to record all the data of the 'bio' and passes this scatterlist array to the crypto driver at one time. This crypto driver could be some accelerator driver which can process several sectors at one time. This patch is based on the patchset originally started by Binoy Jayan <binoy.jayan@linaro.org> ( crypto: Add IV generation algorithms https://patchwork.kernel.org/patch/9803469/ ) Signed-off-by: NBinoy Jayan <binoy.jayan@linaro.org> Signed-off-by: NXiongfeng Wang <xiongfeng.wang@linaro.org> Reviewed-by: NZhangXiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
此差异已折叠。
想要评论请 注册 或 登录