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

Eric Biggers posted 3 patches 3 years, 8 months ago
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
[PATCH v3 0/3] crypto: lib - create utils module
Posted by Eric Biggers 3 years, 8 months ago
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
-- 
2.37.0
Re: [PATCH v3 0/3] crypto: lib - create utils module
Posted by Herbert Xu 3 years, 7 months ago
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.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt