diff options
author | Michal Ludvig <michal@logix.cz> | 2006-05-22 08:28:06 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-06-26 17:34:40 +1000 |
commit | 0e2e861c497e1e649e51f6b68335165af4d950c6 (patch) | |
tree | 3c4d91487fa9e4e9131ac48fd3e18b13700949bd /crypto/compress.c | |
parent | 4cf87f10628e3b8a8fb192632ef23ca022e77420 (diff) | |
download | linux-crypto-0e2e861c497e1e649e51f6b68335165af4d950c6.tar.gz linux-crypto-0e2e861c497e1e649e51f6b68335165af4d950c6.zip |
[CRYPTO] api: Fixed incorrect passing of context instead of tfm
Fix a few omissions in passing TFM instead of CTX to algorithms.
Signed-off-by: Michal Ludvig <michal@logix.cz>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/compress.c')
-rw-r--r-- | crypto/compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/compress.c b/crypto/compress.c index c12fc0c4..f3e07334 100644 --- a/crypto/compress.c +++ b/crypto/compress.c @@ -44,7 +44,7 @@ int crypto_init_compress_ops(struct crypto_tfm *tfm) int ret = 0; struct compress_tfm *ops = &tfm->crt_compress; - ret = tfm->__crt_alg->cra_compress.coa_init(crypto_tfm_ctx(tfm)); + ret = tfm->__crt_alg->cra_compress.coa_init(tfm); if (ret) goto out; @@ -57,5 +57,5 @@ out: void crypto_exit_compress_ops(struct crypto_tfm *tfm) { - tfm->__crt_alg->cra_compress.coa_exit(crypto_tfm_ctx(tfm)); + tfm->__crt_alg->cra_compress.coa_exit(tfm); } |