git: cryptosoft - (partially) fix AES_XTS for contiguous buffers

看板DFBSD_commit作者時間15年前 (2010/08/22 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit bc1ea2f20d9d2df8d518ec02158ff00f1144a36b Author: Alex Hornung <ahornung@gmail.com> Date: Sat Aug 21 23:50:56 2010 +0100 cryptosoft - (partially) fix AES_XTS for contiguous buffers * The reinit magic skipping the iv mess for CBC was not being done for contiguous buffers, only for iovs and mbufs. * This resulted in all test vectors for aes xts passing from userland (which uses iovs) but everything failing in kernel. * Right now cryptsetup with -c aes-xts-plain still won't work, but at least some simple encryption and decryption tests work in kernel, too. Summary of changes: sys/opencrypto/cryptosoft.c | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc1ea2f20d9d2df8d518ec02158ff00f1144a36b -- DragonFly BSD source repository
文章代碼(AID): #1CS705cl (DFBSD_commit)