Home
last modified time | relevance | path

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

/u-boot/drivers/tpm/
A Dtpm_atmel_twi.c73 uint8_t *recvbuf, size_t *recv_len) in tpm_atmel_twi_xfer() argument
79 memset(recvbuf, 0xcc, *recv_len); in tpm_atmel_twi_xfer()
80 printf("send to TPM (%d bytes, recv_len=%d):\n", send_size, *recv_len); in tpm_atmel_twi_xfer()
114 } else if (hdr_recv_len > *recv_len) { in tpm_atmel_twi_xfer()
118 *recv_len = hdr_recv_len; in tpm_atmel_twi_xfer()
120 res = i2c_read(0x29, 0, 0, recvbuf, *recv_len); in tpm_atmel_twi_xfer()
122 res = dm_i2c_read(dev, 0, recvbuf, *recv_len); in tpm_atmel_twi_xfer()
128 printf("i2c_read returned %d (rlen=%d)\n", res, *recv_len); in tpm_atmel_twi_xfer()
130 print_buffer(0, recvbuf, 1, *recv_len, 0); in tpm_atmel_twi_xfer()
136 printf("read from TPM (%d bytes):\n", *recv_len); in tpm_atmel_twi_xfer()
[all …]
A Dtpm_tis_sandbox.c181 size_t *recv_len) in sandbox_tpm_xfer() argument
192 *recv_len, code); in sandbox_tpm_xfer()
202 *recv_len = 22; in sandbox_tpm_xfer()
211 *recv_len = data - recvbuf - in sandbox_tpm_xfer()
230 put_unaligned_be32(*recv_len, in sandbox_tpm_xfer()
255 *recv_len = 12; in sandbox_tpm_xfer()
256 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer()
268 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer()
293 *recv_len = 30; in sandbox_tpm_xfer()
294 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer()
[all …]
A Dtpm2_tis_sandbox.c228 put_unaligned_be32(*recv_len, recv); in sandbox_tpm2_fill_buf()
261 size_t *recv_len) in sandbox_tpm2_xfer() argument
291 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
299 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
305 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
323 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
339 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
362 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
376 sandbox_tpm2_fill_buf(recv, recv_len, tag, rc); in sandbox_tpm2_xfer()
436 *recv_len = recv - recvbuf; in sandbox_tpm2_xfer()
[all …]
A Dtpm2_ftpm_tee.c38 size_t *recv_len) in ftpm_tee_transceive() argument
112 if (resp_len > *recv_len) { in ftpm_tee_transceive()
120 *recv_len = resp_len; in ftpm_tee_transceive()

Completed in 8 milliseconds