| CPC H04L 9/0825 (2013.01) | 20 Claims |

|
1. An electronic device, comprising:
an immutable memory, storing a first public key and a second public key in advance, wherein the first public key and the second public key are unmodifiable;
a counter, having an anti-rollback protection and counting a count value; and
a processor, selecting the first public key, the second public key, or both, based on the count value;
wherein when the count value is a first value, the processor selects the first public key corresponding to the first value;
wherein when the count value is a second value, the processor selects the second public key corresponding to the second value;
wherein when the count value is a third value, the processor selects the first public key and the second public key;
wherein the third value is an average of the first value and the second value, and the second value exceeds the first value;
wherein the first value and the second value are in a first state and the third value is in a second state;
wherein the first state and the second state are different.
|