Lines Matching refs:tfm
122 static void *gen_deflate_alloc_ctx(struct crypto_scomp *tfm, int format) in gen_deflate_alloc_ctx() argument
140 static void *deflate_alloc_ctx(struct crypto_scomp *tfm) in deflate_alloc_ctx() argument
142 return gen_deflate_alloc_ctx(tfm, 0); in deflate_alloc_ctx()
145 static void *zlib_deflate_alloc_ctx(struct crypto_scomp *tfm) in zlib_deflate_alloc_ctx() argument
147 return gen_deflate_alloc_ctx(tfm, 1); in zlib_deflate_alloc_ctx()
150 static int deflate_init(struct crypto_tfm *tfm) in deflate_init() argument
152 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_init()
163 static void deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) in deflate_free_ctx() argument
169 static void deflate_exit(struct crypto_tfm *tfm) in deflate_exit() argument
171 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_exit()
205 static int deflate_compress(struct crypto_tfm *tfm, const u8 *src, in deflate_compress() argument
208 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_compress()
213 static int deflate_scompress(struct crypto_scomp *tfm, const u8 *src, in deflate_scompress() argument
261 static int deflate_decompress(struct crypto_tfm *tfm, const u8 *src, in deflate_decompress() argument
264 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_decompress()
269 static int deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, in deflate_sdecompress() argument