Home
last modified time | relevance | path

Searched refs:EncryptData (Results 1 – 8 of 8) sorted by relevance

/system/tpm/attestation/common/
Dcrypto_utility_impl_test.cc91 crypto_utility_->EncryptData(data, key, sealed_key, &encrypted_data)); in TEST_F()
111 EXPECT_TRUE(crypto_utility_->EncryptData(std::string(), key, key, &output)); in TEST_F()
117 EXPECT_FALSE(crypto_utility_->EncryptData(std::string(), key, key, &output)); in TEST_F()
129 EXPECT_TRUE(crypto_utility_->EncryptData("data", key, key, &data)); in TEST_F()
Dmock_crypto_utility.cc44 ON_CALL(*this, EncryptData(_, _, _, _)) in MockCryptoUtility()
Dmock_crypto_utility.h38 MOCK_METHOD4(EncryptData,
Dcrypto_utility.h43 virtual bool EncryptData(const std::string& data,
Dcrypto_utility_impl.h40 bool EncryptData(const std::string& data,
Dcrypto_utility_impl.cc95 bool CryptoUtilityImpl::EncryptData(const std::string& data, in EncryptData() function in attestation::CryptoUtilityImpl
/system/tpm/attestation/server/
Ddatabase_impl_test.cc128 EXPECT_CALL(mock_crypto_utility_, EncryptData(_, _, _, _)) in TEST_F()
Ddatabase_impl.cc171 if (!crypto_->EncryptData(serial_proto, database_key_, sealed_database_key_, in EncryptProtobuf()