Re: [PATCH] image: fit: Align hash output buffers

2022-04-11 Thread Tom Rini
On Thu, Mar 24, 2022 at 11:26:11AM -0400, Sean Anderson wrote: > 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

Re: [PATCH] image: fit: Align hash output buffers

2022-03-27 Thread Simon Glass
On Thu, 24 Mar 2022 at 09:26, Sean Anderson wrote: > > 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 ali