Crypto Update for 2.6.22

2007-05-01 Thread Herbert Xu
Hi: Here is the crypto update for 2.6.22: Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Summary: * Added API for asynchronous block ciphers. * Small clean-up's. Herbert Xu (9):

Re: [PATCH 5/6] [CRYPTO] cryptd: Add software async crypto daemon

2007-05-01 Thread Herbert Xu
Hi Evgeniy: On Tue, May 01, 2007 at 06:23:29PM +0400, Evgeniy Polyakov wrote: > > As far as I understand, this callback is called each time new tfm is > going to be created? And it is called for each crypto_template cryptd_blkcipher_init_tfm/cryptd_blkcipher_exit_tfm are per-tfm while cryptd_allo

Re: [PATCH] crypto: convert "crypto" subdirectory to UTF-8

2007-05-01 Thread Herbert Xu
On Tue, Apr 17, 2007 at 01:25:49PM -0400, John Anthony Kazos Jr. wrote: > From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> > > Convert the subdirectory "crypto" to UTF-8. The files changed are > and . > > Signed-off-by: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Thanks. Could you fix up inclu

Re: [PATCH 4/5] jffs2: Allow selection of compression mode via a sysfs attribute

2007-05-01 Thread Randy Dunlap
On Tue, 01 May 2007 15:47:19 +0100 Richard Purdie wrote: > Allow selection of the compression mode for jffs2 via a sysfs > attribute. This establishes a sysfs presence for jffs2 through > which other compression options could easily be exported too. > > Signed-off-by: Richard Purdie <[EMAIL PROTE

Re: [PATCH 3/5] jffs2: Add a "favourlzo" compression mode to jffs2

2007-05-01 Thread Randy Dunlap
On Tue, 01 May 2007 15:47:12 +0100 Richard Purdie wrote: > Add a "favourlzo" compression mode to jffs2 which tries to > optimise by size but gives lzo an advantage when comparing sizes. > This means the faster lzo algorithm can be preferred when there > isn't much difference in compressed size (th

Re: [PATCH 2/5] jffs2: Add LZO compression support to jffs2

2007-05-01 Thread Randy Dunlap
On Tue, 01 May 2007 15:47:03 +0100 Richard Purdie wrote: > Add LZO1X compression/decompression support to jffs2. > > LZO's interface doesn't entirely match that required by jffs2 so a > buffer and memcpy is unavoidable. > > Signed-off-by: Richard Purdie <[EMAIL PROTECTED]> > --- > > diff --git

[PATCH 3/5] jffs2: Add a "favourlzo" compression mode to jffs2

2007-05-01 Thread Richard Purdie
Add a "favourlzo" compression mode to jffs2 which tries to optimise by size but gives lzo an advantage when comparing sizes. This means the faster lzo algorithm can be preferred when there isn't much difference in compressed size (the exact threshold can be changed). Signed-off-by: Richard Purdie

[PATCH 5/5] crypto: Add LZO compression support to the crypto interface

2007-05-01 Thread Richard Purdie
crypto: Add LZO compression support to the crypto interface Add LZO1X compression support to the crypto interface, including a couple of tests. Also convert test_deflate into a more generic test_compress() and avoid duplicating the data for compression and decompression tests since this can alway

[PATCH 1/5] Add LZO compression support to the kernel

2007-05-01 Thread Richard Purdie
Add LZO1X compression/decompression support to the kernel. This is based on the standard userspace lzo library, particularly minilzo with the headers much trimmed down and simplified for kernel use. Its structured so that it should still diff with the userspace version for ease of future updating

[PATCH 2/5] jffs2: Add LZO compression support to jffs2

2007-05-01 Thread Richard Purdie
Add LZO1X compression/decompression support to jffs2. LZO's interface doesn't entirely match that required by jffs2 so a buffer and memcpy is unavoidable. Signed-off-by: Richard Purdie <[EMAIL PROTECTED]> --- fs/Kconfig| 10 fs/jffs2/Makefile |1 + fs/jffs2/compr.c

[PATCH 0/5] Add LZO Compression

2007-05-01 Thread Richard Purdie
The following patch series adds LZO compression support to the kernel and exposes it in a variety of places (jffs2, crypto). Its a resend of a previous posted series, rediffed against recent kernels with the couple of minors issues raised by David Woodhouse addressed. This patch series is also av

[PATCH 4/5] jffs2: Allow selection of compression mode via a sysfs attribute

2007-05-01 Thread Richard Purdie
Allow selection of the compression mode for jffs2 via a sysfs attribute. This establishes a sysfs presence for jffs2 through which other compression options could easily be exported too. Signed-off-by: Richard Purdie <[EMAIL PROTECTED]> --- fs/Kconfig |9 fs/jffs2/compr.c | 4

Re: [PATCH 5/6] [CRYPTO] cryptd: Add software async crypto daemon

2007-05-01 Thread Evgeniy Polyakov
On Mon, Apr 16, 2007 at 08:52:20PM +1000, Herbert Xu ([EMAIL PROTECTED]) wrote: > [CRYPTO] cryptd: Add software async crypto daemon > > This patch adds the cryptd module which is a template that takes a > synchronous software crypto algorithm and converts it to an asynchronous > one by executing i