[U-Boot] [PATCH] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password
Tom Rini
trini at konsulko.com
Wed Mar 11 15:36:46 CET 2015
On Wed, Mar 11, 2015 at 09:51:37AM +0100, Stefan Roese wrote:
> This patch adds the feature to only stop the autobooting, and therefor
> boot into the U-Boot prompt, when the input string / password matches
> a values that is encypted via a SHA256 hash and saved in the environment.
>
> This feature is enabled by defined these config options:
> CONFIG_AUTOBOOT_KEYED
> CONFIG_AUTOBOOT_STOP_STR_SHA256
>
> Signed-off-by: Stefan Roese <sr at denx.de>
This is certainly interesting but I think brings us back to a point
Simon made a long while back about needing to factor out this code
better. Especially since this adds big long #if-#else-#endif blocks.
Can we re-do this so at least have some functions be called out instead?
Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150311/2ae2733d/attachment.sig>
More information about the U-Boot
mailing list