2005-01-24 12:44:45

by Ian Norton

[permalink] [raw]
Subject: zlib or crypto ?

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

--
/* http://www.darkspace.org.uk {
web development, application development, consultancy, firewalls
*/


2005-01-24 12:55:52

by Raphael Jacquot

[permalink] [raw]
Subject: Re: zlib or crypto ?

Ian Norton wrote:
> 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
>

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