mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 1/6] crypto: reorder ECDSA Kconfig entries
Date: Wed,  9 Oct 2024 16:01:50 +0200	[thread overview]
Message-ID: <20241009140155.1990882-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20241009140155.1990882-1-a.fatoum@pengutronix.de>

barebox now supports two signature algorithms and it makes sense to
group them together in the Kconfig and not have other options like
KEYSTORE or JWT between them.

No functional change.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 crypto/Kconfig | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 45011802e360..191bd5102627 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -115,10 +115,17 @@ config CRYPTO_PBKDF2
 	select DIGEST_HMAC_GENERIC
 	bool
 
+config CRYPTO_ECC
+	bool
+
 config CRYPTO_RSA
 	bool "RSA support"
 	default y if FITIMAGE_SIGNATURE
 
+config CRYPTO_ECDSA
+	bool "ECDSA support"
+	select CRYPTO_ECC
+
 config CRYPTO_BUILTIN_KEYS
 	bool "builtin keys"
 	select KEYTOC
@@ -149,11 +156,4 @@ config JWT
 	select BASE64
 	select CRYPTO_RSA
 
-config CRYPTO_ECC
-	bool
-
-config CRYPTO_ECDSA
-	bool "ECDSA support"
-	select CRYPTO_ECC
-
 endmenu
-- 
2.39.5




  reply	other threads:[~2024-10-09 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-09 14:01 [PATCH 0/6] crypto: ecdsa: fix fallout Ahmad Fatoum
2024-10-09 14:01 ` Ahmad Fatoum [this message]
2024-10-09 14:01 ` [PATCH 2/6] crypto: rsa: support RSA keys with CONFIG_CRYPTO_BUILTIN_KEYS disabled Ahmad Fatoum
2024-10-09 14:01 ` [PATCH 3/6] keytoc: return error on failure to set PKCS#11 pin Ahmad Fatoum
2024-10-09 14:01 ` [PATCH 4/6] crypto: ecdsa: make crypto/ecdsa.h header self-containing Ahmad Fatoum
2024-10-09 14:01 ` [PATCH 5/6] test: self: jwt: regenerate jwt_test.pem.c_shipped Ahmad Fatoum
2024-10-09 14:01 ` [PATCH 6/6] test: self: rename REGENERATE_RSATOC to REGNERATE_KEYTOC Ahmad Fatoum
2024-10-14 11:31 ` [PATCH 0/6] crypto: ecdsa: fix fallout Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241009140155.1990882-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox