Searched refs:pcr_select (Results 1 - 7 of 7) sorted by relevance

/system/tpm/trunks/
H A Dpolicy_session_impl.cc118 TPML_PCR_SELECTION pcr_select; local
119 memset(&pcr_select, 0, sizeof(TPML_PCR_SELECTION));
124 pcr_select.count = 1;
125 pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256;
126 pcr_select.pcr_selections[0].sizeof_select = PCR_SELECT_MIN;
127 pcr_select.pcr_selections[0].pcr_select[pcr_select_index] = pcr_select_byte;
143 pcr_select,
H A Dpolicy_session_test.cc161 TPML_PCR_SELECTION pcr_select; local
165 SaveArg<3>(&pcr_select),
170 EXPECT_EQ(pcr_select.count, 1u);
171 EXPECT_EQ(pcr_select.pcr_selections[0].hash, TPM_ALG_SHA256);
172 EXPECT_EQ(pcr_select.pcr_selections[0].sizeof_select, PCR_SELECT_MIN);
173 EXPECT_EQ(pcr_select.pcr_selections[0].pcr_select[pcr_select_index],
H A Dtpm_generated_test.cc44 data.creation_data.pcr_select.count = 1;
45 data.creation_data.pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256;
46 data.creation_data.pcr_select.pcr_selections[0].sizeof_select = 1;
47 data.creation_data.pcr_select.pcr_selections[0].pcr_select[0] = 0;
157 std::string pcr_select("\x00\x00\x00\x00", 4); // pcr_select.size = 0
186 sensitive + public_data + outside + pcr_select;
H A Dtpm_utility_test.cc111 pcrs->pcr_selections[pcrs->count].pcr_select[i] = 0xff;
122 pcrs->pcr_selections[pcrs->count].pcr_select[i] = 0xff;
455 // The |pcr_index| is chosen to match the structure for |pcr_select|.
456 // If you change |pcr_index|, remember to change |pcr_select|.
459 TPML_PCR_SELECTION pcr_select; local
460 pcr_select.count = 1;
461 pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256;
462 pcr_select.pcr_selections[0].sizeof_select = 1;
463 pcr_select.pcr_selections[0].pcr_select[
1647 TPML_PCR_SELECTION pcr_select; local
[all...]
H A Dtpm_utility_impl.cc213 pcr_allocation.pcr_selections[pcr_allocation.count].pcr_select[i] = 0xff;
384 pcr_select_in.pcr_selections[0].pcr_select[pcr_select_index] =
399 pcr_select_out.pcr_selections[0].pcr_select[pcr_select_index] !=
912 creation_pcrs.pcr_selections[0].pcr_select[creation_pcr_index / 8] =
H A Dtpm_generated.h1012 BYTE pcr_select[PCR_SELECT_MAX]; member in struct:trunks::TPMS_PCR_SELECT
1018 BYTE pcr_select[PCR_SELECT_MAX]; member in struct:trunks::TPMS_PCR_SELECTION
1057 BYTE pcr_select[PCR_SELECT_MAX]; member in struct:trunks::TPMS_TAGGED_PCR_SELECT
1160 TPML_PCR_SELECTION pcr_select; member in struct:trunks::TPMS_QUOTE_INFO
1609 TPML_PCR_SELECTION pcr_select; member in struct:trunks::TPMS_CREATION_DATA
H A Dtpm_generated.cc2982 if (arraysize(value.pcr_select) < value.sizeof_select) {
2986 result = Serialize_BYTE(value.pcr_select[i], buffer);
3009 if (arraysize(value->pcr_select) < value->sizeof_select) {
3015 &value->pcr_select[i],
3040 if (arraysize(value.pcr_select) < value.sizeof_select) {
3044 result = Serialize_BYTE(value.pcr_select[i], buffer);
3075 if (arraysize(value->pcr_select) < value->sizeof_select) {
3081 &value->pcr_select[i],
3403 if (arraysize(value.pcr_select) < value.sizeof_select) {
3407 result = Serialize_BYTE(value.pcr_select[
[all...]

Completed in 549 milliseconds