Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758141AbYH2NsV (ORCPT ); Fri, 29 Aug 2008 09:48:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756624AbYH2NsK (ORCPT ); Fri, 29 Aug 2008 09:48:10 -0400 Received: from vervifontaine.sonytel.be ([80.88.33.193]:33950 "EHLO vervifontaine.sonycom.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756271AbYH2NsJ (ORCPT ); Fri, 29 Aug 2008 09:48:09 -0400 Date: Fri, 29 Aug 2008 15:48:07 +0200 (CEST) From: Geert Uytterhoeven To: Jared Hulbert cc: Artem Bityutskiy , Linux-kernel@vger.kernel.org, linux-embedded@vger.kernel.org, linux-mtd , =?UTF-8?Q?J=C3=B6rn_Engel?= , tim.bird@am.sony.com, cotte@de.ibm.com, nickpiggin@yahoo.com.au Subject: Re: [PATCH 10/10] AXFS: axfs_uncompress.c In-Reply-To: <6934efce0808210735w479075abga9f660e42ab8935d@mail.gmail.com> Message-ID: References: <48AD0126.1050609@gmail.com> <1219318838.18027.68.camel@sauron> <6934efce0808210735w479075abga9f660e42ab8935d@mail.gmail.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-584349381-2081338970-1220017657=:10397" Content-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1735 Lines: 48 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---584349381-2081338970-1220017657=:10397 Content-Type: TEXT/PLAIN; CHARSET=UTF-8 Content-Transfer-Encoding: 8BIT Content-ID: Hi Jared, On Thu, 21 Aug 2008, Jared Hulbert wrote: > > If you want support for multiple decompression algorithms, you can switch > > from using zlib_inflate*() directly to calling zlib through the crypto API. > > Then you can call crypto_alloc_comp() with the correct decompression algorithm > > name. > > > > For squashfs, I had to modify only ca. 40 lines of code. > > I definately want to support multiple formats. I have a flag in the > superblock all ready to go for that. One problem. I'm not sure how > to do it. Can you point us to some reference code? Please take a look at the email with subject [patch 3/3] squashfs: Switch from zlib/inflate to "zlib" crypto module 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@sonycom.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 ---584349381-2081338970-1220017657=:10397-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/