Skip to content

crypto: stop supporting alignmask in shash

Eric Biggers linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17crypto: sparc/crc32c - stop using the shash alignmaskarch/sparc/crypto/crc32c_glue.c+24 -210 replies
2/17crypto: stm32 - remove unnecessary alignmaskdrivers/crypto/stm32/stm32-crc32.c+0 -20 replies
3/17crypto: xilinx/zynqmp-sha - remove unnecessary alignmaskdrivers/crypto/xilinx/zynqmp-sha.c+0 -10 replies
4/17crypto: mips/crc32 - remove redundant setting of alignmask to 0arch/mips/crypto/crc32-mips.c+0 -20 replies
5/17crypto: loongarch/crc32 - remove redundant setting of alignmask to 0arch/loongarch/crypto/crc32-loongarch.c+0 -20 replies
6/17crypto: cbcmac - remove unnecessary alignment logiccrypto/ccm.c+7 -100 replies
7/17crypto: cmac - remove unnecessary alignment logiccrypto/cmac.c+11 -280 replies
8/17crypto: hmac - remove unnecessary alignment logiccrypto/hmac.c+22 -340 replies
9/17crypto: vmac - don't set alignmaskcrypto/vmac.c+0 -10 replies
10/17crypto: xcbc - remove unnecessary alignment logiccrypto/xcbc.c+10 -220 replies
11/17crypto: shash - remove support for nonzero alignmaskcrypto/shash.c+8 -1200 replies
12/17libceph: stop checking crypto_shash_alignmasknet/ceph/messenger_v2.c+0 -40 replies
13/17crypto: drbg - stop checking crypto_shash_alignmaskcrypto/drbg.c+1 -10 replies
14/17crypto: testmgr - stop checking crypto_shash_alignmaskcrypto/testmgr.c+2 -30 replies
15/17crypto: adiantum - stop using alignmask of shash_algcrypto/adiantum.c+1 -20 replies
16/17crypto: hctr2 - stop using alignmask of shash_algcrypto/hctr2.c+1 -20 replies
17/17crypto: shash - remove crypto_shash_alignmaskinclude/crypto/hash.h+0 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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