simulator/internal/doc.go
raw| 1 | // Package internal provides low-level bindings to the Microsoft TPM2 simulator. |
| 2 | // |
| 3 | // When using CGO, this package compiles the simulator's C code and links |
| 4 | // against the system OpenSSL library. Without CGO, this package just provides |
| 5 | // stubs which always return failure. This allows the simulator package to be |
| 6 | // built when cross compiling go-tpm-tools (which is incompatible with CGO). |
| 7 | package internal |