Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
A Dtpm-interface.c63 struct tpm_header *header = buf; in tpm_try_transmit()
155 struct tpm_header *header = (struct tpm_header *)buf; in tpm_transmit()
216 const struct tpm_header *header = (struct tpm_header *)buf->data; in tpm_transmit_cmd()
A Dtpm-buf.c37 struct tpm_header *head = (struct tpm_header *)buf->data; in tpm_buf_reset()
123 ((struct tpm_header *)buf->data)->length = cpu_to_be32(buf->length); in tpm_buf_append()
A Dtpm_i2c_atmel.c37 u8 buffer[sizeof(struct tpm_header) + 25];
71 struct tpm_header *hdr = (struct tpm_header *)priv->buffer; in i2c_atmel_recv()
A Dtpm_vtpm_proxy.c300 struct tpm_header *hdr = (struct tpm_header *)buf; in vtpm_proxy_is_driver_command()
302 if (count < sizeof(struct tpm_header)) in vtpm_proxy_is_driver_command()
398 const struct tpm_header *header; in vtpm_proxy_request_locality()
422 header = (const struct tpm_header *)buf.data; in vtpm_proxy_request_locality()
A Dtpm2-sessions.c166 struct tpm_header *head = (struct tpm_header *)buf->data; in tpm2_parse_read_public()
595 struct tpm_header *head = (struct tpm_header *)buf->data; in tpm_buf_fill_hmac_session()
753 struct tpm_header *head = (struct tpm_header *)buf->data; in tpm_buf_check_hmac_response()
902 struct tpm_header *head = (struct tpm_header *)buf->data; in tpm2_parse_start_auth_session()
1077 struct tpm_header *head = (struct tpm_header *)buf->data; in tpm2_parse_create_primary()
A Dtpm2-space.c275 const struct tpm_header *header = (const void *)cmd; in tpm_find_and_validate_cc()
384 struct tpm_header *header = (struct tpm_header *)rsp; in tpm2_map_response_header()
444 struct tpm_header *header = (struct tpm_header *)rsp; in tpm2_map_response_body()
543 struct tpm_header *header = buf; in tpm2_commit_space()
A Dtpm2-cmd.c298 struct tpm_header *head; in tpm2_get_random()
339 head = (struct tpm_header *)buf.data; in tpm2_get_random()
522 struct tpm_header *out; in tpm2_probe()
535 out = (struct tpm_header *)buf.data; in tpm2_probe()
A Dtpm_ftpm_tee.c78 struct tpm_header *resp_header; in ftpm_tee_tpm_op_send()
144 resp_header = (struct tpm_header *)temp_buf; in ftpm_tee_tpm_op_send()
A Dtpm-dev-common.c27 struct tpm_header *header = (void *)buf; in tpm_dev_transmit()
A Dxen-tpmfront.c163 ordinal = be32_to_cpu(((struct tpm_header *)buf)->ordinal); in vtpm_send()
/linux/include/linux/
A Dtpm.h355 struct tpm_header { struct
517 struct tpm_header *head; in tpm_buf_append_hmac_session_opt()
524 head = (struct tpm_header *)buf->data; in tpm_buf_append_hmac_session_opt()

Completed in 43 milliseconds