Home
last modified time | relevance | path

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

/devicemodel/hw/platform/tpm/
A Dtpm_emulator.c162 static swtpm_context tpm_context; variable
523 tpm_context.ctrl_chan_fd = connfd; in swtpm_ctrlchan_create()
546 tpm_context.cmd_chan_fd = sv[0]; in swtpm_cmdchan_create()
679 if (tpm_context.cur_locty_number == locty_number) in swtpm_set_locality()
695 tpm_context.cur_locty_number = locty_number; in swtpm_set_locality()
717 close(tpm_context.cmd_chan_fd); in swtpm_cleanup()
718 close(tpm_context.ctrl_chan_fd); in swtpm_cleanup()
748 if (tpm_context.established_flag_cached) { in swtpm_get_tpm_established_flag()
749 return tpm_context.established_flag; in swtpm_get_tpm_established_flag()
758 tpm_context.established_flag_cached = 1; in swtpm_get_tpm_established_flag()
[all …]

Completed in 6 milliseconds