If you want to do the HAB secure in RT1170, I suggest you use the MCUBootUtility tool to do the HAB secure boot:
The related manual:
Please also read this post:
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.