Lines Matching refs:tfm
106 static void *zstd_alloc_ctx(struct crypto_scomp *tfm) in zstd_alloc_ctx() argument
124 static int zstd_init(struct crypto_tfm *tfm) in zstd_init() argument
126 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_init()
137 static void zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) in zstd_free_ctx() argument
143 static void zstd_exit(struct crypto_tfm *tfm) in zstd_exit() argument
145 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_exit()
164 static int zstd_compress(struct crypto_tfm *tfm, const u8 *src, in zstd_compress() argument
167 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_compress()
172 static int zstd_scompress(struct crypto_scomp *tfm, const u8 *src, in zstd_scompress() argument
192 static int zstd_decompress(struct crypto_tfm *tfm, const u8 *src, in zstd_decompress() argument
195 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_decompress()
200 static int zstd_sdecompress(struct crypto_scomp *tfm, const u8 *src, in zstd_sdecompress() argument