Commit Graph

13 Commits (2e72da7d7521cf741b427e9ca7405f73ee9ceb97)

Author SHA1 Message Date
Elms 2075d987ce README: Add swtpm build instructions and links
QEMU uses swtpm over unix socket, but it is currently not packaged so
is built from source.
2021-03-17 11:46:40 -07:00
Elms 230e21bbcc README: Add use of devtpm and QEMU
Add description on how to use swtpm with qemu to build and run and
test with wolfTPM within QEMU.
2021-03-17 11:46:40 -07:00
Elms ba75a0b438 tests: Pass test with ibmswtpm2
RC handle number modifier is added to response code.
2021-03-04 15:24:59 -08:00
David Garske 8087afaf27 Fixes from peer review. Resolve issue with make check. Removed the TPM Simulator for make check (does not build out of the box on all platforms). Make dist was not including the new tpm2_socket.h. 2020-12-01 07:45:04 -08:00
David Garske 4b0b70861c Added parameter encryption support to more examples. Fix to not set "encrypt" or "decrypt" if command doesn't allow it. Updated documentation. 2020-11-30 12:00:54 -08:00
David Garske dbd8e41b47 Refactor of the session authentication. Added "-e" option to some examples to enable parameter encryption and removed the _paramenc.c files. Fixup for the `getPrimaryStoragekey` to allow persisting if not `WOLFTPM_WINAPI`. Improve command line options. Added calculation of command hash and HMAC for sessions. 2020-11-20 16:47:14 -08:00
David Garske b48f53f5e7 Improvements to the example tls_server to accept "RSA" or "ECC". Improvement to TLS examples to old load keys/certs that are needed (reduces max handle load count). Added missing `scripts/tls_setup.sh` to automake. 2020-11-13 16:33:14 -08:00
Elms 951e27f706 examples: cleanup for mingw coexistence 2020-11-13 14:38:19 -08:00
Elms 0bff836fa2 examples: Cleanup TLS examples using keyblob 2020-11-13 11:31:01 -08:00
Elms d14e96fb6a scripts: support simulator on darwin and warn if starting fails 2020-10-01 11:09:10 -07:00
Elms e93c47c11b `make check` runs with simulator for `--enable-swtpm` 2020-09-30 13:11:24 -07:00
Elms d3bb89b0d7 scripts: fix swtpm_sim.test for OSX 2020-09-30 12:10:46 -07:00
Elms 905ee9a6f9 scripts: Add script to run unit tests with SWTPM 2020-09-28 16:25:16 -07:00