Skip to contentSkip to conversation

zlib or crypto ?

DISCUSSION Ian Norton 2 participants 2 messages Jan 24, 2005

lore
Share & tools
lore

Ian Norton

author
#0 lore raw

Hi,

I'm trying to write a module that uses deflate, I'm wondering which is the best point to use the zlib functions from, crypto.h or zlib.h

i only need to compress data of about 4k in size,

any suggesions?

Regards

Ian

Signature · 3 lines
/* www.darkspace.org.uk {
 web development, application development, consultancy, firewalls 
 */
#1 lore raw
Quoted 5 lines · Ian Norton

Hi,

I'm trying to write a module that uses deflate, I'm wondering which is the best point to use the zlib functions from, crypto.h or zlib.h

Quoted 8 lines

i only need to compress data of about 4k in size,

any suggesions?

Regards

Ian

shouldn't there be only one copy of zlib in the entire kernel ???