Re: [PATCH 1/9] Squashfs: move zlib decompression wrapper code into a separate file
From: Geert Uytterhoeven
Date: Thu Dec 10 2009 - 05:01:35 EST
Hi Phillip,
On Thu, Dec 10, 2009 at 01:38, Phillip Lougher
<phillip@xxxxxxxxxxxxxxxxxxx> wrote:
> Artem Bityutskiy wrote:
>>
>> Did you consider using cryptoapi? UBIFS uses zlib/lzo in cryptoapi - it
>> is a very clean way.
Exactly my question, as that's why the Crypto API was extended with
support for partial (de)compression in the first place ;-)
In addition, using the Crypto API has the advantage that Squashfs will
use hardware decompression if/when available.
> Yes I did consider using the cryptoapi, but this doesn't have support for
> lzma in mainline.
IIRC, Felix Fietkau added support for that for OpenWRT...
> My aim is add lzma filesystem support to Squashfs using the existing kernel
> lzma iplementation, and to make as few changes to that as necessary.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/