diff options
author | Joel Peshkin <joel.peshkin@broadcom.com> | 2020-11-21 17:18:59 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-16 14:49:09 -0500 |
commit | 652b504ff2dc41313ad7f38a00e1d5730966f164 (patch) | |
tree | 98a524ec3227cd2938bb763ed4e052b3bcfe938a /common/cli_readline.c | |
parent | 214cc199b475586bb0ac00794deac18ad27af4eb (diff) | |
download | u-boot-652b504ff2dc41313ad7f38a00e1d5730966f164.zip u-boot-652b504ff2dc41313ad7f38a00e1d5730966f164.tar.gz u-boot-652b504ff2dc41313ad7f38a00e1d5730966f164.tar.bz2 |
Add optional salt to AUTOBOOT_STOP_STR_SHA256
Adds an optional SALT value to AUTOBOOT_STOP_STR_SHA256. If a string
followed by a ":" is prepended to the sha256, the portion to the left
of the colon will be used as a salt and the password will be appended
to the salt before the sha256 is computed and compared.
Signed-off-by: Joel Peshkin <joel.peshkin@broadcom.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Joel Peshkin <joel.peshkin@broadcom.com>
To: u-boot@lists.denx.de
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'common/cli_readline.c')
0 files changed, 0 insertions, 0 deletions