2010-05-26 00:43:19

by David Miller

[permalink] [raw]
Subject: [PATCH 0/7]: N2CRYPTO fixes and HMAC support


As we discussed side-band the n2crypto driver plumbed async hash
requests to fallbacks incorrectly. And along the way I found
several other bugs as well.

The recent of_device/of_platform_driver infrastructure changes
criss-crossed the n2_crypto driver addition, so some fixups
were needed to restore the build.

Finally, HMAC support because really easy to add once the async
hash fallback stuff was fixed properly, so here it is :-)

Please pull, thanks a lot.

The following changes since commit b1cdc4670b9508fcd47a15fbd12f70d269880b37:
Linus Torvalds (1):
Merge git://git.kernel.org/.../davem/net-2.6

are available in the git repository at:

master.kernel.org:/pub/scm/linux/kernel/git/davem/crypto-2.6.git master

David S. Miller (7):
n2_crypto: Fix build after of_device/of_platform_driver changes.
n2_crypto: Fix MAU kmem_cache name.
n2_crypto: Plumb fallback ahash requests properly.
n2_crypto: Kill n2_base_ctx and helpers.
n2_crypto: Log algorithm success/failure in kernel log.
n2_crypto: Make ahash parameterization explicit.
n2_crypto: Add HMAC support.

drivers/crypto/n2_core.c | 520 +++++++++++++++++++++++++++++++---------------
1 files changed, 352 insertions(+), 168 deletions(-)


2010-05-26 01:38:45

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH 0/7]: N2CRYPTO fixes and HMAC support

On Tue, May 25, 2010 at 05:43:29PM -0700, David Miller wrote:
>
> As we discussed side-band the n2crypto driver plumbed async hash
> requests to fallbacks incorrectly. And along the way I found
> several other bugs as well.
>
> The recent of_device/of_platform_driver infrastructure changes
> criss-crossed the n2_crypto driver addition, so some fixups
> were needed to restore the build.
>
> Finally, HMAC support because really easy to add once the async
> hash fallback stuff was fixed properly, so here it is :-)
>
> Please pull, thanks a lot.

Pulled. Thanks Dave!
--
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/~herbert/pubkey.txt