[CRYPTO] crc32c: Fix unconventional setkey usage
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 6 Aug 2006 13:03:08 +0000 (23:03 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:41:01 +0000 (11:41 +1000)
The convention for setkey is that once it is set it should not change,
in particular, init must not wipe out the key set by it.  In fact, init
should always be used after setkey before any digestion is performed.

The only user of crc32c that sets the key is tcrypt.  This patch adds
the necessary init calls there.

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

No differences found