Skip to content
Snippets Groups Projects
Commit 6f907b42 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

hash: Add a way to calculate a hash for any algortihm


Rather than needing to call one of many hashing algorithms in U-Boot,
provide a function hash_block() which handles this, and can support all
available hash algorithms.

Once we have md5 supported within hashing, we can use this function in
the FIT image code.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 134a6512
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment