I have an image built using the MCUXpresso Secure Provisioning Tool.
It's a plain image with a CRC,
and the offsetToExtendedHeader field(address 0x00000028) contains the 4bytes CRC checksum value.

Now, I want to check the CRC before writing it to flash.
I tried to calculate it using these settings,
but I cannot match the CRC with the offsetToExtendedHeader field.

(ref: Kinetis Bootloader v2.0.0 Reference Manual)
Is there any tool available to calculate the image CRC (like nxpimage and blhost)? Alternatively, where can I find more details about calculate the image CRC?