Searched refs:CryptoUtilityImpl (Results 1 – 6 of 6) sorted by relevance
60 CryptoUtilityImpl::CryptoUtilityImpl(TpmUtility* tpm_utility) in CryptoUtilityImpl() function in attestation::CryptoUtilityImpl66 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 …]
31 class CryptoUtilityImpl : public CryptoUtility {34 explicit CryptoUtilityImpl(TpmUtility* tpm_utility);35 ~CryptoUtilityImpl() override;
62 crypto_utility_.reset(new CryptoUtilityImpl(&mock_tpm_utility_)); in SetUp()67 std::unique_ptr<CryptoUtilityImpl> crypto_utility_;
354 CryptoUtilityImpl crypto(nullptr); in EncryptForActivate3()393 CryptoUtilityImpl crypto(nullptr); in Encrypt2()448 CryptoUtilityImpl crypto(nullptr); in VerifySignature2()
283 std::unique_ptr<CryptoUtilityImpl> default_crypto_utility_;
62 default_crypto_utility_.reset(new CryptoUtilityImpl(tpm_utility_)); in Initialize()