Patent ID: 11956369
Assignee: ROBERT BOSCH GMBH
Field: Digital communication (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 9:
10. A method for verifying integrity of automotive software in a vehicle, the method comprising:
receiving a software image at an electronic controller of the vehicle;
storing the software image in a plurality of memory cells;
organizing the plurality of memory cells into rows and columns;
generating a secret key;
determining a plurality of fingerprints such that each of the plurality of fingerprints includes at least one of the memory cells from each of the rows;
calculating reference verification values for the plurality of fingerprints, wherein each of the reference verification values is determined using a one-way cryptographic function with the secret key and data stored in the memory cells included in one of the plurality of fingerprints;
receiving a power-up signal;
randomly selecting one of the plurality of fingerprints after receiving the power-up signal;
retrieving a set of data stored in the memory cells of the selected fingerprint;
calculating a pre-boot verification value for the selected fingerprint using the one-way cryptographic function with the secret key and the retrieved set of data;
comparing the pre-boot verification value to the reference verification value for the selected fingerprint;
releasing a security halt on the software image when the pre-boot verification value matches the reference verification value for the selected fingerprint; and
generating a security warning signal when the pre-boot verification value does not match the reference verification value for the selected fingerprint.