summaryrefslogtreecommitdiffstats
path: root/crypto/cast5.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
commit25cdbcd9e5d20e431f829cafce48a418830011f4 (patch)
tree0dff8422d2b0b1da1d3505b0ad0e840f6f0fd66d /crypto/cast5.c
parent58ec4152895b96f047dcf5e490ee49b4c574dec3 (diff)
downloadop-kernel-dev-25cdbcd9e5d20e431f829cafce48a418830011f4.zip
op-kernel-dev-25cdbcd9e5d20e431f829cafce48a418830011f4.tar.gz
[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/cast5.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud