https://github.com/theopolis/tpm2-examples
Several example uses of TPM2/TSS APIs.
https://github.com/theopolis/tpm2-examples
Last synced: over 1 year ago
JSON representation
Several example uses of TPM2/TSS APIs.
- Host: GitHub
- URL: https://github.com/theopolis/tpm2-examples
- Owner: theopolis
- Created: 2016-01-03T10:09:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-04T00:12:41.000Z (over 10 years ago)
- Last Synced: 2025-03-19T02:38:11.581Z (over 1 year ago)
- Language: C++
- Size: 25.4 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## TPM2 Examples
Several TPM2 TSS API examples.
### System API (SAPI)
Most of this code provide example client interfaces for the TSS 1.0 specification of the system API.
This uses the [TPM2.0-TSS](https://github.com/01org/TPM2.0-TSS) project's tpm2sapi library.
### Build
This assumes a Ubuntu 14.04 install, defer to installing the package equivilents for your distribution otherwise.
Install the TPM2.0-TSS dependencies:
```
# sudo apt-get install autoconf libtool
# audo apt-get install autoconf-archive # Need AX_PTHREADS macro
```
Build and install the TPM2SAPI library:
```
# git clone https://github.com/theopolis/TPM2.0-TSS
# pushd TPM2.0-TSS
# ./bootstrap
# mkdir build; cd build
# ../configure
# make; sudo make install
# popd
```
# Build this code:
```
# make
```