Skip to contentSkip to conversation

: N2CRYPTO fixes and HMAC support

PATCH In review David Miller 2 participants 2 messages May 26, 2010 Crypto API

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

cover : 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(-)
maintainer
#1 lore raw
Quoted 5 lines · David Miller

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.

Quoted 8 lines

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!

Signature · 4 lines
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