1. 23 Jun, 2023 13 commits
  2. 16 Jun, 2023 10 commits
  3. 09 Jun, 2023 3 commits
  4. 06 Jun, 2023 1 commit
  5. 02 Jun, 2023 10 commits
  6. 24 May, 2023 3 commits
    • Eric Biggers's avatar
      crypto: Kconfig - warn about performance overhead of CRYPTO_STATS · 66dd59b7
      Eric Biggers authored
      Make the help text for CRYPTO_STATS explicitly mention that it reduces
      the performance of the crypto API.
      Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
      Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      66dd59b7
    • Randy Dunlap's avatar
      crypto: nx - fix build warnings when DEBUG_FS is not enabled · b04b076f
      Randy Dunlap authored
      Fix build warnings when DEBUG_FS is not enabled by using an empty
      do-while loop instead of a value:
      
      In file included from ../drivers/crypto/nx/nx.c:27:
      ../drivers/crypto/nx/nx.c: In function 'nx_register_algs':
      ../drivers/crypto/nx/nx.h:173:33: warning: statement with no effect [-Wunused-value]
        173 | #define NX_DEBUGFS_INIT(drv)    (0)
      ../drivers/crypto/nx/nx.c:573:9: note: in expansion of macro 'NX_DEBUGFS_INIT'
        573 |         NX_DEBUGFS_INIT(&nx_driver);
      ../drivers/crypto/nx/nx.c: In function 'nx_remove':
      ../drivers/crypto/nx/nx.h:174:33: warning: statement with no effect [-Wunused-value]
        174 | #define NX_DEBUGFS_FINI(drv)    (0)
      ../drivers/crypto/nx/nx.c:793:17: note: in expansion of macro 'NX_DEBUGFS_FINI'
        793 |                 NX_DEBUGFS_FINI(&nx_driver);
      
      Also, there is no need to build nx_debugfs.o when DEBUG_FS is not
      enabled, so change the Makefile to accommodate that.
      
      Fixes: ae0222b7 ("powerpc/crypto: nx driver code supporting nx encryption")
      Fixes: aef7b31c ("powerpc/crypto: Build files for the nx device driver")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Breno Leitão <leitao@debian.org>
      Cc: Nayna Jain <nayna@linux.ibm.com>
      Cc: Paulo Flabiano Smorigo <pfsmorigo@gmail.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: linux-crypto@vger.kernel.org
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Nicholas Piggin <npiggin@gmail.com>
      Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      b04b076f
    • Martin Kaiser's avatar
      hwrng: imx-rngc - don't init of_device_id's data · 357132b5
      Martin Kaiser authored
      We have no device-specific data for fsl,imx25-rngb. There's no need to
      set .data = NULL, this is the default.
      Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      357132b5