Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Cc: linux-crypto@vger.kernel.org
Subject: Re: [PATCH] camellia: simplify key setup and CAMELLIA_ROUNDSM macro
Date: Wed, 14 Mar 2012 20:30:53 +1100	[thread overview]
Message-ID: <20120314093052.GA2847@gondor.apana.org.au> (raw)
In-Reply-To: <20120303115900.25935.68751.stgit@localhost6.localdomain6>

On Sat, Mar 03, 2012 at 01:59:00PM +0200, Jussi Kivilinna wrote:
> camellia_setup_tail() applies 'inverse of the last half of P-function' to
> subkeys, which is unneeded if keys are applied directly to yl/yr in
> CAMELLIA_ROUNDSM.
> 
> Patch speeds up key setup and should speed up CAMELLIA_ROUNDSM as applying
> key to yl/yr early has less register dependencies.
> 
> Quick tcrypt camellia results:
>  x86_64, AMD Phenom II, ~5% faster
>  x86_64, Intel Core 2, ~0.5% faster
>  i386, Intel Atom N270, ~1% faster
> 
> Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>

Patch applied.  Thanks!
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

      reply	other threads:[~2012-03-14  9:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 11:59 [PATCH] camellia: simplify key setup and CAMELLIA_ROUNDSM macro Jussi Kivilinna
2012-03-14  9:30 ` Herbert Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120314093052.GA2847@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=jussi.kivilinna@mbnet.fi \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox