/external/tpm2-tss/test/unit/ |
D | TPML-marshal.c | 48 sel.pcrSelections[0].pcrSelect[0] = 0xaa; in tpml_marshal_success() 49 sel.pcrSelections[0].pcrSelect[1] = 0xbb; in tpml_marshal_success() 50 sel.pcrSelections[0].pcrSelect[2] = 0xcc; in tpml_marshal_success() 53 sel.pcrSelections[1].pcrSelect[0] = 0xdd; in tpml_marshal_success() 54 sel.pcrSelections[1].pcrSelect[1] = 0xee; in tpml_marshal_success() 101 sel.pcrSelections[0].pcrSelect[0] = 0xaa; in tpml_marshal_success_offset() 102 sel.pcrSelections[0].pcrSelect[1] = 0xbb; in tpml_marshal_success_offset() 103 sel.pcrSelections[0].pcrSelect[2] = 0xcc; in tpml_marshal_success_offset() 106 sel.pcrSelections[1].pcrSelect[0] = 0xdd; in tpml_marshal_success_offset() 107 sel.pcrSelections[1].pcrSelect[1] = 0xee; in tpml_marshal_success_offset() [all …]
|
D | fapi-json.c | 333 .pcrSelect = { 01, 00, 03 }}, in check_bin() 337 .pcrSelect = { 01 ,00 ,03 }}, in check_bin() 341 .pcrSelect = { 02, 00, 02 }} in check_bin()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/ |
D | PCR.c | 261 gp.pcrAllocated.pcrSelections[gp.pcrAllocated.count].pcrSelect[i] in PCRSimStart() 323 if(((gp.pcrAllocated.pcrSelections[i].pcrSelect[pcr / 8]) in PcrIsAllocated() 385 && ((selection->pcrSelect[pcr / 8]) & (1 << (pcr % 8))) != 0); in IsPcrSelected() 402 selection->pcrSelect[i] = 0; in FilterPcr() 419 selection->pcrSelect[i] = 0; in FilterPcr() 422 selection->pcrSelect[i] &= allocated->pcrSelect[i]; in FilterPcr() 831 select->pcrSelect[pcr / 8] &= (BYTE)~(1 << (pcr % 8)); in PCRRead() 857 MemorySet(selection->pcrSelections[i].pcrSelect, 0, in PCRRead() 932 newAllocate.pcrSelections[i].pcrSelect, in PCRAllocate() 942 newAllocate.pcrSelections[i].pcrSelect, in PCRAllocate() [all …]
|
/external/tpm2-tss/test/integration/ |
D | sapi-pcr-extension.int.c | 70 pcr_selection.pcrSelections[0].pcrSelect[0] = 0; in test_invoke() 71 pcr_selection.pcrSelections[0].pcrSelect[1] = 0; in test_invoke() 72 pcr_selection.pcrSelections[0].pcrSelect[2] = 0; in test_invoke() 73 pcr_selection.pcrSelections[0].pcrSelect[PCR_8 / 8] = 1 << (PCR_8 % 8); in test_invoke()
|
D | esys-pcr-basic.int.c | 78 .pcrSelect = { 01, 00, 03}, in test_esys_pcr_basic() 82 .pcrSelect = { 01, 00, 03} in test_esys_pcr_basic()
|
D | esys-quote.int.c | 158 .pcrSelect = { 0,4,0 } }, in test_esys_quote() 162 .pcrSelect = { 0,4,0 } }, in test_esys_quote()
|
D | esys-policy-regression.int.c | 132 .pcrSelect = {00, 00, 01}, in test_esys_policy_regression()
|
/external/tpm2-tss/src/tss2-mu/ |
D | tpms-types.c | 50 if (src->sizeofSelect > TAB_SIZE(src->pcrSelect)) { \ 52 TAB_SIZE(src->pcrSelect)); \ 65 ret = Tss2_MU_BYTE_Marshal(src->pcrSelect[i], buffer, buffer_size, \ 118 if ((dest? dest->sizeofSelect : tmp) > TAB_SIZE(dest->pcrSelect)) { \ 120 dest? dest->sizeofSelect : tmp, TAB_SIZE(dest->pcrSelect)); \ 127 dest? &dest->pcrSelect[i] : NULL); \ 1182 pcrSelect, ADDR, Tss2_MU_TPML_PCR_SELECTION_Marshal, 1186 pcrSelect, Tss2_MU_TPML_PCR_SELECTION_Unmarshal, 1190 pcrSelect, ADDR, Tss2_MU_TPML_PCR_SELECTION_Marshal, 1199 pcrSelect, Tss2_MU_TPML_PCR_SELECTION_Unmarshal,
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/ |
D | Quote.c | 90 quoted.attested.quote.pcrSelect = in->PCRselect; in TPM2_Quote()
|
/external/tpm2-tss/src/tss2-fapi/ |
D | ifapi_policy_instantiate.h | 49 TPMS_PCR_SELECT *pcrSelect,
|
D | ifapi_policy_callbacks.c | 314 if (flag & profile_selection->pcrSelections[i].pcrSelect[byte_idx] && in ifapi_read_pcr() 315 flag & pcr_select->pcrSelect[byte_idx]) { in ifapi_read_pcr() 329 pcr_selection->pcrSelections[0].pcrSelect[i] = pcr_select->pcrSelect[i]; in ifapi_read_pcr() 357 if (flag & out_selection->pcrSelections[i].pcrSelect[byte_idx]) in ifapi_read_pcr() 372 if (flag & out_selection->pcrSelections[i].pcrSelect[byte_idx]) { in ifapi_read_pcr()
|
D | ifapi_helpers.c | 1793 memset(&fapi_quote_info->attest.attested.quote.pcrSelect, 0, in ifapi_get_quote_info() 1969 pcr_selection = "e_info->attest.attested.quote.pcrSelect; in ifapi_calculate_pcr_digest() 1992 if (flag & pcr_selection->pcrSelections[i].pcrSelect[byte_idx]) { in ifapi_calculate_pcr_digest() 2079 if ((pcr_profile->pcrSelections[i].pcrSelect[k] & in ifapi_check_profile_pcr_selection() 2080 pcr_capablity->pcrSelections[j].pcrSelect[k]) in ifapi_check_profile_pcr_selection() 2081 != pcr_profile->pcrSelections[i].pcrSelect[k]) { in ifapi_check_profile_pcr_selection() 2133 pcr_selection->pcrSelections[bank].pcrSelect[select] &= selection[select]; in ifapi_filter_pcr_selection_by_index() 2140 if (pcr_selection->pcrSelections[bank].pcrSelect[select]) in ifapi_filter_pcr_selection_by_index() 2218 pcr_selection->pcrSelections[j].pcrSelect[pcrIndex / 8] |= in ifapi_compute_policy_digest() 2242 if ((selection.pcrSelect[pcr / 8]) & (1 << (pcr % 8))) { in ifapi_compute_policy_digest()
|
D | ifapi_profiles.c | 534 if (pcr_profile->pcrSelections[i].pcrSelect[byte_idx] & in ifapi_profile_checkpcrs() 535 pcr_profile->pcrSelections[j].pcrSelect[byte_idx]) { in ifapi_profile_checkpcrs()
|
D | tpm_json_serialize.c | 55 const BYTE pcrSelect[], in ifapi_json_pcr_select_serialize() argument 71 if (pcrSelect[i2 / 8] & (BYTE)(1 << (i2 % 8))) { in ifapi_json_pcr_select_serialize() 94 r = ifapi_json_pcr_select_serialize(in->sizeofSelect, &in->pcrSelect[0], jso); in ifapi_json_TPMS_PCR_SELECT_serialize() 124 r = ifapi_json_pcr_select_serialize(in->sizeofSelect, &in->pcrSelect[0], &jso2); in ifapi_json_TPMS_PCR_SELECTION_serialize() 152 r = ifapi_json_pcr_select_serialize(in->sizeofSelect, &in->pcrSelect[0], &jso2); in ifapi_json_TPMS_TAGGED_PCR_SELECT_serialize() 2009 r = ifapi_json_TPML_PCR_SELECTION_serialize(&in->pcrSelect, &jso2); in ifapi_json_TPMS_QUOTE_INFO_serialize() 3973 r = ifapi_json_TPML_PCR_SELECTION_serialize(&in->pcrSelect, &jso2); in ifapi_json_TPMS_CREATION_DATA_serialize()
|
D | tpm_json_deserialize.c | 268 BYTE pcrSelect[]) in ifapi_json_pcr_selection_deserialize() argument 285 pcrSelect[n_byte] |= (BYTE)(1 << (n % 8)); in ifapi_json_pcr_selection_deserialize() 333 &out->pcrSelect[0]); in ifapi_json_TPMS_PCR_SELECT_deserialize() 364 &out->pcrSelect[0]); in ifapi_json_TPMS_PCR_SELECTION_deserialize() 1925 r = ifapi_json_TPML_PCR_SELECTION_deserialize(jso2, &out->pcrSelect); in ifapi_json_TPMS_QUOTE_INFO_deserialize() 4121 r = ifapi_json_TPML_PCR_SELECTION_deserialize(jso2, &out->pcrSelect); in ifapi_json_TPMS_CREATION_DATA_deserialize()
|
/external/tpm2-tss/test/tpmclient/ |
D | tpmclient.int.c | 47 … (pcrSelection).pcrSelect[( (pcr)/8 )] |= ( 1 << ( (pcr) % 8) ); 50 (pcrSelection).pcrSelect[0] = 0; \ 51 (pcrSelection).pcrSelect[1] = 0; \ 52 (pcrSelection).pcrSelect[2] = 0; 564 pcrSelection.pcrSelections[0].pcrSelect[0] = 0; in TestPcrExtend() 565 pcrSelection.pcrSelections[0].pcrSelect[1] = 0; in TestPcrExtend() 566 pcrSelection.pcrSelections[0].pcrSelect[2] = 0; in TestPcrExtend() 1416 pcrSelection.pcrSelections[0].pcrSelect[0] = 0; in TestQuote() 1417 pcrSelection.pcrSelections[0].pcrSelect[1] = 0; in TestQuote() 1418 pcrSelection.pcrSelections[0].pcrSelect[2] = 0; in TestQuote() [all …]
|
/external/tpm2-tss/include/tss2/ |
D | tss2_tpm2_types.h | 947 BYTE pcrSelect[TPM2_PCR_SELECT_MAX]; /* the bit map of selected PCR */ member 954 BYTE pcrSelect[TPM2_PCR_SELECT_MAX]; /* the bit map of selected PCR */ member 1001 BYTE pcrSelect[TPM2_PCR_SELECT_MAX]; /* the bit map of PCR with the identified property */ member 1130 TPML_PCR_SELECTION pcrSelect; /* information on algID PCR selected and digest */ member 1749 TPML_PCR_SELECTION pcrSelect; /* list indicating the PCR included in pcrDigest */ member
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/ |
D | TableMarshalData.c | 338 (UINT16)(offsetof(TPMS_PCR_SELECT, pcrSelect))}}, 349 (UINT16)(offsetof(TPMS_PCR_SELECTION, pcrSelect))}}, 420 (UINT16)(offsetof(TPMS_TAGGED_PCR_SELECT, pcrSelect))}}, 575 (UINT16)(offsetof(TPMS_QUOTE_INFO, pcrSelect)), 1239 (UINT16)(offsetof(TPMS_CREATION_DATA, pcrSelect)),
|
D | Marshal.c | 2273 …result = BYTE_Array_Unmarshal((BYTE *)(target->pcrSelect), buffer, size, (INT32)(target->sizeofSel… in TPMS_PCR_SELECT_Unmarshal() 2282 …result = (UINT16)(result + BYTE_Array_Marshal((BYTE *)(source->pcrSelect), buffer, size, (INT32)(s… in TPMS_PCR_SELECT_Marshal() 2302 …result = BYTE_Array_Unmarshal((BYTE *)(target->pcrSelect), buffer, size, (INT32)(target->sizeofSel… in TPMS_PCR_SELECTION_Unmarshal() 2312 …result = (UINT16)(result + BYTE_Array_Marshal((BYTE *)(source->pcrSelect), buffer, size, (INT32)(s… in TPMS_PCR_SELECTION_Marshal() 2444 …result = (UINT16)(result + BYTE_Array_Marshal((BYTE *)(source->pcrSelect), buffer, size, (INT32)(s… in TPMS_TAGGED_PCR_SELECT_Marshal() 2786 …result = (UINT16)(result + TPML_PCR_SELECTION_Marshal((TPML_PCR_SELECTION *)&(source->pcrSelect), … in TPMS_QUOTE_INFO_Marshal() 5540 …result = (UINT16)(result + TPML_PCR_SELECTION_Marshal((TPML_PCR_SELECTION *)&(source->pcrSelect), … in TPMS_CREATION_DATA_Marshal()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | TpmTypes.h | 1420 BYTE pcrSelect[PCR_SELECT_MAX]; member 1426 BYTE pcrSelect[PCR_SELECT_MAX]; member 1466 BYTE pcrSelect[PCR_SELECT_MAX]; member 1589 TPML_PCR_SELECTION pcrSelect; member 2401 TPML_PCR_SELECTION pcrSelect; member
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/ |
D | Object_spt.c | 726 outCreation->creationData.pcrSelect = *creationPCR; in FillInCreationData()
|
/external/tpm2-tss/doc/ |
D | doxygen.dox | 2728 const BYTE pcrSelect[], 3049 BYTE pcrSelect[])
|