[PATCH 0/2] Add struct crypto_alg->cra_check_optimized for crc32c_intel

From: Nicholas A. Bellinger
Date: Thu Mar 10 2011 - 03:21:31 EST


From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

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!

Signed-off-by: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx>

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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/