[PATCH 1/1] hash: revert Allow for SHA512 hardware implementations
Simon Glass
sjg at chromium.org
Sat May 15 17:20:08 CEST 2021
Hi Heinrich,
On Wed, 12 May 2021 at 11:01, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> We don't have a hardware implementation of SHA384 and SHA512 for any board.
>
> We don't expect to ever have a hardware implementation for ALL boards that
> have a hardware implementation for SHA1 and SHA512. So we cannot use
> CONFIG_SHA_HW_ACCEL to switch SHA384 and SHA512 to the hardware functions.
>
> As the commit a479f103dc1c ("hash: Allow for SHA512 hardware
> implementations") leads to failure to compile peach-pi_defconfig board with
> the EFI TCG2 protocol revert the patch.
>
> Fixes: a479f103dc1c ("hash: Allow for SHA512 hardware implementations")
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> common/hash.c | 24 ++----------------------
> include/hw_sha.h | 26 --------------------------
> lib/Kconfig | 15 ++++++++-------
> 3 files changed, 10 insertions(+), 55 deletions(-)
As discussed I would prefer to fix this. The whole thing should end up
in a linker list at some point.
+Alexandru Gagniuc for that
Regards,
Simon
More information about the U-Boot
mailing list