Tom D
9746da2bfe
Fix uint16 overflow in ParseEKCertificate bounds check ( #143 )
2019-12-09 10:58:36 -08:00
Tom D
814084b657
Validate signature scheme is present when decoding TPMT_PUBLIC blobs ( #140 )
2019-12-04 14:35:21 -08:00
Brandon Weeks
73020b971b
Rename AIK to AK everywhere
...
AIK is the terminology used as part of the TPM 1.2 specifications.
2019-10-09 08:56:19 +11:00
Eric Chiang
e688ff6d7f
attest: rename MintAIK and MintOptions to NewAIK and AIKConfig
...
This helps the godoc read better and is more inline with Go's naming
scheme. No functional changes made, just naming.
2019-08-28 09:25:14 -07:00
Eric Chiang
bfcbe8f1e2
attest: re-work EK API ( #79 )
...
This PR adds:
* Renames 'PlatformEK' to 'EK'
* More consistant support of EKs without certificates
* Removes HTTP GET to Intel EK certificate service
* Always populates EK.Public
2019-08-21 10:26:55 -07:00
Tom D
6e2e8693ad
75: Make PCRs() take the digest algorithm ( #77 )
2019-08-20 11:52:12 -07:00
Tom D
90e37eacce
Refactor part 1: Refactor logic for keys into structs for each TPM/platform invariant. ( #53 )
...
* Refactor serialized keys into own structure, in preparation for making Key an interface.
* Refactor key logic into separate structures for each platform/TPMversion invariant.
* Implement review feedback
2019-07-19 13:05:18 -07:00
Tom D
0a5a5f0656
Refactor tests: remove build tags, de-dupe, use flags to control test runs from now on ( #8 )
2019-04-05 14:49:36 -07:00
Tom
f3ea38462e
Make package a Go module, add build tags for tests that need special system setup
2019-04-01 11:06:07 -07:00
Tom
7e37dd3701
go fmt
2019-03-28 14:00:07 -07:00
Tom
ca33c04742
Validate secret in attest_tpm12_test, fix godoc
2019-03-28 13:29:24 -07:00
Tom
21c2bfd1dc
Initial commit.
2019-03-28 13:21:16 -07:00