All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Rname CONFIG_SPL_FIT_SHAxxx to CONFIG_SPL_SHAxxx
@ 2021-07-30  1:21 Chia-Wei Wang
  0 siblings, 0 replies; only message in thread
From: Chia-Wei Wang @ 2021-07-30  1:21 UTC (permalink / raw)
  To: sjg, u-boot

Rename these options to align the use in common/image-fit.c

	else if (CONFIG_IS_ENABLED(SHA1) && strcmp(algo, "sha1") == 0)
	...
	else if (CONFIG_IS_ENABLED(SHA256) && strcmp(algo, "sha256") == 0)
	...
	else if (CONFIG_IS_ENABLED(SHA384) && strcmp(algo, "sha384") == 0)
	...
	else if (CONFIG_IS_ENABLED(SHA512) && strcmp(algo, "sha512") == 0)
	...

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
---
 common/spl/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 9552ed4911..67e0345906 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -439,7 +439,7 @@ config SPL_MD5
 	  applications where images may be changed maliciously, you should
 	  consider SHA256 or SHA384.
 
-config SPL_FIT_SHA1
+config SPL_SHA1
 	bool "Support SHA1"
 	depends on SPL_FIT
 	select SHA1
@@ -451,7 +451,7 @@ config SPL_FIT_SHA1
 	  due to the expanding computing power available to brute-force
 	  attacks. For more security, consider SHA256 or SHA384.
 
-config SPL_FIT_SHA256
+config SPL_SHA256
 	bool "Support SHA256"
 	depends on SPL_FIT
 	select SHA256
@@ -460,7 +460,7 @@ config SPL_FIT_SHA256
 	  checksum is a 256-bit (32-byte) hash value used to check that the
 	  image contents have not been corrupted.
 
-config SPL_FIT_SHA384
+config SPL_SHA384
 	bool "Support SHA384"
 	depends on SPL_FIT
 	select SHA384
@@ -471,7 +471,7 @@ config SPL_FIT_SHA384
 	  image contents have not been corrupted. Use this for the highest
 	  security.
 
-config SPL_FIT_SHA512
+config SPL_SHA512
 	bool "Support SHA512"
 	depends on SPL_FIT
 	select SHA512
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-30  1:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30  1:21 [PATCH] Rname CONFIG_SPL_FIT_SHAxxx to CONFIG_SPL_SHAxxx Chia-Wei Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.