Searched refs:crypto_scomp (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/include/crypto/internal/ |
D | scompress.h | 19 struct crypto_scomp { struct 35 void *(*alloc_ctx)(struct crypto_scomp *tfm); argument 36 void (*free_ctx)(struct crypto_scomp *tfm, void *ctx); 37 int (*compress)(struct crypto_scomp *tfm, const u8 *src, 40 int (*decompress)(struct crypto_scomp *tfm, const u8 *src, 55 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 57 return container_of(tfm, struct crypto_scomp, base); in __crypto_scomp_tfm() 60 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() 65 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() 70 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm) in crypto_scomp_alg() [all …]
|
/linux-6.6.21/drivers/crypto/cavium/zip/ |
D | zip_crypto.h | 70 void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm); 71 void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm); 72 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *zip_ctx); 73 int zip_scomp_compress(struct crypto_scomp *tfm, 76 int zip_scomp_decompress(struct crypto_scomp *tfm,
|
D | zip_crypto.c | 239 void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_deflate() 258 void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_lzs() 277 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *ctx) in zip_free_scomp_ctx() 285 int zip_scomp_compress(struct crypto_scomp *tfm, in zip_scomp_compress() 294 int zip_scomp_decompress(struct crypto_scomp *tfm, in zip_scomp_decompress()
|
/linux-6.6.21/crypto/ |
D | scompress.c | 117 struct crypto_scomp *scomp = *tfm_ctx; in scomp_acomp_comp_decomp() 175 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_exit_scomp_ops_async() 189 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_init_scomp_ops_async() 190 struct crypto_scomp *scomp; in crypto_init_scomp_ops_async() 216 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_alloc_ctx() 217 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_alloc_ctx() 235 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_free_ctx() 236 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx() 258 .tfmsize = offsetof(struct crypto_scomp, base),
|
D | 842.c | 31 static void *crypto842_alloc_ctx(struct crypto_scomp *tfm) in crypto842_alloc_ctx() 53 static void crypto842_free_ctx(struct crypto_scomp *tfm, void *ctx) in crypto842_free_ctx() 74 static int crypto842_scompress(struct crypto_scomp *tfm, in crypto842_scompress() 88 static int crypto842_sdecompress(struct crypto_scomp *tfm, in crypto842_sdecompress()
|
D | lz4.c | 19 static void *lz4_alloc_ctx(struct crypto_scomp *tfm) in lz4_alloc_ctx() 41 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4_free_ctx() 66 static int lz4_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4_scompress() 93 static int lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4_sdecompress()
|
D | lz4hc.c | 18 static void *lz4hc_alloc_ctx(struct crypto_scomp *tfm) in lz4hc_alloc_ctx() 40 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4hc_free_ctx() 65 static int lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_scompress() 94 static int lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_sdecompress()
|
D | lzo.c | 18 static void *lzo_alloc_ctx(struct crypto_scomp *tfm) in lzo_alloc_ctx() 40 static void lzo_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzo_free_ctx() 75 static int lzo_scompress(struct crypto_scomp *tfm, const u8 *src, in lzo_scompress() 103 static int lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzo_sdecompress()
|
D | lzo-rle.c | 18 static void *lzorle_alloc_ctx(struct crypto_scomp *tfm) in lzorle_alloc_ctx() 40 static void lzorle_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzorle_free_ctx() 75 static int lzorle_scompress(struct crypto_scomp *tfm, const u8 *src, in lzorle_scompress() 103 static int lzorle_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzorle_sdecompress()
|
D | deflate.c | 122 static void *gen_deflate_alloc_ctx(struct crypto_scomp *tfm, int format) in gen_deflate_alloc_ctx() 140 static void *deflate_alloc_ctx(struct crypto_scomp *tfm) in deflate_alloc_ctx() 145 static void *zlib_deflate_alloc_ctx(struct crypto_scomp *tfm) in zlib_deflate_alloc_ctx() 163 static void deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) in deflate_free_ctx() 213 static int deflate_scompress(struct crypto_scomp *tfm, const u8 *src, in deflate_scompress() 269 static int deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, in deflate_sdecompress()
|
D | zstd.c | 106 static void *zstd_alloc_ctx(struct crypto_scomp *tfm) in zstd_alloc_ctx() 137 static void zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) in zstd_free_ctx() 172 static int zstd_scompress(struct crypto_scomp *tfm, const u8 *src, in zstd_scompress() 200 static int zstd_sdecompress(struct crypto_scomp *tfm, const u8 *src, in zstd_sdecompress()
|
D | acompress.c | 22 struct crypto_scomp; 91 extsize += sizeof(struct crypto_scomp *); in crypto_acomp_extsize()
|