Home
last modified time | relevance | path

Searched refs:zip_ctx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/crypto/cavium/zip/
H A Dzip_crypto.c217 zip_ctx_exit(zip_ctx); in zip_free_comp_ctx()
244 zip_ctx = kzalloc(sizeof(*zip_ctx), GFP_KERNEL); in zip_alloc_scomp_ctx_deflate()
245 if (!zip_ctx) in zip_alloc_scomp_ctx_deflate()
251 kfree_sensitive(zip_ctx); in zip_alloc_scomp_ctx_deflate()
255 return zip_ctx; in zip_alloc_scomp_ctx_deflate()
263 zip_ctx = kzalloc(sizeof(*zip_ctx), GFP_KERNEL); in zip_alloc_scomp_ctx_lzs()
264 if (!zip_ctx) in zip_alloc_scomp_ctx_lzs()
270 kfree_sensitive(zip_ctx); in zip_alloc_scomp_ctx_lzs()
274 return zip_ctx; in zip_alloc_scomp_ctx_lzs()
281 zip_ctx_exit(zip_ctx); in zip_free_scomp_ctx()
[all …]
H A Dzip_crypto.h72 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *zip_ctx);