CPC G06F 12/1458 (2013.01) [G06F 12/0866 (2013.01); G06F 12/1441 (2013.01)] | 20 Claims |
1. An apparatus comprising:
memory access circuitry to control access to data stored in a non-trusted memory;
memory security circuitry to verify integrity of data stored in the non-trusted memory; and
a trusted storage;
the memory security circuitry having authentication code generation circuitry to generate authentication codes to be associated with the data stored in the non-trusted memory, for use when verifying the integrity of the data;
wherein the authentication code generation circuitry is arranged, for a given block of data for which an associated authentication code is to be generated:
to generate as the associated authentication code a first authentication code with a first size to be compared with a first comparison authentication code to verify the integrity of the given block of data when the associated authentication code is to be stored in the non-trusted memory, and
to generate as the associated authentication code a second authentication code with a second size less than the first size to be compared with a second comparison authentication code to verify the integrity of the given block of data when the associated authentication code is to be stored in the trusted storage.
|