Patent ID: 11861179
Assignee: TEXAS INSTRUMENTS INCORPORATED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A device comprising:
a controller configured to receive executable code from an off-device flash storage; and
a data integrity engine coupled to the controller and the flash storage, the data integrity engine configured to:
determine, during a boot sequence of the controller, a first hash value for a block of the flash storage, the block of the flash storage including the executable code;
extract a subset of data bits of the first hash value to obtain a snippet;
store the snippet in a local memory of the data integrity engine;
determine, at run-time of the controller, data integrity of the executable code by:
determining a second hash value of the executable code;
comparing a subset of data bits of the second hash value to the snippet to determine a comparison result; and
validating the integrity of the executable code responsive to the comparison result indicating a match of the subset of data bits of the second hash value to the snippet; and

responsive to the comparison result indicating the subset of data bits of the second hash value are not a match to the snippet, cause the device to enter a security fault mode; or
responsive to the comparison result indicating the subset of data bits of the second hash value are a match to the snippet, allow the executable code to run.