Home
last modified time | relevance | path

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

/system/tpm/attestation/server/
Ddatabase_impl.cc54 brillo::SecureMemset(string_as_array(&database_key_), 0, in ~DatabaseImpl()
55 database_key_.size()); in ~DatabaseImpl()
165 if (database_key_.empty() || sealed_database_key_.empty()) { in EncryptProtobuf()
166 if (!crypto_->CreateSealedKey(&database_key_, &sealed_database_key_)) { in EncryptProtobuf()
171 if (!crypto_->EncryptData(serial_proto, database_key_, sealed_database_key_, in EncryptProtobuf()
180 if (!crypto_->UnsealKey(encrypted_input, &database_key_, in DecryptProtobuf()
186 if (!crypto_->DecryptData(encrypted_input, database_key_, &serial_proto)) { in DecryptProtobuf()
Ddatabase_impl.h80 std::string database_key_; variable