Re: [PATCH/proposal] dm-crypt: add digest-based iv generation mode

From: Jean-Luc Cooke
Date: Wed Feb 25 2004 - 10:23:09 EST


Alright then.

http://jlcooke.ca/lkml/crypto_24feb2004.patch

Changes:
- Added CTR mode to cipher.c
- Fixed Bug where CTR wasn't getting allocated an IV
- Added config for OMAC option on encryption
- Moved scatterwalk stuff to scatterwalk.c added to makefile
- Removed kmalloc'd scratch space in hmac.c which caused a reported bug.
- kernel config defaults to build all the IPSec required algorithms as
well as OMAC (OMAC is only computed if specified by caller)

JLC

On Wed, Feb 25, 2004 at 08:52:36AM -0500, James Morris wrote:
> I think the latter is preferrable. OMAC should probably be a config
> option as well.
...
> You could add something like crypto_cipher_omac_final(), to be used by the
> calling code once it needs the OMAC value, which then calls
> crypto_cipher_get_omac().

--
http://www.certainkey.com
Suite 4560 CTTC
1125 Colonel By Dr.
Ottawa ON, K1S 5B6
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/