Lines Matching refs:tcg
14 const EFI_TCG *tcg, in tpm1_measure_to_pcr_and_event_log() argument
25 assert(tcg); in tpm1_measure_to_pcr_and_event_log()
37 return tcg->HashLogExtendEvent( in tpm1_measure_to_pcr_and_event_log()
38 (EFI_TCG *) tcg, in tpm1_measure_to_pcr_and_event_log()
47 EFI_TCG2 *tcg, in tpm2_measure_to_pcr_and_event_log() argument
56 assert(tcg); in tpm2_measure_to_pcr_and_event_log()
71 return tcg->HashLogExtendEvent( in tpm2_measure_to_pcr_and_event_log()
72 tcg, in tpm2_measure_to_pcr_and_event_log()
85 EFI_TCG *tcg; in tcg1_interface_check() local
87 status = LibLocateProtocol((EFI_GUID*) EFI_TCG_GUID, (void **) &tcg); in tcg1_interface_check()
91 status = tcg->StatusCheck( in tcg1_interface_check()
92 tcg, in tcg1_interface_check()
106 return tcg; in tcg1_interface_check()
114 EFI_TCG2 *tcg; in tcg2_interface_check() local
116 status = LibLocateProtocol((EFI_GUID*) EFI_TCG2_GUID, (void **) &tcg); in tcg2_interface_check()
120 status = tcg->GetCapability(tcg, &capability); in tcg2_interface_check()
129 return tcg; in tcg2_interface_check()
135 return tcg; in tcg2_interface_check()