Lines Matching refs:TPM_RC
54 virtual TPM_RC Startup() = 0;
60 virtual TPM_RC Clear() = 0;
68 virtual TPM_RC InitializeTpm() = 0;
74 virtual TPM_RC AllocatePCR(const std::string& platform_password) = 0;
78 virtual TPM_RC TakeOwnership(const std::string& owner_password,
84 virtual TPM_RC StirRandom(const std::string& entropy_data,
89 virtual TPM_RC GenerateRandom(size_t num_bytes,
97 virtual TPM_RC ExtendPCR(int pcr_index,
103 virtual TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) = 0;
110 virtual TPM_RC AsymmetricEncrypt(TPM_HANDLE key_handle,
122 virtual TPM_RC AsymmetricDecrypt(TPM_HANDLE key_handle,
136 virtual TPM_RC Sign(TPM_HANDLE key_handle,
150 virtual TPM_RC Verify(TPM_HANDLE key_handle,
161 virtual TPM_RC CertifyCreation(TPM_HANDLE key_handle,
170 virtual TPM_RC ChangeKeyAuthorizationData(TPM_HANDLE key_handle,
179 virtual TPM_RC ImportRSAKey(AsymmetricKeyUsage key_type,
202 virtual TPM_RC CreateRSAKeyPair(AsymmetricKeyUsage key_type,
216 virtual TPM_RC LoadKey(const std::string& key_blob,
222 virtual TPM_RC GetKeyName(TPM_HANDLE handle, std::string* name) = 0;
225 virtual TPM_RC GetKeyPublicArea(TPM_HANDLE handle,
230 virtual TPM_RC SealData(const std::string& data_to_seal,
237 virtual TPM_RC UnsealData(const std::string& sealed_data,
243 virtual TPM_RC StartSession(HmacSession* session) = 0;
248 virtual TPM_RC GetPolicyDigestForPcrValue(int pcr_index,
257 virtual TPM_RC DefineNVSpace(uint32_t index,
263 virtual TPM_RC DestroyNVSpace(uint32_t index,
269 virtual TPM_RC LockNVSpace(uint32_t index,
274 virtual TPM_RC WriteNVSpace(uint32_t index,
283 virtual TPM_RC ReadNVSpace(uint32_t index,
291 virtual TPM_RC GetNVSpaceName(uint32_t index, std::string* name) = 0;
295 virtual TPM_RC GetNVSpacePublicArea(uint32_t index,