[PATCH] imx: hab: Use size parameter

2023-10-16 Thread sbabic
> The current code works by sheer coincidence, because (see HABv4 API > documentation, section 3.4) the RVT authenticate_image call updates > the size that is passed in with the actual size ROM code pulls from > IVT/CSF . So if the input size is larger, that is "fine" . Pass in > size instead to

[PATCH] imx: hab: Use size parameter

2023-08-31 Thread Marek Vasut
The current code works by sheer coincidence, because (see HABv4 API documentation, section 3.4) the RVT authenticate_image call updates the size that is passed in with the actual size ROM code pulls from IVT/CSF . So if the input size is larger, that is "fine" . Pass in size instead to make this