]> err.no Git - linux-2.6/commit
[CRYPTO] cipher: Removed special IV checks for ECB
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 Jul 2006 00:42:27 +0000 (10:42 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:41:03 +0000 (11:41 +1000)
commitdf89820ebd5bbf4f3c6b5f8ee7d9e983107f6a91
treea782e2662cbdb6c7ad7591f2697d06008048f966
parentc907ee76d8456fe1d98f40b5febfc7802a73b784
[CRYPTO] cipher: Removed special IV checks for ECB

This patch makes IV operations on ECB fail through nocrypt_iv rather than
calling BUG().  This is needed to generalise CBC/ECB using the template
mechanism.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cipher.c
include/linux/crypto.h