diff options
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/compress.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/crypto/compress.h b/include/crypto/compress.h index b7d228708d6b..86163ef24219 100644 --- a/include/crypto/compress.h +++ b/include/crypto/compress.h | |||
@@ -30,6 +30,26 @@ struct comp_request { | |||
30 | unsigned int avail_out; /* bytes available at next_out */ | 30 | unsigned int avail_out; /* bytes available at next_out */ |
31 | }; | 31 | }; |
32 | 32 | ||
33 | enum zlib_comp_params { | ||
34 | ZLIB_COMP_LEVEL = 1, /* e.g. Z_DEFAULT_COMPRESSION */ | ||
35 | ZLIB_COMP_METHOD, /* e.g. Z_DEFLATED */ | ||
36 | ZLIB_COMP_WINDOWBITS, /* e.g. MAX_WBITS */ | ||
37 | ZLIB_COMP_MEMLEVEL, /* e.g. DEF_MEM_LEVEL */ | ||
38 | ZLIB_COMP_STRATEGY, /* e.g. Z_DEFAULT_STRATEGY */ | ||
39 | __ZLIB_COMP_MAX, | ||
40 | }; | ||
41 | |||
42 | #define ZLIB_COMP_MAX (__ZLIB_COMP_MAX - 1) | ||
43 | |||
44 | |||
45 | enum zlib_decomp_params { | ||
46 | ZLIB_DECOMP_WINDOWBITS = 1, /* e.g. DEF_WBITS */ | ||
47 | __ZLIB_DECOMP_MAX, | ||
48 | }; | ||
49 | |||
50 | #define ZLIB_DECOMP_MAX (__ZLIB_DECOMP_MAX - 1) | ||
51 | |||
52 | |||
33 | struct crypto_pcomp { | 53 | struct crypto_pcomp { |
34 | struct crypto_tfm base; | 54 | struct crypto_tfm base; |
35 | }; | 55 | }; |