Skip to content

Add struct crypto_alg->cra_check_optimized for crc32c_intel

Nicholas A. Bellinger linux-crypto linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: Add struct crypto_alg->cra_check_optimizedcrypto/api.c include/linux/crypto.h+6 -10 replies
2/2crypto/crc32c: Add crc32c_cra_check_optimized for crc32c_intelcrypto/crc32c.c+23 -00 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/2] Add struct crypto_alg->cra_check_optimized for crc32c_intel

From: Nicholas Bellinger <[email protected]>

Hi Herbert and Co,

This series adds a struct crypto_alg->cra_check_optimized() that can be optionally used by crc32c.ko (and other algorithms) in order to make a request_module() call to load architecture dependent offload code for a libcrypto base algorithm.

This patch is a result of feedback during review for the iscsi_target_mod fabric module here:

Re: [RFC 12/12] iscsi-target: Add Makefile/Kconfig and update TCM
http://marc.info/?l=linux-scsi&m=129974455726437&w=2

Please review and comment,

Thanks!

Nicholas Bellinger (2):
crypto: Add struct crypto_alg->cra_check_optimized crypto/crc32c: Add crc32c_cra_check_optimized for crc32c_intel

 crypto/api.c           |    6 +++++-
 crypto/crc32c.c        |   23 +++++++++++++++++++++++
 include/linux/crypto.h |    1 +
 3 files changed, 29 insertions(+), 1 deletions(-)