Searched refs:database_key_ (Results 1 – 2 of 2) sorted by relevance
/system/tpm/attestation/server/ |
D | database_impl.cc | 54 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()
|
D | database_impl.h | 80 std::string database_key_; variable
|