[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.00.0902191415220.14749@vixen.sonytel.be>
Date: Thu, 19 Feb 2009 14:42:14 +0100 (CET)
From: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
To: Jared Hulbert <jaredeh@...il.com>
cc: Herbert Xu <herbert@...dor.apana.org.au>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Phillip Lougher <phillip@...gher.demon.co.uk>
Subject: Re: [PATCH 5/5] squashfs: Make SquashFS 4 use the new pcomp crypto
interface
Hi Jared,
How's AXFS going?
On Wed, 18 Feb 2009, Jared Hulbert wrote:
> > Modify SquashFS 4 to use the new "pcomp" crypto interface for decompression,
> > instead of calling the underlying zlib library directly. This simplifies e.g.
> > the addition of support for hardware decompression and different decompression
> > algorithms.
>
> When did this become an option? I thought zlib in the crypto
> interface was not compatible with zlib. Is that not the case anymore?
The "deflate" crypto module uses hardcoded parameters for the raw deflate mode,
that's why it's incompatible.
However, the new "zlib" crypto module is compatible with zlib, as you can
specify the all (de)compression parameters.
BTW, you probably want to read the full patch series, including the
introduction :-)
> Have you looked at AXFS enough to judge if this would be as easy a
> job as it looks to convert?
I looked at the relevant code in AXFS before. Yes, I think it would be an
easy job.
> How do you get from here to supporting alternate compressors?
Your file system code needs a mapping from compressor ID (as stored in your
file system metadata) to crypto module name and (de)compression parameters.
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@...ycom.com
Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists