On Fri, Dec 07, 2007 at 07:24:05PM +0100, Sebastian Siewior wrote:
> Jan pointed this out to me and fixed it in the fallback code for s390
> and now I remembered that this could also be fixed here :)
> 
> Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>

No, the default IV is put into desc->info by the system.

I see where the problem is though.  We should never call the
functions crypto_blkcipher_encrypt/decrypt, it should always be
crypto_blkcipher_encrypt_iv/crypto_blkcipher_decrypt_iv.

Please make a patch to get the fallback to do that.

Thanks,
-- 
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