Patent ID: 9350732
Filing Date: 2016-05-24
CPC Classification: G06F,H04L

Claim Text:
1. A method of protecting the integrity of a memory system divided in a plurality of memory blocks each of which has a local sequence number, said method comprising: maintaining an age counter for each of said memory blocks; maintaining an opportunity counter for each of said memory blocks; maintaining an epoch counter for the memory system; writing data in a selected memory block; increasing said local sequence number of said selected memory block; incrementing said epoch counter if said age counter of said selected memory block rolls over; computing a message authentication code (MAC) in said selected memory blocks-based on a portion of a global sequence number that includes said local sequence number and said epoch counter; updating said age counter and said opportunity counter for any non-selected memory blocks if the opportunity counter for said non-selected memory blocks match the LSB of the epoch counter for said non-selected memory blocks; and updating said epoch counter, where said epoch counter is updated while said memory system remains accessible, and computing a new MAC for any memory block for which said updating is performed.