git: cryptosoft - (partially) fix AES_XTS for contiguous buffers
alexh at crater.dragonflybsd.org
Sat Aug 21 17:23:56 PDT 2010
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(-)
DragonFly BSD source repository
More information about the Commits