]> git.baikalelectronics.ru Git - kernel.git/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)
commit14116d683136082a107f8d93a088ae168ff2e769
treea782e2662cbdb6c7ad7591f2697d06008048f966
parent20f4e02992790d1bbe6a273d825ae587834baf31
[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