Home
last modified time | relevance | path

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

/system/tpm/attestation/common/
Dcrypto_utility_impl_test.cc180 std::string public_key_info; in TEST_F() local
182 &public_key_info)); in TEST_F()
185 public_key_info, in TEST_F()
202 std::string public_key_info; in TEST_F() local
204 &public_key_info)); in TEST_F()
206 EXPECT_TRUE(crypto_utility_->EncryptForUnbind(public_key_info, "input", in TEST_F()
218 std::string public_key_info; in TEST_F() local
220 &public_key_info)); in TEST_F()
223 EXPECT_FALSE(crypto_utility_->EncryptForUnbind(public_key_info, input, in TEST_F()
229 std::string public_key_info; in TEST_F() local
[all …]
Dcrypto_utility.h66 std::string* public_key_info) = 0;
70 virtual bool GetRSAPublicKey(const std::string& public_key_info,
Dcrypto_utility_impl.cc167 std::string* public_key_info) { in GetRSASubjectPublicKeyInfo() argument
184 public_key_info->assign(reinterpret_cast<char*>(buffer), length); in GetRSASubjectPublicKeyInfo()
188 bool CryptoUtilityImpl::GetRSAPublicKey(const std::string& public_key_info, in GetRSAPublicKey() argument
191 public_key_info.data()); in GetRSAPublicKey()
193 public_key_info.size())); in GetRSAPublicKey()
Dcrypto_utility_impl.h52 bool GetRSAPublicKey(const std::string& public_key_info,
/system/tpm/attestation/server/
Dattestation_service.cc199 std::string public_key_info; in GetKeyInfoTask() local
201 &public_key_info)) { in GetKeyInfoTask()
208 result->set_public_key(public_key_info); in GetKeyInfoTask()
253 std::string public_key_info; in GetEndorsementInfoTask() local
257 &public_key_info)) { in GetEndorsementInfoTask()
262 result->set_ek_public_key(public_key_info); in GetEndorsementInfoTask()
299 std::string public_key_info; in GetAttestationKeyInfoTask() local
303 &public_key_info)) { in GetAttestationKeyInfoTask()
308 result->set_public_key(public_key_info); in GetAttestationKeyInfoTask()
400 std::string public_key_info; in CreateCertifiableKeyTask() local
[all …]
Dattestation_service.h276 std::string* public_key_info) const;