mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* SHA256 API in RK3568 rkimage deprecated since OpenSSL 3.0
@ 2023-04-19  8:57 Ahmad Fatoum
  0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2023-04-19  8:57 UTC (permalink / raw)
  To: barebox

Hi,

Just a heads up:

Building barebox rockchip_v8_defconfig on a system with openssl-3.0.8 emits
a couple of deprecation warnings:

  scripts/rkimage.c: In function ‘sha256’:
  rkimage.c:27:9: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
     27 |         SHA256_Init(&sha256);
        |         ^~~~~~~~~~~

I think that this would be a good occasion to get rid of the OpenSSL dependency
here. We have a simplified SHA256 API already usable in PBL, so it should be
doable to make this accessible to host tool build like we already do for CRC32.

Cheers,
Ahmad

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

only message in thread, other threads:[~2023-04-19  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-19  8:57 SHA256 API in RK3568 rkimage deprecated since OpenSSL 3.0 Ahmad Fatoum

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