dm-crypt: Add IV generation templates
hulk inclusion category: feature bugzilla: 20209 CVE: NA --------------------------- Currently, the IV generation algorithms are implemented in crypt layer. This patch implements these algorithms as templates, so that dm-crypt layer can be simplified, and also these algorithms can be implemented in hardware for performance. 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
此差异已折叠。
include/crypto/geniv.h
0 → 100644
想要评论请 注册 或 登录