Skip to content

crypto: Add reqsize to crypto_alg

Herbert Xu linux-crypto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7crypto: api - Mark cra_init/cra_exit as deprecatedinclude/linux/crypto.h+2 -110 replies
2/7crypto: api - Add reqsize to crypto_alginclude/linux/crypto.h+7 -00 replies
3/7crypto: acomp - Use cra_reqsizecrypto/acompress.c+1 -10 replies
4/7crypto: qat - Use cra_reqsize for acompdrivers/crypto/intel/qat/qat_common/qat_comp_algs.c+1 -10 replies
5/7crypto: iaa - Use cra_reqsize for acompdrivers/crypto/intel/iaa/iaa_crypto_main.c+1 -10 replies
6/7crypto: acomp - Remove reqsize fieldcrypto/acompress.c include/crypto/internal/acompress.h+1 -40 replies
7/7crypto: ahash - Use cra_reqsizecrypto/ahash.c include/crypto/hash.h+2 -50 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] crypto: Add reqsize to crypto_alg

This patch series adds a reqsize field to the bas struct crypto_alg. A dynamic reqsize was needed for fallback algorithms. As we will switching to synchronous fallbacks with requests allocated on the stack, this will no longer be necessary.

Also document the fact tha cra_init and cra_exit should not be used in new code.

Herbert Xu (7):
crypto: api - Mark cra_init/cra_exit as deprecated
crypto: api - Add reqsize to crypto_alg
crypto: acomp - Use cra_reqsize
crypto: qat - Use cra_reqsize for acomp
crypto: iaa - Use cra_reqsize for acomp
crypto: acomp - Remove reqsize field
crypto: ahash - Use cra_reqsize

 crypto/acompress.c                            |  2 +-
 crypto/ahash.c                                |  4 ++--
 drivers/crypto/intel/iaa/iaa_crypto_main.c    |  2 +-
 .../intel/qat/qat_common/qat_comp_algs.c      |  2 +-
 include/crypto/hash.h                         |  3 ---
 include/crypto/internal/acompress.h           |  3 ---
 include/linux/crypto.h                        | 20 +++++++++----------
 7 files changed, 14 insertions(+), 22 deletions(-)
Signature · 1 line
2.39.5