Home
last modified time | relevance | path

Searched refs:nvram_public (Results 1 – 2 of 2) sorted by relevance

/system/tpm/tpm_manager/server/
Dtpm2_nvram_test.cc157 trunks::TPMS_NV_PUBLIC nvram_public; in TEST_F() local
158 nvram_public.data_size = size; in TEST_F()
160 .WillOnce(DoAll(SetArgPointee<1>(nvram_public), in TEST_F()
182 trunks::TPMS_NV_PUBLIC nvram_public; in TEST_F() local
184 .WillOnce(DoAll(SetArgPointee<1>(nvram_public), in TEST_F()
220 trunks::TPMS_NV_PUBLIC nvram_public; in TEST_F() local
221 nvram_public.attributes = trunks::TPMA_NV_WRITELOCKED; in TEST_F()
223 .WillOnce(DoAll(SetArgPointee<1>(nvram_public), in TEST_F()
232 trunks::TPMS_NV_PUBLIC nvram_public; in TEST_F() local
233 nvram_public.attributes = 0; in TEST_F()
[all …]
Dtpm2_nvram_impl.cc152 trunks::TPMS_NV_PUBLIC nvram_public; in IsNvramDefined() local
153 TPM_RC result = trunks_utility_->GetNVSpacePublicArea(index, &nvram_public); in IsNvramDefined()
167 trunks::TPMS_NV_PUBLIC nvram_public; in IsNvramLocked() local
168 TPM_RC result = trunks_utility_->GetNVSpacePublicArea(index, &nvram_public); in IsNvramLocked()
174 *locked = ((nvram_public.attributes & trunks::TPMA_NV_WRITELOCKED) != 0); in IsNvramLocked()
179 trunks::TPMS_NV_PUBLIC nvram_public; in GetNvramSize() local
180 TPM_RC result = trunks_utility_->GetNVSpacePublicArea(index, &nvram_public); in GetNvramSize()
186 *size = nvram_public.data_size; in GetNvramSize()