On Thu, Jul 16, 2009 at 11:46:14PM +0800, Herbert Xu wrote:
My suggestion would be to optimise for the common case, where
assoc is a single-entry list. So just put some space aside in
the request context for a two-entry sg list and copy the assoc
sg entry into it and chain it with the rest.
This patchset converts IPsec over to the new ahash interface.
The pachset applies to cryptodev-2.6. I was able to test the synchronous
codepaths, the asynchronous ones are untested.
I'm still somewhat unhappy with the ahash version of authenc, but I decided
to post anyway as a base for
On Thu, Jul 16, 2009 at 01:15:48PM +0200, Steffen Klassert wrote:
Since the calls to the hash algorithms can now return asynchronous, I'd like
to avoid multiple calls to the hash update functions. I'd rather like to do
all the hashing with one call to crypto_ahash_digest(). As it is, this