Searched refs:EncryptData (Results 1 – 8 of 8) sorted by relevance
/system/tpm/attestation/common/ |
D | crypto_utility_impl_test.cc | 91 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()
|
D | mock_crypto_utility.cc | 44 ON_CALL(*this, EncryptData(_, _, _, _)) in MockCryptoUtility()
|
D | mock_crypto_utility.h | 38 MOCK_METHOD4(EncryptData,
|
D | crypto_utility.h | 43 virtual bool EncryptData(const std::string& data,
|
D | crypto_utility_impl.h | 40 bool EncryptData(const std::string& data,
|
D | crypto_utility_impl.cc | 95 bool CryptoUtilityImpl::EncryptData(const std::string& data, in EncryptData() function in attestation::CryptoUtilityImpl
|
/system/tpm/attestation/server/ |
D | database_impl_test.cc | 128 EXPECT_CALL(mock_crypto_utility_, EncryptData(_, _, _, _)) in TEST_F()
|
D | database_impl.cc | 171 if (!crypto_->EncryptData(serial_proto, database_key_, sealed_database_key_, in EncryptProtobuf()
|