On Mon, Jun 12, 2006 at 03:02:04PM -0400, Michael Richardson wrote:
> 
> It seems that 
>    crypto_cipher_encrypt_iv(); and decrypt_iv(); 
> 
> BUG_ON() if the cit_mode is MODE_ECB. Okay, that's reasonable.
> 
> The problem is that the OCF cryptosoft interface for OCF sets the mode=0,
> now. Since it's a NULL cipher, it doesn't matter what mode, so I've
> changed it to CBC mode, and fixed the code in crypto.c to deal with a
> cipher that has a 1-byte block size.

Thanks for the patch.  However, I won't apply this because it will soon
become redundant once I add parameterised algorithms.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to