binman: Support hashing entries
authorSimon Glass <sjg@chromium.org>
Fri, 14 Sep 2018 10:57:31 +0000 (04:57 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Sep 2018 17:49:35 +0000 (11:49 -0600)
commite0e5df9310d3a0e1fc0eda86ff43fd3e782e61f1
tree7550a5bb58f99bcf8e0f3ac2fdd2db8a5bce4bbf
parent9c888cca5e87e28e9addcffae9810fee481428a8
binman: Support hashing entries

Sometimesi it us useful to be able to verify the content of entries with
a hash. Add an easy way to do this in binman. The hash information can be
retrieved from the device tree at run time.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README
tools/binman/bsection.py
tools/binman/entry.py
tools/binman/ftest.py
tools/binman/state.py
tools/binman/test/90_hash.dts [new file with mode: 0644]
tools/binman/test/91_hash_no_algo.dts [new file with mode: 0644]
tools/binman/test/92_hash_bad_algo.dts [new file with mode: 0644]
tools/binman/test/99_hash_section.dts [new file with mode: 0644]