mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* sha2 digest on ppc
@ 2022-03-18  9:14 Barbier, Renaud
  2022-03-22  8:07 ` Ahmad Fatoum
  0 siblings, 1 reply; 4+ messages in thread
From: Barbier, Renaud @ 2022-03-18  9:14 UTC (permalink / raw)
  To: Barebox List

Commit 03fb5524b06 has changed the configuration selection for hash algorithm. For instance:

-config SHA256
+config HAVE_DIGEST_SHA256
 	Bool

This breaks on my PPC platform as the configuration selection has not been changed in crypto/sha2.c
if (!IS_ENABLED(CONFIG_SHA256))

Still working on my ARM platform because the algo is registered somewhere else (arch/arm/crypto/sha256_glue.c)

RENAUD: sha256_digest_register
RENAUD: sha256_digest_register: ALGO NOT REGISTERED
...
RENAUD: digest_algo_get_by_name: sha256 sha256
RENAUD: digest_algo_get_by_name: sha224 sha256
RENAUD: digest_algo_get_by_name: md5 sha256
FIT: /images/kernel-1/hash-1: hash OK


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-28 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18  9:14 sha2 digest on ppc Barbier, Renaud
2022-03-22  8:07 ` Ahmad Fatoum
2022-03-22  9:00   ` [PATCH] crypto: Followup to crypto symbol renaming for algo registration Uwe Kleine-König
2022-03-28 10:03     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox