]> err.no Git - linux-2.6/commit
[CRYPTO] xcbc: Remove bogus hash/cipher test
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 1 Jan 2008 04:49:17 +0000 (15:49 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:17:00 +0000 (08:17 +1100)
commit94765b9e4cba8e3c51c292338db16aa174894d30
tree9f444b1543acf431c8d4ca5c0d100b270220c1a2
parent1b87887d6c232becba77835b29a424cf78442b7d
[CRYPTO] xcbc: Remove bogus hash/cipher test

When setting the digest size xcbc tests to see if the underlying algorithm
is a hash.  This is silly because we don't allow it to be a hash and we've
specifically requested for a cipher.

This patch removes the bogus test.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/xcbc.c