crypto: stop supporting alignmask in shash
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 1 replyIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/17] crypto: stop supporting alignmask in shash
The alignmask support in the shash algorithm type is virtually unused and has no real point. This patch series removes it in order to reduce API overhead and complexity.
This series does not change anything for ahash.
Eric Biggers (17):
crypto: sparc/crc32c - stop using the shash alignmask
crypto: stm32 - remove unnecessary alignmask
crypto: xilinx/zynqmp-sha - remove unnecessary alignmask
crypto: mips/crc32 - remove redundant setting of alignmask to 0
crypto: loongarch/crc32 - remove redundant setting of alignmask to 0
crypto: cbcmac - remove unnecessary alignment logic
crypto: cmac - remove unnecessary alignment logic
crypto: hmac - remove unnecessary alignment logic
crypto: vmac - don't set alignmask
crypto: xcbc - remove unnecessary alignment logic
crypto: shash - remove support for nonzero alignmask
libceph: stop checking crypto_shash_alignmask
crypto: drbg - stop checking crypto_shash_alignmask
crypto: testmgr - stop checking crypto_shash_alignmask
crypto: adiantum - stop using alignmask of shash_alg
crypto: hctr2 - stop using alignmask of shash_alg
crypto: shash - remove crypto_shash_alignmask
arch/loongarch/crypto/crc32-loongarch.c | 2 - arch/mips/crypto/crc32-mips.c | 2 - arch/sparc/crypto/crc32c_glue.c | 45 +++++---- crypto/adiantum.c | 3 +- crypto/ccm.c | 17 ++-- crypto/cmac.c | 39 ++------ crypto/drbg.c | 2 +- crypto/hctr2.c | 3 +- crypto/hmac.c | 56 ++++------- crypto/shash.c | 128 ++---------------------- crypto/testmgr.c | 5 +- crypto/vmac.c | 1 - crypto/xcbc.c | 32 ++---- drivers/crypto/stm32/stm32-crc32.c | 2 - drivers/crypto/xilinx/zynqmp-sha.c | 1 - include/crypto/hash.h | 6 -- net/ceph/messenger_v2.c | 4 - 17 files changed, 87 insertions(+), 261 deletions(-)
base-commit: 5b90073defd1a52aa8120403d79f6e0fc10c87ee
prerequisite-patch-id: 77bd65b07cfc27f172b1698e0c4d43d6aba7ad8f
prerequisite-patch-id: 3ccf94d7048db0fee9407b5b5fa48554e115b56b
prerequisite-patch-id: e447f81a392f2f3955206357d72032cf691c7e11
Signature · 1 line
2.42.0