diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-09-21 12:23:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-09-22 11:43:16 +0200 |
commit | faf11a6f2874f5087a6013b3134590e203350551 (patch) | |
tree | ceea5ef754a2597ac1b7436b939a5a1b01acd04f /crypto | |
parent | 4139b24e997fe8de1112d2f7aecaf8c1b7ee6e6b (diff) | |
download | barebox-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/Kconfig | 1 |
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 |