ROM Checksum is a feature that is used to check the integrity of the data. Its work is to take a set of data associated with the memory regions of ROM and perform checksum on that data and then compare that resultant data value against a pre-determined golden vector value (golden vector has the expected value which should come as a result of 512-bit of hash message, golden vector is already defined and it has fixed address in ROM region).
This module provides the following functionality:
The following shows an example of SDL ROM CHECKSUM API usage by the application to check the integrity of data at ROM region.
Include the below file to access the APIs
Use below API For calculating the ROM_CHECKSUM.