Searched refs:crypto_scomp (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/include/crypto/internal/ |
D | scompress.h | 20 struct crypto_scomp { struct 34 void *(*alloc_ctx)(struct crypto_scomp *tfm); argument 35 void (*free_ctx)(struct crypto_scomp *tfm, void *ctx); 36 int (*compress)(struct crypto_scomp *tfm, const u8 *src, 39 int (*decompress)(struct crypto_scomp *tfm, const u8 *src, 50 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 52 return container_of(tfm, struct crypto_scomp, base); in __crypto_scomp_tfm() 55 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() 60 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp() 65 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm) in crypto_scomp_alg() [all …]
|
/linux-4.19.296/crypto/ |
D | scompress.c | 147 struct crypto_scomp *scomp = *tfm_ctx; in scomp_acomp_comp_decomp() 200 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_exit_scomp_ops_async() 213 struct crypto_scomp **ctx = crypto_tfm_ctx(tfm); in crypto_init_scomp_ops_async() 214 struct crypto_scomp *scomp; in crypto_init_scomp_ops_async() 240 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_alloc_ctx() 241 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_alloc_ctx() 259 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_free_ctx() 260 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx() 277 .tfmsize = offsetof(struct crypto_scomp, base),
|
D | 842.c | 40 static void *crypto842_alloc_ctx(struct crypto_scomp *tfm) in crypto842_alloc_ctx() 62 static void crypto842_free_ctx(struct crypto_scomp *tfm, void *ctx) in crypto842_free_ctx() 83 static int crypto842_scompress(struct crypto_scomp *tfm, in crypto842_scompress() 97 static int crypto842_sdecompress(struct crypto_scomp *tfm, in crypto842_sdecompress()
|
D | lz4hc.c | 31 static void *lz4hc_alloc_ctx(struct crypto_scomp *tfm) in lz4hc_alloc_ctx() 53 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4hc_free_ctx() 78 static int lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_scompress() 107 static int lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_sdecompress()
|
D | lzo.c | 31 static void *lzo_alloc_ctx(struct crypto_scomp *tfm) in lzo_alloc_ctx() 53 static void lzo_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzo_free_ctx() 88 static int lzo_scompress(struct crypto_scomp *tfm, const u8 *src, in lzo_scompress() 116 static int lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzo_sdecompress()
|
D | lz4.c | 32 static void *lz4_alloc_ctx(struct crypto_scomp *tfm) in lz4_alloc_ctx() 54 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4_free_ctx() 79 static int lz4_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4_scompress() 106 static int lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4_sdecompress()
|
D | deflate.c | 126 static void *gen_deflate_alloc_ctx(struct crypto_scomp *tfm, int format) in gen_deflate_alloc_ctx() 144 static void *deflate_alloc_ctx(struct crypto_scomp *tfm) in deflate_alloc_ctx() 149 static void *zlib_deflate_alloc_ctx(struct crypto_scomp *tfm) in zlib_deflate_alloc_ctx() 167 static void deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) in deflate_free_ctx() 217 static int deflate_scompress(struct crypto_scomp *tfm, const u8 *src, in deflate_scompress() 273 static int deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, in deflate_sdecompress()
|
D | zstd.c | 114 static void *zstd_alloc_ctx(struct crypto_scomp *tfm) in zstd_alloc_ctx() 145 static void zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) in zstd_free_ctx() 180 static int zstd_scompress(struct crypto_scomp *tfm, const u8 *src, in zstd_scompress() 208 static int zstd_sdecompress(struct crypto_scomp *tfm, const u8 *src, in zstd_sdecompress()
|
D | acompress.c | 96 extsize += sizeof(struct crypto_scomp *); in crypto_acomp_extsize()
|