Fraunhofer-SIT / charra

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

Fixes size of `attestation_data` field. #47

Closed eckelmeckel closed 3 years ago

eckelmeckel commented 3 years ago

Fixes #46.

The attestation_data field in struct msg_attestation_request_dto must be of size sizeof(TPM2B_ATTEST) rather than sizeof(TPMS_ATTEST) as assigned by the attester (attest_buf is of type TPM2B_ATTEST).

Signed-off-by: Michael Eckel michael.eckel@sit.fraunhofer.de