Home
last modified time | relevance | path

Searched refs:acomp (Results 1 – 3 of 3) sorted by relevance

/crypto/
A Dacompress.c74 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm()
77 alg->exit(acomp); in crypto_acomp_exit_tfm()
79 if (acomp_is_async(acomp)) in crypto_acomp_exit_tfm()
80 crypto_free_acomp(crypto_acomp_fb(acomp)); in crypto_acomp_exit_tfm()
86 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm()
93 if (acomp_is_async(acomp)) { in crypto_acomp_init_tfm()
106 acomp->compress = alg->compress; in crypto_acomp_init_tfm()
107 acomp->decompress = alg->decompress; in crypto_acomp_init_tfm()
108 acomp->reqsize = alg->base.cra_reqsize; in crypto_acomp_init_tfm()
110 acomp->base.exit = crypto_acomp_exit_tfm; in crypto_acomp_init_tfm()
[all …]
A Ddeflate.c230 static struct acomp_alg acomp = { variable
242 return crypto_register_acomp(&acomp); in deflate_mod_init()
247 crypto_unregister_acomp(&acomp); in deflate_mod_fini()
A Dtestmgr.c3534 struct crypto_acomp *acomp; in alg_test_comp() local
3537 acomp = crypto_alloc_acomp(driver, type, mask); in alg_test_comp()
3538 if (IS_ERR(acomp)) { in alg_test_comp()
3539 if (PTR_ERR(acomp) == -ENOENT) in alg_test_comp()
3542 driver, PTR_ERR(acomp)); in alg_test_comp()
3543 return PTR_ERR(acomp); in alg_test_comp()
3545 err = test_acomp(acomp, desc->suite.comp.comp.vecs, in alg_test_comp()
3549 crypto_free_acomp(acomp); in alg_test_comp()

Completed in 15 milliseconds