[PATCH 00/17] crypto: stop supporting alignmask in shash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
2.42.0




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux