summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-09-21 12:23:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-09-22 11:43:16 +0200
commitfaf11a6f2874f5087a6013b3134590e203350551 (patch)
treeceea5ef754a2597ac1b7436b939a5a1b01acd04f /crypto
parent4139b24e997fe8de1112d2f7aecaf8c1b7ee6e6b (diff)
downloadbarebox-faf11a6f2874f5087a6013b3134590e203350551.tar.gz
barebox-faf11a6f2874f5087a6013b3134590e203350551.tar.xz
scripts: allow user to build rsatoc if COMPILE_HOST_TOOLS
rsatoc is automatically built if CONFIG_CRYPTO_RSA_BUILTIN_KEYS=y. For testing, it can be useful to build the tool standalone, so add an option to do just that. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230921102310.1108543-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 04e5ef4370..4ad7bd844f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -121,6 +121,7 @@ config CRYPTO_RSA
config CRYPTO_RSA_BUILTIN_KEYS
bool
default y if CRYPTO_RSA_KEY != ""
+ select RSATOC
config CRYPTO_RSA_KEY
depends on CRYPTO_RSA