]> git.baikalelectronics.ru Git - uboot.git/commit
common: add support to fallback to plain SHA256
authorSteffen Jaeckel <jaeckel-floss@eyet-services.de>
Thu, 8 Jul 2021 13:57:39 +0000 (15:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jul 2021 17:36:20 +0000 (13:36 -0400)
commit0daa642563f17458fdd7ae578c5afc85034800b9
tree51aa2df2efe3c3cd581f59bfd82ac88892c1826f
parent3ebbf266baf0d4cb6eca129a28317dd3e6e6e79b
common: add support to fallback to plain SHA256

In case crypt-based hashing is enabled this will be the default mechanism
that is used. If a user wants to have support for both, the environment
variable `bootstopusesha256` can be set to `true` to allow plain SHA256
based hashing of the password.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/Kconfig.boot
common/autoboot.c