Re: [PATCH 1/1]: Add countersize to CTR

2007-10-26 Thread Joy Latten
On Fri, 2007-10-26 at 14:59 +0800, Herbert Xu wrote: >On Tue, Oct 23, 2007 at 03:26:29PM -0500, Joy Latten wrote: > > > > + err = crypto_attr_u32(tb[4], &countersize); > > + if (err) > > + goto out_put_alg; > > + > > /* verify size of nonce + iv + counter */ > > err = -EINVAL;

Re: [PATCH 2/2] [CRYPTO] users: Fix up scatterlist conversion errors

2007-10-26 Thread Vlad Yasevich
Herbert Xu wrote: > [CRYPTO] users: Fix up scatterlist conversion errors > > This patch fixes the errors made in the users of the crypto layer during > the sg_init_table conversion. It also adds a few conversions that were > missing altogether. > > Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> >

[PATCH 2/2] [CRYPTO] users: Fix up scatterlist conversion errors

2007-10-26 Thread Herbert Xu
[CRYPTO] users: Fix up scatterlist conversion errors This patch fixes the errors made in the users of the crypto layer during the sg_init_table conversion. It also adds a few conversions that were missing altogether. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- drivers/crypto/padlock-sha.

[PATCH 1/2] [CRYPTO] tcrypt: Move sg_init_table out of timing loops

2007-10-26 Thread Herbert Xu
[CRYPTO] tcrypt: Move sg_init_table out of timing loops This patch moves the sg_init_table out of the timing loops for hash algorithms so that it doesn't impact on the speed test results. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> --- crypto/tcrypt.c | 20 ++-- 1 files chan

[0/2] [CRYPTO] users: Fix up remaining sg issues

2007-10-26 Thread Herbert Xu
Hi Dave: Here's a couple of patches to fix up the crypto users with respect to the scatterlist change. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbe

Re: [CRYPTO] hifn_795x: Update for new scatterlist API

2007-10-26 Thread Evgeniy Polyakov
Hi Herbert. On Fri, Oct 26, 2007 at 08:10:41PM +0800, Herbert Xu ([EMAIL PROTECTED]) wrote: > Hi Evgeniy: > > I've updated the HIFN driver to work with the new scatterlist > API. Please have a look to see if I've done anything stupid. Using some script I think, since it also updated debug text

[CRYPTO] hifn_795x: Update for new scatterlist API

2007-10-26 Thread Herbert Xu
Hi Evgeniy: I've updated the HIFN driver to work with the new scatterlist API. Please have a look to see if I've done anything stupid. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: Patch to support stream ciphers

2007-10-26 Thread Evgeniy Polyakov
Hi. On Fri, Oct 26, 2007 at 01:55:48AM +0800, Tan Swee Heng ([EMAIL PROTECTED]) wrote: > Hi all, > > I am learning CryptoAPI by porting stream ciphers into it > (particularly eSTREAM candidates at > ). As eSTREAM ciphers manipulates IV > differently depending on

Re: [PATCH 5/5] camellia: de-unrolling, 64bit-ization

2007-10-26 Thread Noriaki TAKAMIYA
>> Thu, 25 Oct 2007 12:48:29 +0100 >> [Subject: [PATCH 5/5] camellia: de-unrolling, 64bit-ization] >> Denys Vlasenko <[EMAIL PROTECTED]> wrote... > On Thursday 25 October 2007 12:43, Denys Vlasenko wrote: > > Hi Hervert, > > > > Please review and maybe propagate upstream following patches. > > >

Re: [PATCH 1/5] camellia: cleanup

2007-10-26 Thread Noriaki TAKAMIYA
Hi, >> Thu, 25 Oct 2007 12:45:04 +0100 >> [Subject: [PATCH 1/5] camellia: cleanup] >> Denys Vlasenko <[EMAIL PROTECTED]> wrote... > On Thursday 25 October 2007 12:43, Denys Vlasenko wrote: > > Hi Hervert, > > > > Please review and maybe propagate upstream following patches. > > > > camellia1.di

Re: [PATCH 2/5] camellia: cleanup

2007-10-26 Thread Noriaki TAKAMIYA
>> Thu, 25 Oct 2007 12:45:42 +0100 >> [Subject: [PATCH 2/5] camellia: cleanup] >> Denys Vlasenko <[EMAIL PROTECTED]> wrote... > On Thursday 25 October 2007 12:43, Denys Vlasenko wrote: > > Hi Hervert, > > > > Please review and maybe propagate upstream following patches. > > > > camellia2.diff >

Re: [PATCH 4/5] camellia: de-unrolling

2007-10-26 Thread Noriaki TAKAMIYA
Hi, >> Thu, 25 Oct 2007 12:47:16 +0100 >> [Subject: [PATCH 4/5] camellia: de-unrolling] >> Denys Vlasenko <[EMAIL PROTECTED]> wrote... > On Thursday 25 October 2007 12:43, Denys Vlasenko wrote: > > Hi Hervert, > > > > Please review and maybe propagate upstream following patches. > > > > camelli

Re: [PATCH 3/5] camellia: cleanup

2007-10-26 Thread Noriaki TAKAMIYA
>> Thu, 25 Oct 2007 12:46:35 +0100 >> [Subject: [PATCH 3/5] camellia: cleanup] >> Denys Vlasenko <[EMAIL PROTECTED]> wrote... > On Thursday 25 October 2007 12:43, Denys Vlasenko wrote: > > Hi Hervert, > > > > Please review and maybe propagate upstream following patches. > > > > camellia3.diff >

Re: [PATCH] do not unroll big stuff in twofish key setup if OPTIMIZE_FOR_SIZE

2007-10-26 Thread Herbert Xu
On Thu, Oct 25, 2007 at 07:33:55PM +0100, Denys Vlasenko wrote: > > See attached patch. > > Signed-off-by: Denys Vlasenko <[EMAIL PROTECTED]> Patch applied. Thanks a lot Denys. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondo

Re: [PATCH 1/1]: Add countersize to CTR

2007-10-26 Thread Herbert Xu
On Tue, Oct 23, 2007 at 03:26:29PM -0500, Joy Latten wrote: > > + err = crypto_attr_u32(tb[4], &countersize); > + if (err) > + goto out_put_alg; > + > /* verify size of nonce + iv + counter */ > err = -EINVAL; > - if ((noncesize + ivsize) >= alg->cra_blocksize) >