Searched refs:crypto_pcomp (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/include/crypto/
H A Dcompress.h53 struct crypto_pcomp { struct
58 int (*compress_setup)(struct crypto_pcomp *tfm, void *params,
60 int (*compress_init)(struct crypto_pcomp *tfm);
61 int (*compress_update)(struct crypto_pcomp *tfm,
63 int (*compress_final)(struct crypto_pcomp *tfm,
65 int (*decompress_setup)(struct crypto_pcomp *tfm, void *params,
67 int (*decompress_init)(struct crypto_pcomp *tfm);
68 int (*decompress_update)(struct crypto_pcomp *tfm,
70 int (*decompress_final)(struct crypto_pcomp *tfm,
76 extern struct crypto_pcomp *crypto_alloc_pcomp(const char *alg_name, u32 type,
79 static inline struct crypto_tfm *crypto_pcomp_tfm(struct crypto_pcomp *tfm) crypto_pcomp_tfm()
84 static inline void crypto_free_pcomp(struct crypto_pcomp *tfm) crypto_free_pcomp()
94 static inline struct pcomp_alg *crypto_pcomp_alg(struct crypto_pcomp *tfm) crypto_pcomp_alg()
99 static inline int crypto_compress_setup(struct crypto_pcomp *tfm, crypto_compress_setup()
105 static inline int crypto_compress_init(struct crypto_pcomp *tfm) crypto_compress_init()
110 static inline int crypto_compress_update(struct crypto_pcomp *tfm, crypto_compress_update()
116 static inline int crypto_compress_final(struct crypto_pcomp *tfm, crypto_compress_final()
122 static inline int crypto_decompress_setup(struct crypto_pcomp *tfm, crypto_decompress_setup()
128 static inline int crypto_decompress_init(struct crypto_pcomp *tfm) crypto_decompress_init()
133 static inline int crypto_decompress_update(struct crypto_pcomp *tfm, crypto_decompress_update()
139 static inline int crypto_decompress_final(struct crypto_pcomp *tfm, crypto_decompress_final()
/linux-4.1.27/crypto/
H A Dzlib.c81 static int zlib_compress_setup(struct crypto_pcomp *tfm, void *params, zlib_compress_setup()
130 static int zlib_compress_init(struct crypto_pcomp *tfm) zlib_compress_init()
143 static int zlib_compress_update(struct crypto_pcomp *tfm, zlib_compress_update()
181 static int zlib_compress_final(struct crypto_pcomp *tfm, zlib_compress_final()
212 static int zlib_decompress_setup(struct crypto_pcomp *tfm, void *params, zlib_decompress_setup()
244 static int zlib_decompress_init(struct crypto_pcomp *tfm) zlib_decompress_init()
257 static int zlib_decompress_update(struct crypto_pcomp *tfm, zlib_decompress_update()
296 static int zlib_decompress_final(struct crypto_pcomp *tfm, zlib_decompress_final()
H A Dpcompress.c90 .tfmsize = offsetof(struct crypto_pcomp, base),
93 struct crypto_pcomp *crypto_alloc_pcomp(const char *alg_name, u32 type, crypto_alloc_pcomp()
H A Dtestmgr.c1264 static int test_pcomp(struct crypto_pcomp *tfm, test_pcomp()
1614 struct crypto_pcomp *tfm; alg_test_pcomp()

Completed in 106 milliseconds