Home
last modified time | relevance | path

Searched refs:capability_data (Results 1 – 8 of 8) sorted by relevance

/system/tpm/trunks/
Dtpm_state_impl.cc90 TPMS_CAPABILITY_DATA capability_data; in Initialize() local
95 &capability_data, in Initialize()
101 if (capability_data.capability != TPM_CAP_ALGS || in Initialize()
102 capability_data.data.algorithms.count != 1) { in Initialize()
106 if (capability_data.data.algorithms.alg_properties[0].alg == TPM_ALG_RSA) { in Initialize()
108 capability_data.data.algorithms.alg_properties[0].alg_properties; in Initialize()
114 &capability_data, in Initialize()
120 if (capability_data.capability != TPM_CAP_ALGS || in Initialize()
121 capability_data.data.algorithms.count != 1) { in Initialize()
125 if (capability_data.data.algorithms.alg_properties[0].alg == TPM_ALG_ECC) { in Initialize()
[all …]
Dtpm_state_test.cc92 TPM_RC GetLivePermanent(TPMS_CAPABILITY_DATA* capability_data) { in GetLivePermanent() argument
93 *capability_data = permanent_data_; in GetLivePermanent()
96 TPM_RC GetLiveStartupClear(TPMS_CAPABILITY_DATA* capability_data) { in GetLiveStartupClear() argument
97 *capability_data = startup_clear_data_; in GetLiveStartupClear()
100 TPM_RC GetLiveRSA(TPMS_CAPABILITY_DATA* capability_data) { in GetLiveRSA() argument
101 *capability_data = rsa_data_; in GetLiveRSA()
104 TPM_RC GetLiveECC(TPMS_CAPABILITY_DATA* capability_data) { in GetLiveECC() argument
105 *capability_data = ecc_data_; in GetLiveECC()
108 TPM_RC GetLiveLockoutCounter(TPMS_CAPABILITY_DATA* capability_data) { in GetLiveLockoutCounter() argument
109 *capability_data = lockout_counter_; in GetLiveLockoutCounter()
[all …]
Dtpm_utility_impl.cc185 TPMS_CAPABILITY_DATA capability_data; in AllocatePCR() local
188 &capability_data, nullptr /*authorization_delegate*/); in AllocatePCR()
193 TPML_PCR_SELECTION& existing_pcrs = capability_data.data.assigned_pcr; in AllocatePCR()
1858 TPMS_CAPABILITY_DATA capability_data; in DoesPersistentKeyExist() local
1861 &capability_data, nullptr /*authorization_delegate*/); in DoesPersistentKeyExist()
1867 TPML_HANDLE& handles = capability_data.data.handles; in DoesPersistentKeyExist()
Dtpm_utility_test.cc90 TPMS_CAPABILITY_DATA capability_data = {}; in SetExistingKeyHandleExpectation() local
91 TPML_HANDLE& handles = capability_data.data.handles; in SetExistingKeyHandleExpectation()
97 DoAll(SetArgPointee<4>(capability_data), Return(TPM_RC_SUCCESS))); in SetExistingKeyHandleExpectation()
130 TPMS_CAPABILITY_DATA capability_data = {}; in SetExistingPCRSExpectation() local
131 TPML_PCR_SELECTION& pcrs = capability_data.data.assigned_pcr; in SetExistingPCRSExpectation()
136 DoAll(SetArgPointee<4>(capability_data), Return(TPM_RC_SUCCESS))); in SetExistingPCRSExpectation()
Dmock_tpm.h1411 TPMS_CAPABILITY_DATA* capability_data,
Dtpm_generated.h6255 const TPMS_CAPABILITY_DATA& capability_data)> GetCapabilityResponse;
6265 TPMS_CAPABILITY_DATA* capability_data,
6278 TPMS_CAPABILITY_DATA* capability_data,
Dtpm_generated.cc36617 TPMS_CAPABILITY_DATA* capability_data, in ParseResponse_GetCapability() argument
36707 capability_data, in ParseResponse_GetCapability()
36732 TPMS_CAPABILITY_DATA capability_data; in GetCapabilityResponseParser() local
36736 &capability_data, in GetCapabilityResponseParser()
36745 capability_data); in GetCapabilityResponseParser()
36780 TPMS_CAPABILITY_DATA* capability_data, in GetCapabilitySync() argument
36797 capability_data, in GetCapabilitySync()
/system/tpm/tpm_manager/server/
Dtpm_status_impl.cc48 std::string capability_data; in GetDictionaryAttackInfo() local
50 &capability_data, nullptr) || in GetDictionaryAttackInfo()
51 capability_data.size() < kMinimumDaInfoSize) { in GetDictionaryAttackInfo()
55 if (static_cast<uint16_t>(capability_data[1]) == TPM_TAG_DA_INFO) { in GetDictionaryAttackInfo()
58 std::vector<BYTE> bytes(capability_data.begin(), capability_data.end()); in GetDictionaryAttackInfo()
70 std::string capability_data; in RefreshOwnedEnabledInfo() local
72 &capability_data, &result)) { in RefreshOwnedEnabledInfo()
82 if (capability_data.size() != sizeof(TSS_BOOL)) { in RefreshOwnedEnabledInfo()
86 is_owned_ = (capability_data[0] != 0); in RefreshOwnedEnabledInfo()