arm-trusted-firmware/tools
Juan Pablo Conde cf2dd17ddd refactor(security): add OpenSSL 1.x compatibility
When updated to work with OpenSSL 3.0, the host tools lost their
compatibility with previous versions (1.x) of OpenSSL. This is
mainly due to the fact that 1.x APIs became deprecated in 3.0 and
therefore their use cause compiling errors. In addition, updating
for a newer version of OpenSSL meant improving the stability
against security threats. However, although version 1.1.1 is
now deprecated, it still receives security updates, so it would
not imply major security issues to keep compatibility with it too.

This patch adds backwards compatibility with OpenSSL 1.x versions
by adding back 1.x API code. It defines a macro USING_OPENSSL3,
which will select the appropriate OpenSSL API version depending on
the OpenSSL library path chosen (which is determined by the
already-existing OPENSSL_DIR variable).

In addition, cleanup items were packed in functions and moved to
the proper modules in order to make the code more maintainable and
legible.

Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
Change-Id: I8deceb5e419edc73277792861882404790ccd33c
2022-11-11 13:33:42 -05:00
..
amlogic meson: Rename platform directory to amlogic 2019-09-05 10:39:25 +01:00
cert_create refactor(security): add OpenSSL 1.x compatibility 2022-11-11 13:33:42 -05:00
conventional-changelog-tf-a docs(changelog): changelog for v2.7 release 2022-06-01 15:19:37 +01:00
encrypt_fw refactor(security): add OpenSSL 1.x compatibility 2022-11-11 13:33:42 -05:00
fiptool refactor(security): add OpenSSL 1.x compatibility 2022-11-11 13:33:42 -05:00
marvell/doimage tools: doimage: change the binary image alignment to 16 2020-07-10 10:54:44 +00:00
memory feat(debug): update print_memory_map.py 2022-04-07 13:46:31 +02:00
nxp fix(nxp-tools): fix create_pbl print log 2022-03-27 23:24:24 +08:00
renesas feat(plat/rcar3): change the memory map for OP-TEE 2021-09-12 01:13:48 +02:00
sptool fix(sptool): operators "is/is not" in sp_mk_gen.py 2022-10-07 10:06:08 +01:00
stm32image feat(st): update stm32image tool for header v2 2022-03-21 10:53:55 +01:00