Home
last modified time | relevance | path

Searched refs:factory_reset_secret_ (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/keymaster/
Dtrusty_secure_deletion_secret_storage.cpp421 if (factory_reset_secret_) { in LoadOrCreateFactoryResetSecret()
452 factory_reset_secret_ = std::move(block); in LoadOrCreateFactoryResetSecret()
497 factory_reset_secret_ = std::move(buf); in LoadOrCreateFactoryResetSecret()
505 !factory_reset_secret_) { in CreateDataForNewKey()
512 retval.factory_reset_secret.Reinitialize(*factory_reset_secret_); in CreateDataForNewKey()
612 for (size_t tries = 0; tries < kMaxTries && !factory_reset_secret_; in GetDataForKey()
616 if (!factory_reset_secret_) { in GetDataForKey()
622 retval.factory_reset_secret.Reinitialize(*factory_reset_secret_); in GetDataForKey()
747 factory_reset_secret_ = {}; in DeleteAllKeys()
Dtrusty_secure_deletion_secret_storage.h45 mutable std::optional<Buffer> factory_reset_secret_; variable