A circuit generally comprising a first memory, a second memory and a processor
is disclosed. The first memory may store an instruction to read an updated security
value of at least three security values. The second memory may store (i) the updated
security value and (ii) information related to security of the circuit. The processor
may be configured to (i) execute the instruction while a register stores a highest
security value of the security values, (ii) copy the information from the second
memory to a third memory in response to the update security value being greater
than a current security value of the security values stored in the third memory
and (iii) ignore the information in the second memory in response to the updated
security value being no greater than the current security value.