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

/system/tpm/trunks/
H A Dpolicy_session_impl.cc114 TPML_PCR_SELECTION pcr_select; local
115 memset(&pcr_select, 0, sizeof(TPML_PCR_SELECTION));
120 pcr_select.count = 1;
121 pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256;
122 pcr_select.pcr_selections[0].sizeof_select = PCR_SELECT_MIN;
123 pcr_select.pcr_selections[0].pcr_select[pcr_select_index] = pcr_select_byte;
138 pcr_digest, pcr_select, nullptr);
H A Dpolicy_session_test.cc159 TPML_PCR_SELECTION pcr_select; local
162 .WillOnce(DoAll(SaveArg<2>(&pcr_value), SaveArg<3>(&pcr_select),
167 EXPECT_EQ(pcr_select.count, 1u);
168 EXPECT_EQ(pcr_select.pcr_selections[0].hash, TPM_ALG_SHA256);
169 EXPECT_EQ(pcr_select.pcr_selections[0].sizeof_select, PCR_SELECT_MIN);
170 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;
162 std::string pcr_select("\x00\x00\x00\x00", 4); // pcr_select.size = 0
201 sensitive + public_data + outside + pcr_select;
H A Dtpm_utility_test.cc109 pcrs->pcr_selections[pcrs->count].pcr_select[i] = 0xff;
120 pcrs->pcr_selections[pcrs->count].pcr_select[i] = 0xff;
436 // The |pcr_index| is chosen to match the structure for |pcr_select|.
437 // If you change |pcr_index|, remember to change |pcr_select|.
440 TPML_PCR_SELECTION pcr_select; local
441 pcr_select.count = 1;
442 pcr_select.pcr_selections[0].hash = TPM_ALG_SHA256;
443 pcr_select.pcr_selections[0].sizeof_select = 1;
444 pcr_select.pcr_selections[0].pcr_select[
1519 TPML_PCR_SELECTION pcr_select; local
[all...]
H A Dtpm_utility_impl.cc216 pcr_allocation.pcr_selections[pcr_allocation.count].pcr_select[i] = 0xff;
384 pcr_select_in.pcr_selections[0].pcr_select[pcr_select_index] =
397 pcr_select_out.pcr_selections[0].pcr_select[pcr_select_index] !=
887 creation_pcrs.pcr_selections[0].pcr_select[creation_pcr_index / 8] =
H A Dtpm_generated.h1045 BYTE pcr_select[PCR_SELECT_MAX]; member in struct:trunks::TPMS_PCR_SELECT
1051 BYTE pcr_select[PCR_SELECT_MAX]; member in struct:trunks::TPMS_PCR_SELECTION
1090 BYTE pcr_select[PCR_SELECT_MAX]; member in struct:trunks::TPMS_TAGGED_PCR_SELECT
1193 TPML_PCR_SELECTION pcr_select; member in struct:trunks::TPMS_QUOTE_INFO
1641 TPML_PCR_SELECTION pcr_select; member in struct:trunks::TPMS_CREATION_DATA
H A Dtpm_generated.cc2819 if (arraysize(value.pcr_select) < value.sizeof_select) {
2823 result = Serialize_BYTE(value.pcr_select[i], buffer);
2842 if (arraysize(value->pcr_select) < value->sizeof_select) {
2846 result = Parse_BYTE(buffer, &value->pcr_select[i], value_bytes);
2869 if (arraysize(value.pcr_select) < value.sizeof_select) {
2873 result = Serialize_BYTE(value.pcr_select[i], buffer);
2897 if (arraysize(value->pcr_select) < value->sizeof_select) {
2901 result = Parse_BYTE(buffer, &value->pcr_select[i], value_bytes);
3163 if (arraysize(value.pcr_select) < value.sizeof_select) {
3167 result = Serialize_BYTE(value.pcr_select[
[all...]

Completed in 123 milliseconds