27 #ifndef WOLF_CRYPT_COMPRESS_H 28 #define WOLF_CRYPT_COMPRESS_H 39 #define COMPRESS_FIXED 1 41 #define LIBZ_WINBITS_GZIP 16 44 WOLFSSL_API
int wc_Compress(byte*, word32,
const byte*, word32, word32);
45 WOLFSSL_API
int wc_Compress_ex(byte* out, word32 outSz,
const byte* in,
46 word32 inSz, word32 flags, word32 windowBits);
47 WOLFSSL_API
int wc_DeCompress(byte*, word32,
const byte*, word32);
48 WOLFSSL_API
int wc_DeCompress_ex(byte* out, word32 outSz,
const byte* in,
49 word32 inSz,
int windowBits);
WOLFSSL_API int wc_Compress(byte *, word32, const byte *, word32, word32)
This function compresses the given input data using Huffman coding and stores the output in out...
Definition: compress.c:125
WOLFSSL_API int wc_DeCompress(byte *, word32, const byte *, word32)
This function decompresses the given compressed data using Huffman coding and stores the output in ou...
Definition: compress.c:191