Lines Matching refs:TPM_HEADER_SIZE
211 out = (struct tpm2_pcr_read_out *)&buf.data[TPM_HEADER_SIZE]; in tpm2_pcr_read()
329 &buf.data[TPM_HEADER_SIZE]; in tpm2_get_random()
332 TPM_HEADER_SIZE + in tpm2_get_random()
496 blob_len = be32_to_cpup((__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_seal_trusted()
501 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 4 + blob_len) { in tpm2_seal_trusted()
506 memcpy(payload->blob, &buf.data[TPM_HEADER_SIZE + 4], blob_len); in tpm2_seal_trusted()
578 (__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_load_cmd()
632 (__be16 *) &buf.data[TPM_HEADER_SIZE + 4]); in tpm2_unseal_cmd()
638 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 6 + data_len) { in tpm2_unseal_cmd()
642 data = &buf.data[TPM_HEADER_SIZE + 6]; in tpm2_unseal_cmd()
719 &buf.data[TPM_HEADER_SIZE]; in tpm2_get_tpm_pt()
893 (__be32 *)&buf.data[TPM_HEADER_SIZE + 5]); in tpm2_get_pcr_allocation()
900 marker = &buf.data[TPM_HEADER_SIZE + 9]; in tpm2_get_pcr_allocation()
971 be32_to_cpup((__be32 *)&buf.data[TPM_HEADER_SIZE + 5])) { in tpm2_get_cc_attrs_tbl()
979 attrs = (__be32 *)&buf.data[TPM_HEADER_SIZE + 9]; in tpm2_get_cc_attrs_tbl()