Patent ID: 8527835

Claim:
A method of comparing source data and transferred data in a smart card comprising a source memory (NV_MEM) containing the source data and a destination memory (V_MEM) containing the transferred data, the method comprising: reading from the source memory (NV_MEM) a first integrity value (PI_ELT_X) associated to a source element (ELEMENT_X_NV_MEM) containing the source data; calculating a second integrity value for a reconstituted element reconstituted from the transferred data (COPY_ELT_X_V_MEM) plus any data in the source element (ELEMENT_X_NV_MEM) other than the transferred data if the transferred data (COPY_ELT_X_V_MEM) corresponds to only some of the data constituting the source element (ELEMENT_X_NV_MEM); and concluding that the transferred data (COPY_ELT_X_V_MEM) and the source data are identical when the first and the second integrity values are identical.