git: dm_target_crypt - rework ivgen magic, fix bug

看板DFBSD_commit作者時間15年前 (2010/08/21 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7cfe2226dac888c3f9254acdee907bdca508256d Author: Alex Hornung <ahornung@gmail.com> Date: Fri Aug 20 18:44:48 2010 +0100 dm_target_crypt - rework ivgen magic, fix bug * Add a forgotten crypto_freesession() in the destruction of the target. * Change ivgen infrastructure to be more complete; each ivgen can now have a ctor, a dtor and some private data. * Change ESSIV ivgen to use its own crypto session. * Change all the crypto stuff *not* to use an explicit key but rather use the key with which they were initialized. * Dispatch the actual data crypto from the ivgens, allowing the iv generation to happen asynchronously. Discussed-with: Matt Dillon (dillon@) Summary of changes: sys/dev/disk/dm/dm_target_crypt.c | 360 ++++++++++++++++++++++++++----------- 1 files changed, 258 insertions(+), 102 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7cfe2226dac888c3f9254acdee907bdca508256d -- DragonFly BSD source repository
文章代碼(AID): #1CRjWt7o (DFBSD_commit)