Home
last modified time | relevance | path

Searched refs:CryptoUtilityImpl (Results 1 – 6 of 6) sorted by relevance

/system/tpm/attestation/common/
Dcrypto_utility_impl.cc60 CryptoUtilityImpl::CryptoUtilityImpl(TpmUtility* tpm_utility) in CryptoUtilityImpl() function in attestation::CryptoUtilityImpl
66 CryptoUtilityImpl::~CryptoUtilityImpl() { in ~CryptoUtilityImpl()
71 bool CryptoUtilityImpl::GetRandom(size_t num_bytes, in GetRandom()
82 bool CryptoUtilityImpl::CreateSealedKey(std::string* aes_key, in CreateSealedKey()
95 bool CryptoUtilityImpl::EncryptData(const std::string& data, in EncryptData()
121 bool CryptoUtilityImpl::UnsealKey(const std::string& encrypted_data, in UnsealKey()
137 bool CryptoUtilityImpl::DecryptData(const std::string& encrypted_data, in DecryptData()
164 bool CryptoUtilityImpl::GetRSASubjectPublicKeyInfo( in GetRSASubjectPublicKeyInfo()
187 bool CryptoUtilityImpl::GetRSAPublicKey(const std::string& public_key_info, in GetRSAPublicKey()
210 bool CryptoUtilityImpl::EncryptIdentityCredential( in EncryptIdentityCredential()
[all …]
Dcrypto_utility_impl.h31 class CryptoUtilityImpl : public CryptoUtility {
34 explicit CryptoUtilityImpl(TpmUtility* tpm_utility);
35 ~CryptoUtilityImpl() override;
Dcrypto_utility_impl_test.cc62 crypto_utility_.reset(new CryptoUtilityImpl(&mock_tpm_utility_)); in SetUp()
67 std::unique_ptr<CryptoUtilityImpl> crypto_utility_;
/system/tpm/attestation/client/
Dmain.cc354 CryptoUtilityImpl crypto(nullptr); in EncryptForActivate3()
393 CryptoUtilityImpl crypto(nullptr); in Encrypt2()
448 CryptoUtilityImpl crypto(nullptr); in VerifySignature2()
/system/tpm/attestation/server/
Dattestation_service.h283 std::unique_ptr<CryptoUtilityImpl> default_crypto_utility_;
Dattestation_service.cc62 default_crypto_utility_.reset(new CryptoUtilityImpl(tpm_utility_)); in Initialize()