Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758114AbZAMQBg (ORCPT ); Tue, 13 Jan 2009 11:01:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753452AbZAMP76 (ORCPT ); Tue, 13 Jan 2009 10:59:58 -0500 Received: from vervifontaine.sonytel.be ([80.88.33.193]:47620 "EHLO vervifontaine.sonycom.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753051AbZAMP7x (ORCPT ); Tue, 13 Jan 2009 10:59:53 -0500 From: Geert Uytterhoeven To: Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH/RFC 0/7] Partial (de)compression API Date: Tue, 13 Jan 2009 16:59:39 +0100 Message-Id: <1231862386-11128-1-git-send-email-Geert.Uytterhoeven@sonycom.com> X-Mailer: git-send-email 1.6.0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2301 Lines: 57 The following patch series adds support for partial (de)compression to the CRYPTO API, and modifies SquashFS 4 to use this: [1] crypto: compress - Add pcomp interface [2] crypto: testmgr - Add support for the pcomp interface [3] crypto: api - Add type init function to crypto_tfm [4] crypto: api - Export pcomp through comp [5] crypto: deflate - switch to pcomp [6] crypto: testmgr - swith deflate test to pcomp [7] squashfs: Make SquashFS 4 use the new pcomp crypto interface The backwards-compatibility layer has been tested with IPComp and UBIFS. Changes since last version (2008-12-17): - Model the "pcomp" crypto interface on the new crypto types, - Remove the comp_request parameter from *_{,de}compress_init(), - Update for recent Squashfs changes (Squashfs is now in mainline). Thanks for your comments! crypto/Kconfig | 6 +- crypto/Makefile | 2 + crypto/api.c | 20 ++- crypto/deflate.c | 350 ++++++++++++++++++++++++++---------- crypto/pcompress.c | 203 +++++++++++++++++++++ crypto/testmgr.c | 185 +++++++++++++++++++- crypto/testmgr.h | 33 ++++- fs/Kconfig | 3 +- fs/squashfs/block.c | 81 +++++---- fs/squashfs/squashfs_fs_sb.h | 2 +- fs/squashfs/super.c | 36 +++- include/crypto/compress.h | 147 +++++++++++++++ include/crypto/internal/compress.h | 29 +++ include/linux/crypto.h | 9 +- 14 files changed, 953 insertions(+), 153 deletions(-) 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 -- 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/