mbox series

[00/11] crypto: misc fixes/cleanups

Message ID 20190110201802.82442-1-ebiggers@kernel.org (mailing list archive)
Headers show
Series crypto: misc fixes/cleanups | expand

Message

Eric Biggers Jan. 10, 2019, 8:17 p.m. UTC
Some more miscellaneous crypto fixes and cleanups:

- Patch 1-6: fix sparse warnings in 6 files.
- Patch 7: fix unaligned memory access in tgr192.
- Patch 8-11: a few other cleanups.

Eric Biggers (11):
  crypto: gcm - use correct endianness type in gcm_hash_len()
  crypto: rsa-pkcs1pad - include <crypto/internal/rsa.h>
  crypto: streebog - use correct endianness type
  crypto: testmgr - handle endianness correctly in alg_test_crc32c()
  crypto: user - forward declare crypto_nlsk
  crypto: x86/aesni-gcm - make 'struct aesni_gcm_tfm_s' static const
  crypto: tgr192 - fix unaligned memory access
  crypto: stat - remove unused mutex
  crypto: af_alg - make some functions static
  crypto: af_alg - use list_for_each_entry() in af_alg_count_tsgl()
  crypto: af_alg - remove redundant initializations of sk_family

 arch/x86/crypto/aesni-intel_glue.c   | 34 +++++++++++-----------------
 crypto/af_alg.c                      | 33 ++++++++++-----------------
 crypto/crypto_user_stat.c            |  4 ----
 crypto/gcm.c                         |  2 +-
 crypto/rsa-pkcs1pad.c                |  1 +
 crypto/streebog_generic.c            |  2 +-
 crypto/testmgr.c                     | 10 ++++----
 crypto/tgr192.c                      |  6 ++---
 include/crypto/if_alg.h              |  7 ------
 include/crypto/internal/cryptouser.h |  2 ++
 include/crypto/streebog.h            |  2 +-
 11 files changed, 39 insertions(+), 64 deletions(-)

Comments

Herbert Xu Jan. 18, 2019, 10:57 a.m. UTC | #1
On Thu, Jan 10, 2019 at 12:17:51PM -0800, Eric Biggers wrote:
> Some more miscellaneous crypto fixes and cleanups:
> 
> - Patch 1-6: fix sparse warnings in 6 files.
> - Patch 7: fix unaligned memory access in tgr192.
> - Patch 8-11: a few other cleanups.
> 
> Eric Biggers (11):
>   crypto: gcm - use correct endianness type in gcm_hash_len()
>   crypto: rsa-pkcs1pad - include <crypto/internal/rsa.h>
>   crypto: streebog - use correct endianness type
>   crypto: testmgr - handle endianness correctly in alg_test_crc32c()
>   crypto: user - forward declare crypto_nlsk
>   crypto: x86/aesni-gcm - make 'struct aesni_gcm_tfm_s' static const
>   crypto: tgr192 - fix unaligned memory access
>   crypto: stat - remove unused mutex
>   crypto: af_alg - make some functions static
>   crypto: af_alg - use list_for_each_entry() in af_alg_count_tsgl()
>   crypto: af_alg - remove redundant initializations of sk_family
> 
>  arch/x86/crypto/aesni-intel_glue.c   | 34 +++++++++++-----------------
>  crypto/af_alg.c                      | 33 ++++++++++-----------------
>  crypto/crypto_user_stat.c            |  4 ----
>  crypto/gcm.c                         |  2 +-
>  crypto/rsa-pkcs1pad.c                |  1 +
>  crypto/streebog_generic.c            |  2 +-
>  crypto/testmgr.c                     | 10 ++++----
>  crypto/tgr192.c                      |  6 ++---
>  include/crypto/if_alg.h              |  7 ------
>  include/crypto/internal/cryptouser.h |  2 ++
>  include/crypto/streebog.h            |  2 +-
>  11 files changed, 39 insertions(+), 64 deletions(-)

All applied.  Thanks.