mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: SHA256 API in RK3568 rkimage deprecated since OpenSSL 3.0
Date: Wed, 19 Apr 2023 10:57:05 +0200	[thread overview]
Message-ID: <55246453-c5ad-5499-bb6b-c652c7330bc9@pengutronix.de> (raw)

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 |



                 reply	other threads:[~2023-04-19  8:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=55246453-c5ad-5499-bb6b-c652c7330bc9@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