Pritha Ganguly
2017-04-24 09:00:21 UTC
Hello,
I am working on the ATMEL TPM(1.2) device on an embedded platform.
I wanted to perform the sealing operation with the help of PCR 16 of the
TPM. There seems to be an issue with the TPM that I'm using in which the
lower PCRs are not getting reset after reboot. Hence I have used PCR 16 for
my testing.
The Tspi_Data_Seal() function is giving an error saying, "Wrong PCR Value".
Please find the error log below :
...................................................................................................................................
..
(Line 118,main)Asking TPM to create the key returned 0x 0. Success.
(Line 121,main)Load key in TPM returned 0x 0. Success.
(Line 124,main)Create encrypted data object returned 0x 0. Success.
(Line 127,main)Create Data object for PCR returned 0x 0. Success.
(Line 130,main)PCR 16 read returned 0x 0. Success.
(Line 133,main)Extend hashed data into PCR 16 returned 0x 0. Success.
(Line 136,main)Set the digest for PCR 16 returned 0x 0. Success.
(Line 139,main)Sealing hashed data with PCR 16 returned 0x 18. Wrong
PCR value.
....................................................................................................................................
PCR-16 is for debugging purposes so I didn't expect to get this error. It
would be really helpful if anybody could shed some light on the mistake
that I made while sealing.
Thanks and Regards,
Pritha Ganguly.
I am working on the ATMEL TPM(1.2) device on an embedded platform.
I wanted to perform the sealing operation with the help of PCR 16 of the
TPM. There seems to be an issue with the TPM that I'm using in which the
lower PCRs are not getting reset after reboot. Hence I have used PCR 16 for
my testing.
The Tspi_Data_Seal() function is giving an error saying, "Wrong PCR Value".
Please find the error log below :
...................................................................................................................................
..
(Line 118,main)Asking TPM to create the key returned 0x 0. Success.
(Line 121,main)Load key in TPM returned 0x 0. Success.
(Line 124,main)Create encrypted data object returned 0x 0. Success.
(Line 127,main)Create Data object for PCR returned 0x 0. Success.
(Line 130,main)PCR 16 read returned 0x 0. Success.
(Line 133,main)Extend hashed data into PCR 16 returned 0x 0. Success.
(Line 136,main)Set the digest for PCR 16 returned 0x 0. Success.
(Line 139,main)Sealing hashed data with PCR 16 returned 0x 18. Wrong
PCR value.
....................................................................................................................................
PCR-16 is for debugging purposes so I didn't expect to get this error. It
would be really helpful if anybody could shed some light on the mistake
that I made while sealing.
Thanks and Regards,
Pritha Ganguly.