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