git: cryptosoft - (partially) fix AES_XTS for contiguous buffers
Alex Hornung
alexh at crater.dragonflybsd.org
Sat Aug 21 17:23:56 PDT 2010
commit bc1ea2f20d9d2df8d518ec02158ff00f1144a36b
Author: Alex Hornung <ahornung at 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
More information about the Commits
mailing list