mbox series

[v3,0/3] crypto: lib - create utils module

Message ID 20220725183636.97326-1-ebiggers@kernel.org
Headers show
Series crypto: lib - create utils module | expand

Message

Eric Biggers July 25, 2022, 6:36 p.m. UTC
Create a utils module in lib/crypto/, and move __crypto_memneq,
__crypto_xor, and crypto_simd_disabled_for_test into it.

This supersedes "crypto: xor - move __crypto_xor into lib/"
(https://lore.kernel.org/linux-crypto/20220709215453.262237-1-ebiggers@kernel.org/T/#u).

Changed v2 => v3:
   - Added missing MODULE_LICENSE
   - Dropped patch "crypto: lib - move crypto_simd_disabled_for_test
     into utils"
   - Added patch "crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ"

Eric Biggers (3):
  crypto: lib - create utils module and move __crypto_memneq into it
  crypto: lib - move __crypto_xor into utils
  crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ

 crypto/Kconfig            |  2 +-
 crypto/algapi.c           | 71 -------------------------------
 lib/Kconfig               |  3 --
 lib/Makefile              |  1 -
 lib/crypto/Kconfig        |  8 ++--
 lib/crypto/Makefile       |  3 ++
 lib/{ => crypto}/memneq.c |  7 +---
 lib/crypto/utils.c        | 88 +++++++++++++++++++++++++++++++++++++++
 8 files changed, 99 insertions(+), 84 deletions(-)
 rename lib/{ => crypto}/memneq.c (98%)
 create mode 100644 lib/crypto/utils.c


base-commit: 9d2bb9a74b2877f100637d6ab5685bcd33c69d44

Comments

Herbert Xu Aug. 19, 2022, 10:59 a.m. UTC | #1
Eric Biggers <ebiggers@kernel.org> wrote:
> Create a utils module in lib/crypto/, and move __crypto_memneq,
> __crypto_xor, and crypto_simd_disabled_for_test into it.
> 
> This supersedes "crypto: xor - move __crypto_xor into lib/"
> (https://lore.kernel.org/linux-crypto/20220709215453.262237-1-ebiggers@kernel.org/T/#u).
> 
> Changed v2 => v3:
>   - Added missing MODULE_LICENSE
>   - Dropped patch "crypto: lib - move crypto_simd_disabled_for_test
>     into utils"
>   - Added patch "crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ"
> 
> Eric Biggers (3):
>  crypto: lib - create utils module and move __crypto_memneq into it
>  crypto: lib - move __crypto_xor into utils
>  crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ
> 
> crypto/Kconfig            |  2 +-
> crypto/algapi.c           | 71 -------------------------------
> lib/Kconfig               |  3 --
> lib/Makefile              |  1 -
> lib/crypto/Kconfig        |  8 ++--
> lib/crypto/Makefile       |  3 ++
> lib/{ => crypto}/memneq.c |  7 +---
> lib/crypto/utils.c        | 88 +++++++++++++++++++++++++++++++++++++++
> 8 files changed, 99 insertions(+), 84 deletions(-)
> rename lib/{ => crypto}/memneq.c (98%)
> create mode 100644 lib/crypto/utils.c
> 
> 
> base-commit: 9d2bb9a74b2877f100637d6ab5685bcd33c69d44

All applied.  Thanks.