[U-Boot] [PATCH v2 04/23] arm: imx: hab: Optimise flow of authenticate_image on hab_entry fail

Bryan O'Donoghue bryan.odonoghue at linaro.org
Fri Dec 29 17:27:20 UTC 2017



On 29/12/17 16:36, Breno Matheus Lima wrote:
> Secure boot enabled
> 
> HAB Configuration: 0xcc, HAB State: 0x99
> No HAB Events Found!
> 
> =>
> 
> In this situation the "hab_rvt_authenticate_image()" is not executed,
> It's a bit confusing to receive a "No HAB Events Found!" message after
> running hab_auth_img on this case.

Hi Breno.

Honestly speaking I'm not a great fan of all of the noisiness of 
authenticate_image() - not entirely sure what value there is in printing 
this stuff at all but.. since it was already behaving in this way I 
assume it has/had some value to others.

I agree with you here though it shouldn't say "No HAB Events Found!" 
since this is what is putatively printed out when everything works, as 
opposed to when its broken.

I'll have a look at changing this a little later tonight


More information about the U-Boot mailing list