David Garske
ebfbd4dd2d
Moved the new clock_set example into the existing timestamp examples directory. Minor cleanups and fix for printf warning.
2020-09-02 11:46:12 -07:00
Eric Blankenhorn
72464dc621
Release v1.9 preparation
2020-08-24 12:12:11 -05:00
David Garske
8eb67b5bcf
Improvements to the signed timestamp example. Cleanup of the key template API's.
2020-07-21 15:24:10 -07:00
Dimitar Tomov
1a88cbad56
Add print for TPM uptime since last power-up and modify message for TPM clock
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-07-11 01:05:59 +03:00
David Garske
07594ec30a
Fix for attestation parsing. Elements must be parsed to handle endianness swap. Fixes #104 .
2020-07-10 13:19:22 -07:00
Dimitar Tomov
8b9e5edd9f
Printing the correct TPM attested time value from the GetTime response
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-07-10 10:11:48 +03:00
Dimitar Tomov
4d4a0a8d3b
Cleanups and fixes based on peer review.
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-29 16:58:22 +03:00
Dimitar Tomov
a7d607424a
Updated the printf messages for the signed_timestamp example
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-29 16:35:48 +03:00
Dimitar Tomov
5ffdd5a176
Add wolfTPM2 wrapper for creating signed timestamps and update example
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-29 16:21:10 +03:00
Dimitar Tomov
b1292f67a1
Make the signed_timestamp example use the new wolfTPM2 wrappers for AIK
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-29 16:19:48 +03:00
David Garske
bd7a01779a
Minor spelling fixes.
2020-05-27 08:24:35 -07:00
Dimitar Tomov
b13da37edf
Minor fix from peer review of signed_timestamp example
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-27 17:38:34 +03:00
Dimitar Tomov
255cc9d87a
Add prints of the attested structured in the new signed_timestamp example
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-27 17:31:13 +03:00
Dimitar Tomov
ed4d43c94a
Quick fix to set the correct handle for flushing the SRK at exit
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-27 05:32:13 +03:00
Dimitar Tomov
4539ad3750
AIK is generated using the Endorsement Hierarchy but created under Owner's SRK
...
Generating AIK happens by using the Endorsement Hierarchy, but still
the only Hierarchy that can allow loading the key is the Owner Hierarchy
through a Storage Key. Using NULL Password Auth Sessions for EK & EH.
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-27 02:29:39 +03:00
Dimitar Tomov
f96217ead7
Add timestamp example source code
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-27 01:35:42 +03:00