Home
last modified time | relevance | path

Searched refs:read_pcr (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/test/py/tests/
H A Dtest_tpm2.py188 read_pcr = u_boot_console.run_command('tpm2 pcr_read 0 0x%x' % ram)
193 str = re.findall(r'\d+ known updates', read_pcr)[0]
198 assert 'PCR #0 content' in read_pcr
199 assert '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00' in read_pcr
219 read_pcr = u_boot_console.run_command('tpm2 pcr_read 0 0x%x' % ram)
222 assert 'f5 a5 fd 42 d1 6a 20 30 27 98 ef 6e d3 09 97 9b' in read_pcr
223 assert '43 00 3d 23 20 d9 f0 e8 ea 98 31 a9 27 59 fb 4b' in read_pcr
225 str = re.findall(r'\d+ known updates', read_pcr)[0]
/openbmc/linux/arch/sparc/kernel/
H A Dpcr.c102 .read_pcr = direct_pcr_read,
132 .read_pcr = direct_pcr_read,
184 .read_pcr = n4_pcr_read,
210 .read_pcr = n5_pcr_read,
236 .read_pcr = m7_pcr_read,
H A Dperf_event.c742 pcr = pcr_ops->read_pcr(idx); in sparc_vt_write_pmc()
1168 cpuc->pcr[i] = pcr_ops->read_pcr(i); in perf_stop_nmi_watchdog()
1605 cpu, i, pcr_ops->read_pcr(i)); in perf_event_print_debug()
H A Dprocess_64.c325 pp->pcr[i] = pcr_ops->read_pcr(i); in __global_pmu_self()
/openbmc/linux/arch/sparc/include/asm/
H A Dpcr.h6 u64 (*read_pcr)(unsigned long); member
/openbmc/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py406 def read_pcr(self, i, bank_alg = TPM2_ALG_SHA1): member in Client
480 pcr = self.read_pcr(i, bank_alg)