[PATCH/RFC] crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final}() (was: Re: [PATCH/RFC] crypto: compress - Add comp_request.total_out (was: Re: [PATCH 6/6] squashfs: Make S

2009-03-24 Thread Geert Uytterhoeven
On Tue, 17 Mar 2009, Geert Uytterhoeven wrote: On Wed, 11 Mar 2009, Geert Uytterhoeven wrote: On Sun, 8 Mar 2009, Phillip Lougher wrote: Two API issues of concern (one major, one minor). Both of these relate to the way Squashfs drives the decompression code, where it repeatedly calls

Re: [PATCH] crypto: talitos - protect against possible null ptr upon error

2009-03-24 Thread Kim Phillips
On Sun, 15 Mar 2009 20:21:47 -0500 Lee Nipper lee.nip...@gmail.com wrote: Added test for null descriptor returned from current_desc. Also removed the diagnostic from current_desc, and added one instead in talitos_error to report an EU error without finding the descriptor. Hi Lee, thanks for

Re: [PATCH 1/3] crypto: talitos - scaffolding for new algorithm types

2009-03-24 Thread Kim Phillips
On Sun, 15 Mar 2009 20:21:48 -0500 Lee Nipper lee.nip...@gmail.com wrote: This patch is preparation for adding new algorithm types. Some elements which are AEAD specific were renamed. The algorithm template structure was changed to use crypto_alg, and talitos_alg_alloc was made more

Re: [PATCH 2/3] crypto: talitos - Add ablkcipher algorithms

2009-03-24 Thread Kim Phillips
On Sun, 15 Mar 2009 20:21:49 -0500 Lee Nipper lee.nip...@gmail.com wrote: Add these ablkcipher algorithms: cbc(aes), cbc(des3_ede). ipsec_esp_edesc is renamed to talitos_edesc to use it in ablkcipher routines. erm...actually that shows up in the prior patch (1/3) :). + if (sg_count

Re: [PATCH 3/3] crypto: talitos - Add ahash algorithms (1st cut, digest only)

2009-03-24 Thread Kim Phillips
On Sun, 15 Mar 2009 20:21:50 -0500 Lee Nipper lee.nip...@gmail.com wrote: + /* first DWORD empty */ + desc-ptr[0].len = 0; + desc-ptr[0].ptr = 0; + desc-ptr[0].j_extent = 0; + + /* second DWORD empty */ + desc-ptr[1].len = 0; + desc-ptr[1].ptr = 0; +

Re: [PATCH] crypto: talitos - protect against possible null ptr upon error

2009-03-24 Thread Lee Nipper
On Tue, Mar 24, 2009 at 16:23, Kim Phillips kim.phill...@freescale.com wrote: On Sun, 15 Mar 2009 20:21:47 -0500 Lee Nipper lee.nip...@gmail.com wrote: Added test for null descriptor returned from current_desc. Also removed the diagnostic from current_desc, and added one instead in