On Sat, 21 Nov 2020 at 18:19, Joel Peshkin <joel.pesh...@broadcom.com> wrote: > > 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.pesh...@broadcom.com> > Cc: Simon Glass <s...@chromium.org> > Cc: Bin Meng <bmeng...@gmail.com> > Cc: Patrick Delaunay <patrick.delau...@st.com> > Cc: Heiko Schocher <h...@denx.de> > Cc: Heinrich Schuchardt <xypron.g...@gmx.de> > Cc: Joel Peshkin <joel.pesh...@broadcom.com> > To: u-boot@lists.denx.de > > --- > Changes for v2: > - Increase MAX_DELAY_STOP_STR > - Check salt size against MAX_DELAY_STOP_STR before copying > - Minor cleanup > Changes for v3: > - Cleanup changing (c) to c after review feedback > --- > common/Kconfig.boot | 5 ++++- > common/autoboot.c | 12 ++++++++++-- > 2 files changed, 14 insertions(+), 3 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org> (as I don't see it in v2)