summaryrefslogtreecommitdiff
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-08-06 23:03:08 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-21 11:41:01 +1000
commit6ac10371c629dcdfc8a112ff8bd42179b65a5e4d (patch)
treeb3e90038ceae247f841d2b3cd6b9a6457d1c5c26 /crypto/cipher.c
parent1ee029aa754454f3e966a907cc128e1531ce55fb (diff)
downloadlinux-crypto-6ac10371c629dcdfc8a112ff8bd42179b65a5e4d.tar.gz
linux-crypto-6ac10371c629dcdfc8a112ff8bd42179b65a5e4d.zip
[CRYPTO] crc32c: Fix unconventional setkey usage
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>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions