mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-07 02:26:51 +00:00
Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Catch the unlikely case that sysconf returns 0 for _SC_PAGESIZE and avoid integer overflow with the pagesize calculation, that should never occur if pagesize is within normal limits. Also ensure that no overflow happens with the msync_count variable. On 64bit machines, casting count to size_t could work but would not work on 32bit platforms where size_t is the same as uint32_t, so the overflow complain would not go away there. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> |
||
|---|---|---|
| .github | ||
| debian | ||
| include | ||
| man | ||
| samples | ||
| src | ||
| tests | ||
| .gitignore | ||
| .travis.yml | ||
| autogen.sh | ||
| CHANGES | ||
| configure.ac | ||
| COPYING | ||
| DCO1.1.txt | ||
| docker-compose.yml | ||
| Dockerfile | ||
| INSTALL | ||
| LICENSE | ||
| Makefile.am | ||
| README | ||
| run_tests | ||
| swtpm.spec | ||
| swtpm.spec.in | ||
| TODO | ||
SWTPM - Software TPM Emulator
David Safford safford@us.ibm.com
Stefan Berger stefanb@us.ibm.com
The SWTPM package provides TPM emulators with different front-end interfaces
to libtpms. TPM emulators provide socket interfaces (TCP/IP and Unix) and
the Linux CUSE interface for the creation of multiple native /dev/vtpm* devices.
The SWTPM package also provides several tools for using the TPM emulator,
creating certificates for a TPM, and simulating the manufacturing of
a TPM by creating a TPM's EK and platform certificates etc. Please read
the READMEs in the individual tool's directory under src/.
Please consult the Wiki for information about swtpm:
https://github.com/stefanberger/swtpm/wiki