Proof-of-concept implementation of the "Challenge/Response Remote Attestation" interaction model of the IETF RATS Reference Interaction Models for Remote Attestation Procedures using TPM 2.0.
BSD 3-Clause "New" or "Revised" License
27
stars
20
forks
source link
Size of "attestation_data" field is incorrect. #46
In the struct msg_attestation_request_dto (file src/core/charra_dto.h) the size of the field attestation_data should be sizeof(TPM2B_ATTEST) rather than sizeof(TPMS_ATTEST) as assigned by attester.c on line 320 (attest_buf is of type TPM2B_ATTEST).
In the struct
msg_attestation_request_dto
(filesrc/core/charra_dto.h
) the size of the fieldattestation_data
should besizeof(TPM2B_ATTEST)
rather thansizeof(TPMS_ATTEST)
as assigned byattester.c
on line 320 (attest_buf
is of typeTPM2B_ATTEST
).