Home
last modified time | relevance | path

Searched refs:policy_record (Results 1 – 3 of 3) sorted by relevance

/system/tpm/tpm_manager/server/
Dtpm2_nvram_impl.cc156 NvramPolicyRecord policy_record; in DefineSpace() local
157 policy_record.set_index(index); in DefineSpace()
158 policy_record.set_policy(policy); in DefineSpace()
159 policy_record.set_world_read_allowed(world_read_allowed); in DefineSpace()
160 policy_record.set_world_write_allowed(world_write_allowed); in DefineSpace()
162 if (!ComputePolicyDigest(&policy_record, &policy_digest)) { in DefineSpace()
173 if (!SavePolicyRecord(policy_record)) { in DefineSpace()
219 NvramPolicyRecord policy_record; in WriteSpace() local
220 if (!GetPolicyRecord(index, &policy_record)) { in WriteSpace()
225 policy_record, authorization_value, in WriteSpace()
[all …]
Dtpm2_nvram_impl.h82 bool SetupPolicySession(const NvramPolicyRecord& policy_record,
89 bool AddPoliciesForCommand(const NvramPolicyRecord& policy_record,
95 bool AddPolicyOR(const NvramPolicyRecord& policy_record,
100 bool ComputePolicyDigest(NvramPolicyRecord* policy_record,
Dtpm2_nvram_test.cc114 NvramPolicyRecord& policy_record = *local_data.add_nvram_policy(); in SetupExistingSpace() local
115 policy_record.set_index(index); in SetupExistingSpace()
117 policy_record.set_policy(NVRAM_POLICY_PCR0); in SetupExistingSpace()