summaryrefslogtreecommitdiff
path: root/include/android_bootloader_message.h
diff options
context:
space:
mode:
authorJames Hilliard <[email protected]>2026-07-20 21:11:13 -0600
committerTom Rini <[email protected]>2026-07-29 14:53:46 -0600
commit94b349bd902d9e38e1846c157fadd9054c34680a (patch)
tree820b4f61e58a6683b1e92ab413272ebad2db07ab /include/android_bootloader_message.h
parentde61c59164e0aa1735d37db6ba0db1276e62ac61 (diff)
crypto: hash: use DM providers from hash command
The hash command currently always uses the software implementation for the selected algorithm, even when driver-model hash providers are available. Add a hash_digest_wd_lookup() helper which probes UCLASS_HASH devices in order and uses the first provider supporting the requested algorithm. Continue past unavailable providers and unsupported operations, but propagate a hard digest failure once a provider accepts the operation. Remember probe failures so they are not silently hidden by software fallback when no later provider succeeds. Use the helper from the hash command and retain its software fallback when no usable provider is present. Add sandbox tests covering provider fallback and hard-error propagation. Signed-off-by: James Hilliard <[email protected]>
Diffstat (limited to 'include/android_bootloader_message.h')
0 files changed, 0 insertions, 0 deletions