coreboot-kgpe-d16/util
Alex Thiessen 00a455c8a7 util/broadcom/secimage: Add OpenSSL 1.1 support
The `secimage` utility uses OpenSSL to calculate HMAC, which it does in
a rather unorthodox way, using deprecated `HMAC_CTX_init` API and
repeated calling of `HMAC_Init_ex` without a clear reason. The former
causes build errors with OpenSSL 1.1 while the rest of the
`HmacSha256Hash` function is confusing and overly complex.

Make `HmacSha256Hash` use a single OpenSSL API call. Test passed:
resulting signed binary remains identical.

Change-Id: Ib23c0ad96f9d8cc30ad357de8c0b0ba967c7d724
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23069
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2018-01-14 23:11:40 +00:00
..
abuild abuild: Allow building with any toolchain 2017-09-06 04:31:30 +00:00
acpi
amdfwtool util/amdfwtool: Add option for directory location 2017-10-05 02:49:09 +00:00
amdtools Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
archive
arm_boot_tools/mksunxiboot
autoport autoport: Add Intel PCIe Root Port and Bridges 2018-01-07 18:46:24 +00:00
bimgtool
blobtool util/blobtool: add spec files for DDR3 SPDs 2017-06-27 16:06:53 +00:00
board_status board_status/towiki: Fix link to last report for "clone" boards 2017-10-20 02:22:23 +00:00
broadcom util/broadcom/secimage: Add OpenSSL 1.1 support 2018-01-14 23:11:40 +00:00
cbfstool util/cbfstool: Check for NULL before dereference 2017-12-20 16:35:13 +00:00
cbmem util/cbmem: Print timestamp frequency in verbose mode 2017-12-12 22:27:05 +00:00
checklist util/checklist: Place tables in proper boot order 2016-08-03 18:01:32 +02:00
chromeos util/chromeos: Make scripts executable 2016-07-30 19:34:20 +02:00
crossgcc buildgcc: Hide stderr output of getopt test 2017-12-07 21:56:44 +00:00
docker util/docker: add support for crossgcc building params 2017-11-05 02:31:16 +00:00
dtd_parser
ectool util/ectool: Dump ram by default 2017-04-25 18:46:04 +02:00
exynos
futility util/futility/Makefile: Update clean target 2017-03-29 05:16:49 +02:00
fuzz-tests
genbuild_h util/genbuild_h: improve robustness against corrupt .git directories 2017-10-20 09:40:09 +00:00
genprof
gitconfig util/gitconfig: Refuse to commit on lint failure 2018-01-11 22:09:33 +00:00
hugo util: change coreboot to lowercase 2017-06-27 18:26:01 +00:00
ifdfake util/ifdfake: Add number of regions 2016-12-15 23:47:09 +01:00
ifdtool util/ifdtool: Fix region limitation check 2017-10-22 01:51:17 +00:00
intelmetool util/intelmetool: Fix some platforms 2017-11-30 17:19:08 +00:00
inteltool util/inteltool: Add Skylake Desktop Northbridge 2018-01-10 22:04:33 +00:00
intelvbttool intelvbttool: cope with errors in open() 2016-07-31 19:23:29 +02:00
ipqheader
k8resdump util/*: don't strip executables 2017-10-29 08:48:56 +00:00
kbc1126 kbc1126_ec_dump: fix some errors 2017-08-18 15:32:08 +00:00
kconfig Kconfig: Change symbol override from warning to notice 2016-12-12 17:53:32 +01:00
lint util/lint: Check license headers of git hooks 2018-01-10 09:50:37 +00:00
marvell
me_cleaner util/me_cleaner: Pull the latest changes from upstream 2017-08-20 21:19:47 +00:00
mma mma: update mma setup script for v2.1018 2017-04-24 19:11:34 +02:00
msrtool util/msrtool: Exit program after displaying the help message 2017-08-22 10:10:49 +00:00
mtkheader
nvidia util/nvidia/cbootimage: Update to upstream master 2017-04-24 19:19:39 +02:00
nvramtool nvramtool: Add dummy cmos-hw-unix accessor implementation for non-x86 2017-12-09 16:56:09 +00:00
optionlist util: change coreboot to lowercase 2017-06-27 18:26:01 +00:00
post
release util/release: Update genrelnotes script for 4.7 release 2017-11-07 12:43:32 +00:00
riscvtools RISCV: change make-spike-elf to use the coreboot toolchain. 2016-10-15 00:34:27 +02:00
rockchip
romcc smbus: Fix a typo ("Set the device I'm talking too") 2017-09-27 16:38:18 +00:00
sconfig lib: provide clearer devicetree semantics 2017-04-25 18:14:38 +02:00
scripts util: Make TZ environment variable POSIX compatible 2017-10-14 11:28:14 +00:00
showdevicetree
spkmodem_recv tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
superiotool util/superiotool: add support for chip ITE IT8623E 2018-01-14 07:24:05 +00:00
testing util/testing: Don't keep tegra lp0 build results 2017-09-06 11:36:27 +00:00
uio_usbdebug
vgabios util/vgabios: Don't call redefined printk in printk 2017-07-21 15:45:41 +00:00
viatool Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
xcompile clang: Enable integrated assembler on clang builds 2017-09-02 15:21:35 +00:00