Hello,
I'm working on implementing Secure Boot on a Board based on the i.MX8M Mini. I tried to use the hab_rvt_authenticate_image() function which worked. Now I wanted to implement a callback function. The problem is that I don't understand when exactly the callback function is called. No matter if I write it as if it is called before or after authetication, I get an Invalid IVT Event, which isn't happening if I don't use the callback and copy manually.
With that said, my questions are:
1) When is the callback called, befor or after authentication?
2) Do I miss something about the intended usage?