Home
last modified time | relevance | path

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

/devicemodel/hw/platform/tpm/
A Dtpm_emulator.c134 int cmd_chan_fd; member
346 nwritten = write(cmd_chan_fd, buf, buffer_length); in cmd_chan_write()
361 static int cmd_chan_read(int cmd_chan_fd, uint8_t *buf, int len) in cmd_chan_read() argument
372 nread = read(cmd_chan_fd, buf, nleft); in cmd_chan_read()
454 static int swtpm_cmdcmd(int cmd_chan_fd, in swtpm_cmdcmd() argument
471 ret = cmd_chan_write(cmd_chan_fd, (uint8_t *)in, in_len); in swtpm_cmdcmd()
477 ret = cmd_chan_read(cmd_chan_fd, (uint8_t *)out, in swtpm_cmdcmd()
489 ret = cmd_chan_read(cmd_chan_fd, in swtpm_cmdcmd()
546 tpm_context.cmd_chan_fd = sv[0]; in swtpm_cmdchan_create()
717 close(tpm_context.cmd_chan_fd); in swtpm_cleanup()
[all …]

Completed in 3 milliseconds