Skip to content

: N2CRYPTO fixes and HMAC support

David Miller linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7n2_crypto: Fix build after of_device/of_platform_driver changes.drivers/crypto/n2_core.c+16 -100 replies
2/7n2_crypto: Fix MAU kmem_cache name.drivers/crypto/n2_core.c+1 -10 replies
3/7n2_crypto: Plumb fallback ahash requests properly.drivers/crypto/n2_core.c+48 -470 replies
4/7n2_crypto: Kill n2_base_ctx and helpers.drivers/crypto/n2_core.c+1 -140 replies
5/7n2_crypto: Log algorithm success/failure in kernel log.drivers/crypto/n2_core.c+6 -00 replies
6/7n2_crypto: Make ahash parameterization explicit.drivers/crypto/n2_core.c+99 -1170 replies
7/7n2_crypto: Add HMAC support.drivers/crypto/n2_core.c+206 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)