All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>, linux-crypto@vger.kernel.org
Subject: Re: [PATCH] crypto/arc4: now arc needs blockcipher support
Date: Sun, 8 Jul 2012 19:46:24 +0200	[thread overview]
Message-ID: <20120708174624.GD2872@breakpoint.cc> (raw)
In-Reply-To: <20120627065247.GE22920@gondor.apana.org.au>

On Wed, Jun 27, 2012 at 02:52:47PM +0800, Herbert Xu wrote:
> > On a side note: do we pull in the blkcipher block mode for each cipher now to
> > gain some extra performance like the openssl project? I was under the
> > impression that is in general not worth it.
> 
> You mean normal block ciphers? Does it really make that much
> of a difference?

Yes. Jussi added block mode for RC4 instead that auto block-mode that is
prefered over the "automatic" one that is generated otherwise. I don't know
how much performance it brings but I would be supprised if it is a lot on an
average CPU. With this patch in I think it is a matter of time until we get
the AES-CBC & and friends block mode optimized code (which should be a little
faster since comparing to calling a function call for the XOR…) you get the
idea.

Sebastian

  reply	other threads:[~2012-07-08 17:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-26 16:13 [PATCH] crypto/arc4: now arc needs blockcipher support Sebastian Andrzej Siewior
2012-06-27  0:54 ` Sandy Harris
2012-06-27  4:35   ` Jussi Kivilinna
2012-06-27  6:52 ` Herbert Xu
2012-07-08 17:46   ` Sebastian Andrzej Siewior [this message]
2012-07-08 21:55     ` Jussi Kivilinna

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=20120708174624.GD2872@breakpoint.cc \
    --to=sebastian@breakpoint.cc \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.