From: Steffen Klassert <steffen.klassert@secunet.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org
Subject: Re: [PATCH] crypto: authenc - convert to ahash
Date: Mon, 20 Jul 2009 09:49:56 +0200 [thread overview]
Message-ID: <20090720074956.GB20288@secunet.com> (raw)
In-Reply-To: <20090720065244.GA4026@gondor.apana.org.au>
On Mon, Jul 20, 2009 at 02:52:44PM +0800, Herbert Xu wrote:
>
> This is not quite right. What I had in mind was to use the digest
> interface if the assoc SG list has a single entry in it. Otherwise
> it should just fall back to doing update followed by finup.
>
Ok. I was not even aware that the assoc sg list can have more than one
entry, because esp sets up assoc as a single entry list and this is
actually the only user of authenc as far as I know.
Aside the optimization, another reason to use the digest interface was to
avoid callback functions for init, update and finup. I guess we can not
avoid this if assoc can be a sg list with more than one entry, so I'll
update the patch in this manner.
next prev parent reply other threads:[~2009-07-20 7:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-17 7:47 [PATCH] crypto: authenc - convert to ahash Steffen Klassert
2009-07-20 6:52 ` Herbert Xu
2009-07-20 7:49 ` Steffen Klassert [this message]
2009-07-20 8:22 ` Herbert Xu
2009-07-20 8:39 ` Steffen Klassert
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=20090720074956.GB20288@secunet.com \
--to=steffen.klassert@secunet.com \
--cc=herbert@gondor.apana.org.au \
--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.