4 ms·
Wouldn't that also invalidate your backup token after first use?
by scott00 8y ago
Wouldn't that also invalidate your backup token after first use?
- dimonomid 8y agoNo, of course not. In backup, we basically use this as a counter: `hardware_counter_value + 2000000000`. We don't care that `hardware_counter_value` cannot be larger than `2097151`; the value we use for calculations is 32-bit, so effectively, for the backup token, the values will start at `2000000000` and the maximum possible value will be `2002097151`. But the primary token uses just `hardware_counter_value`, so its range is from `0` to `2097151`. The important part is that the ranges of primary and backup tokens don't intersect.