Home
last modified time | relevance | path

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

/system/tpm/tpm_manager/server/
Dtpm2_initializer_impl.cc34 const size_t kDefaultPasswordSize = 20; variable
82 if (!GetTpmRandomData(kDefaultPasswordSize, &owner_password)) { in InitializeTpm()
86 if (!GetTpmRandomData(kDefaultPasswordSize, &endorsement_password)) { in InitializeTpm()
90 if (!GetTpmRandomData(kDefaultPasswordSize, &lockout_password)) { in InitializeTpm()
176 if (!openssl_util_->GetRandomBytes(kDefaultPasswordSize, &random_bytes)) { in SeedTpmRng()
Dtpm_initializer_impl.cc35 const size_t kDefaultPasswordSize = 20; variable
40 return std::string(kDefaultOwnerPassword, kDefaultPasswordSize); in GetDefaultOwnerPassword()
63 if (!openssl_util_.GetRandomBytes(kDefaultPasswordSize, &owner_password)) { in InitializeTpm()