Skip to content

crypto: cleanup - alg and shash init/exit cleanups and remove unneeded cra_list initializations

Jussi Kivilinna linux-crypto linux-s390 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14crypto: tea - use crypto_[un]register_algscrypto/tea.c+6 -350 replies
2/14crypto: crypto_null - use crypto_[un]register_algscrypto/crypto_null.c+18 -390 replies
3/14crypto: des - use crypto_[un]register_algscrypto/des_generic.c+5 -200 replies
4/14crypto: serpent - use crypto_[un]register_algscrypto/serpent_generic.c+19 -340 replies
5/14crypto: ansi_cprng - use crypto_[un]register_algscrypto/ansi_cprng.c+23 -400 replies
6/14crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at oncecrypto/shash.c include/crypto/internal/hash.h+38 -00 replies
7/14crypto: tiger - use crypto_[un]register_shashescrypto/tgr192.c+6 -320 replies
8/14crypto: sha256 - use crypto_[un]register_shashescrypto/sha256_generic.c+5 -200 replies
9/14crypto: sha512 - use crypto_[un]register_shashescrypto/sha512_generic.c+5 -150 replies
10/14crypto: whirlpool - use crypto_[un]register_shashescrypto/wp512.c+6 -330 replies
11/14crypto: cleanup - remove unneeded crypto_alg.cra_list initializationscrypto/aes_generic.c crypto/anubis.c crypto/blowfish_generic.c +12 more+0 -150 replies
12/14crypto: arch/x86 - cleanup - remove unneeded crypto_alg.cra_list initializationsarch/x86/crypto/aes_glue.c arch/x86/crypto/aesni-intel_glue.c arch/x86/crypto/blowfish_glue.c +8 more+1 -540 replies
13/14crypto: drivers - remove cra_list initializationdrivers/crypto/atmel-aes.c drivers/crypto/atmel-tdes.c drivers/crypto/geode-aes.c +9 more+0 -212 replies
14/14crypto: arch/s390 - cleanup - remove unneeded cra_list initializationarch/s390/crypto/aes_s390.c arch/s390/crypto/des_s390.c arch/s390/crypto/ghash_s390.c+0 -161 reply

Reviews trailers per patch

1 of 14 patches has a Reviewed-by or Acked-by.

PatchKent YoderVladimir Zapolskiy
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14A-b A-b
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] crypto: cleanup - alg and shash init/exit cleanups and remove unneeded cra_list initializations

Patches 1-5 change various cipher modules to use new crypto_register_algs and crypto_unregister_algs.

Patch 6 adds new crypto_register_shashes and crypto_unregister_shashes functions for registering multiple shash algorithms at same time.

Patches 7-10 change various shash modules to use new crypto_register_shashes and crypto_unregister_shashes.

Patches 11-14 remove unneeded .cra_list initializations.

---

Jussi Kivilinna (14):
crypto: tea - use crypto_[un]register_algs
crypto: crypto_null - use crypto_[un]register_algs
crypto: des - use crypto_[un]register_algs
crypto: serpent - use crypto_[un]register_algs
crypto: ansi_cprng - use crypto_[un]register_algs
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at once
crypto: tiger - use crypto_[un]register_shashes
crypto: sha256 - use crypto_[un]register_shashes
crypto: sha512 - use crypto_[un]register_shashes
crypto: whirlpool - use crypto_[un]register_shashes
crypto: cleanup - remove unneeded crypto_alg.cra_list initializations
crypto: arch/x86 - cleanup - remove unneeded crypto_alg.cra_list initializations
crypto: drivers - remove cra_list initialization
crypto: arch/s390 - cleanup - remove unneeded cra_list initialization

 arch/s390/crypto/aes_s390.c                |    5 --
 arch/s390/crypto/des_s390.c                |   10 ----
 arch/s390/crypto/ghash_s390.c              |    1 
 arch/x86/crypto/aes_glue.c                 |    1 
 arch/x86/crypto/aesni-intel_glue.c         |    5 --
 arch/x86/crypto/blowfish_glue.c            |    4 --
 arch/x86/crypto/camellia_glue.c            |    6 ---
 arch/x86/crypto/ghash-clmulni-intel_glue.c |    2 -
 arch/x86/crypto/salsa20_glue.c             |    1 
 arch/x86/crypto/serpent_avx_glue.c         |   10 ----
 arch/x86/crypto/serpent_sse2_glue.c        |   10 ----
 arch/x86/crypto/twofish_avx_glue.c         |   10 ----
 arch/x86/crypto/twofish_glue.c             |    1 
 arch/x86/crypto/twofish_glue_3way.c        |    5 --
 crypto/aes_generic.c                       |    1 
 crypto/ansi_cprng.c                        |   63 ++++++++++------------------
 crypto/anubis.c                            |    1 
 crypto/blowfish_generic.c                  |    1 
 crypto/camellia_generic.c                  |    1 
 crypto/cast5.c                             |    1 
 crypto/cast6.c                             |    1 
 crypto/crypto_null.c                       |   57 ++++++++-----------------
 crypto/deflate.c                           |    1 
 crypto/des_generic.c                       |   25 ++---------
 crypto/fcrypt.c                            |    1 
 crypto/ghash-generic.c                     |    1 
 crypto/khazad.c                            |    1 
 crypto/krng.c                              |    1 
 crypto/lzo.c                               |    1 
 crypto/salsa20_generic.c                   |    1 
 crypto/seed.c                              |    1 
 crypto/serpent_generic.c                   |   53 ++++++++----------------
 crypto/sha256_generic.c                    |   25 ++---------
 crypto/sha512_generic.c                    |   20 ++-------
 crypto/shash.c                             |   36 ++++++++++++++++
 crypto/tea.c                               |   41 +++---------------
 crypto/tgr192.c                            |   38 +++--------------
 crypto/twofish_generic.c                   |    1 
 crypto/wp512.c                             |   39 +++--------------
 drivers/crypto/atmel-aes.c                 |    2 -
 drivers/crypto/atmel-tdes.c                |    1 
 drivers/crypto/geode-aes.c                 |    3 -
 drivers/crypto/nx/nx-aes-cbc.c             |    1 
 drivers/crypto/nx/nx-aes-ccm.c             |    2 -
 drivers/crypto/nx/nx-aes-ctr.c             |    2 -
 drivers/crypto/nx/nx-aes-ecb.c             |    1 
 drivers/crypto/nx/nx-aes-gcm.c             |    2 -
 drivers/crypto/omap-aes.c                  |    1 
 drivers/crypto/padlock-aes.c               |    3 -
 drivers/crypto/s5p-sss.c                   |    1 
 drivers/crypto/tegra-aes.c                 |    2 -
 include/crypto/internal/hash.h             |    2 +
 52 files changed, 132 insertions(+), 374 deletions(-)