Searched refs:crypto_scomp (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/include/crypto/internal/ |
A D | scompress.h | 16 struct crypto_scomp { struct 30 void *(*alloc_ctx)(struct crypto_scomp *tfm); argument 31 void (*free_ctx)(struct crypto_scomp *tfm, void *ctx); 32 int (*compress)(struct crypto_scomp *tfm, const u8 *src, 35 int (*decompress)(struct crypto_scomp *tfm, const u8 *src, 48 return container_of(tfm, struct crypto_scomp, base); in __crypto_scomp_tfm() 56 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() 66 static inline void *crypto_scomp_alloc_ctx(struct crypto_scomp *tfm) in crypto_scomp_alloc_ctx() 71 static inline void crypto_scomp_free_ctx(struct crypto_scomp *tfm, in crypto_scomp_free_ctx() 77 static inline int crypto_scomp_compress(struct crypto_scomp *tfm, in crypto_scomp_compress() [all …]
|
/linux-6.3-rc2/drivers/crypto/cavium/zip/ |
A 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,
|
A 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.3-rc2/crypto/ |
A D | scompress.c | 124 struct crypto_scomp *scomp = *tfm_ctx; in scomp_acomp_comp_decomp() 176 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_exit_scomp_ops_async() 190 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_init_scomp_ops_async() 191 struct crypto_scomp *scomp; in crypto_init_scomp_ops_async() 217 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_alloc_ctx() 218 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_alloc_ctx() 236 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_free_ctx() 237 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx() 254 .tfmsize = offsetof(struct crypto_scomp, base),
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | acompress.c | 87 extsize += sizeof(struct crypto_scomp *); in crypto_acomp_extsize()
|
Completed in 11 milliseconds