commit | 5cb52dc417e72b7ea3de3072b44bb7a159c76ab1 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Wed Apr 07 16:31:18 2021 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Thu Apr 08 14:08:47 2021 -0700 |
tree | 27c82192b49fabbf59b10a81e890ab93e03b320c | |
parent | 850217779e30b18b940fbc21ee874d9d9a70ef62 [diff] |
Keystore 2.0: Implement unique id rotation on factory reset. This patch implements unique id rotation on factory reset. It is assumed that the timestamp file disappears on factory reset so the timestamp file's creation time gives a lower bound on the time since the last factory reset. Bug: 184784809 Test: atest keystore2_test Change-Id: Iaa1c74b0ccffe69d5d9c68e7c6dac98a13136437