aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/crypto/crypto_null.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-02-12 12:48:55 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-02-22 15:56:03 +0800
commit1047e21aecdf17c8a9ab9fd4bd24c6647453f93d (patch)
tree8affda139e9d70063e260d28b3eafd24185c28ad /crypto/crypto_null.c
parentcrypto: qat - reorder objects in qat_common Makefile (diff)
downloadwireguard-linux-1047e21aecdf17c8a9ab9fd4bd24c6647453f93d.tar.xz
wireguard-linux-1047e21aecdf17c8a9ab9fd4bd24c6647453f93d.zip
crypto: lib/Kconfig - Fix lib built-in failure when arch is modular
The HAVE_ARCH Kconfig options in lib/crypto try to solve the modular versus built-in problem, but it still fails when the the LIB option (e.g., CRYPTO_LIB_CURVE25519) is selected externally. Fix this by introducing a level of indirection with ARCH_MAY_HAVE Kconfig options, these then go on to select the ARCH_HAVE options if the ARCH Kconfig options matches that of the LIB option. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501230223.ikroNDr1-lkp@intel.com/ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions