commit | 615e31cdf77b67068aa61759b1fd4821ac586c47 | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Thu Mar 24 11:26:11 2022 -0400 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 11 11:39:19 2022 -0400 |
tree | 46c9d7af8d9c1ccc8210caa049c34c39aae56d09 | |
parent | 6ec8cb926f9fb6056584033a644b830220ccf9b2 [diff] |
image: fit: Align hash output buffers Hardware-accelerated hash functions require that the input and output buffers be aligned to the minimum DMA alignment. memalign.h helpfully provides a macro just for this purpose. It doesn't exist on the host, but we don't need to be aligned there either. Fixes: 5dfb521386 ("[new uImage] New uImage low-level API") Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Simon Glass <sjg@chromium.org>