Hi fmabrouk,
If you want to do the HAB secure in RT1170, I suggest you use the MCUBootUtility tool to do the HAB secure boot:
https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v3.1.1
The related manual:
https://github.com/JayHeng/NXP-MCUBootUtility/blob/master/README.md
Please also read this post:
https://www.cnblogs.com/henjay724/p/10189593.html
You need to add the cst to the MCUBootutility tool to finish the HAB secure.
BTW, I also have one post about it:
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
kerry