Re: Add LZO compression support to cryptoapi

From: Zoltan Sogor
Date: Wed Dec 05 2007 - 06:25:36 EST


This is a multi-part message in MIME format.Hi Herbert!

Herbert Xu wrote:
Hi Zoltan:

On Tue, Nov 27, 2007 at 10:44:07AM +0100, Zoltan Sogor wrote:
I'm Zoltan Sogor at University of Szeged, Hungary, and we are working on new flash file system (UBIFS) cooperating with Nokia Corp. We would like to use cryptoapi in UBIFS compression/encrypt mechanism.

I've ported LZO compressor into cryptoapi. If you think the patch is good, please apply it.

If you have any problem with the patch, your feedbacks are welcome.

Thanks for your patch! There's just one thing missing, tcrypt vectors.
Please resubmit with them (you can model it after deflate) and I'll add
this to cryptodev-2.6.
I've modified the patch as you suggested and added an other patch which adds
a common compression test function (modifies deflate test case to use the common function).

Cheers,