go-attestation/attest
Eric Chiang 39d2f6efff attest: don't define exported API in files with build tags
It's best practice to define as much code, especially exported API, in
files that can build on any platform. With as little code as possible in
OS specific files.

Ensure files with build tags don't contain any exported APIs. This helps
us not accidentally define API that only works on one platform, or have
incompatible method defintions between OSes.

TODO: follow up with an "unsupported" implementation so this builds on
Mac or without CGO (e.g. for servers)?
2019-09-19 13:50:38 -07:00
..
attest-tool internal/eventlog: only trust the first time an event is written to the log (#95) 2019-09-06 10:20:43 -07:00
testdata attest: add testdata for crypto agile event (#82) 2019-08-21 10:00:18 -07:00
activation_test.go Implement credential activation API (#56) 2019-07-23 15:22:53 -07:00
activation.go Add quote example, add note to Activation.Generate() about use of subtle to prevent timing attacks (#84) 2019-08-27 16:15:48 -07:00
attest_simulated_tpm20_test.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
attest_test.go attest: rename MintAIK and MintOptions to NewAIK and AIKConfig 2019-08-28 09:25:14 -07:00
attest_tpm12_test.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
attest.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
challenge_test.go attest: use provided randomness source when generating challenges (#80) 2019-08-21 10:28:19 -07:00
challenge.go attest: use provided randomness source when generating challenges (#80) 2019-08-21 10:28:19 -07:00
eventlog_test.go Separate quote verification from EventLog API #85 (#87) 2019-08-28 16:59:46 -07:00
eventlog.go Separate quote verification from EventLog API #85 (#87) 2019-08-28 16:59:46 -07:00
example_test.go Add example for AIKPublic.Verify (#89) 2019-08-29 11:26:42 -07:00
key_linux.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
key_windows.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
pcp_windows.go attest: rename MintAIK and MintOptions to NewAIK and AIKConfig 2019-08-28 09:25:14 -07:00
storage.go Refactor part 1: Refactor logic for keys into structs for each TPM/platform invariant. (#53) 2019-07-19 13:05:18 -07:00
tpm_linux.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
tpm_test.go attest: re-work EK API (#79) 2019-08-21 10:26:55 -07:00
tpm_windows.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
tpm.go attest: don't define exported API in files with build tags 2019-09-19 13:50:38 -07:00
vendors.go Update vendors list (#57) 2019-08-06 16:47:13 -07:00