Commit Graph

102 Commits (d450a533edd468546efe88fc7f22a79edbdbf9f5)

Author SHA1 Message Date
Aidan Garske b7ad7d8db8 Fix SPI and I2C behavior with SWTPM or FWTPM 2026-04-17 14:41:43 -07:00
David Garske 0c52f3be4d Add firmware TPM 2.0 (fwTPM) implementation
Add portable firmware TPM 2.0 implementation (fwTPM) built on wolfCrypt.
Implements 105/113 TPM 2.0 v1.38 commands (93%) as a standalone server
with socket and TIS transports, NV storage, and full CI/fuzz coverage.
2026-04-16 16:57:57 -07:00
Aidan Garske 0aefc3b47d Add auto detection on linux 2026-02-24 17:57:52 +00:00
aidan garske d6ba3812a9 Upgrade wolfTPM CI testing 2026-02-16 11:06:33 -08:00
Aidan Garske 0b50f632ae Add stm33ktpm support LMS and non-LMS 2026-01-27 15:57:09 -08:00
David Garske 6de582c38a Fix spelling and update list of supported TPM's. 2025-01-03 00:16:49 +01:00
David Garske 78457bebb7 Tested support for Nations NS350. Added simple capabilities example. 2024-10-04 08:35:35 -07:00
David Garske 522ba02235 Fix the udev instructions. 2024-07-31 13:41:12 -07:00
David Garske 6951b8d307 Fix for /dev/tpm0 file descriptor check (fixes #365). Added documentation for /dev/tpm0 permissions (fixes #358). Various spelling and documentation cleanups. 2024-07-31 11:21:53 -07:00
Eric Blankenhorn b36f792416
Merge pull request #361 from dgarske/idevid
Fixes for latest ST33KTPM IAK/IDevID provisioning
2024-07-26 18:00:46 -05:00
David Garske 8f1e35a342 Peer review (spelling / grammar). 2024-07-26 15:12:22 -07:00
David Garske dc2b91d056 Fixes for latest ST33KTPM IAK/IDevID provisioning. Added documentation for build options. 2024-07-26 14:49:31 -07:00
David Garske 65d0e6aa76 Documentation and minor fixes. Tested with older SLB9670 and ST33TPH. 2024-07-26 14:38:29 -07:00
David Garske 57f12df97b Support for getting TPM EK Certificates. Added `wolfTPM2_GetKeyTemplate_EK` and `wolfTPM2_GetKeyTemplate_EK` API's for getting EK public templates for generating the EK primary key. Fix TLS example build issues with wolfSSL not having crypto callback or PK callback enabled. 2024-07-26 13:02:57 -07:00
gojimmypi 2956ea8ca3 Update README, add Espressif details 2024-05-13 16:48:38 -07:00
David Garske f7e0e9948c Add documentation for using `ms-tpm-20-ref` TPM simulator. Move the "QEMU and swtpm" into `docs/SWTPM.md`. 2024-04-30 14:04:21 -07:00
David Garske 4a2e2506a4 Add Infineon firmware update recovery support. 2024-04-18 11:02:34 -07:00
David Garske e87af04cc3 Fix ST33 part descriptions. Update example certificates. 2024-03-20 17:32:56 -07:00
David Garske f983525f56 Fix for ST33 vendor command to enable command codes (TPM2_SetCommandSet). It requires platform auth to be set. Add benchmarks for new ST33KTPM2XI2C. Fix 0x1XX error code parsing. 2024-03-20 15:13:53 -07:00
David Garske bfd1205611 Updates for Infineon SLB9673 (I2C). 2024-03-20 14:23:22 -07:00
David Garske db112717cc Improve STMicro product naming. 2024-01-25 12:32:55 -08:00
David Garske 457bf8725d Add missing TODO item. 2024-01-16 11:51:53 -08:00
David Garske 93a2493dbf Fixes for attestation with endorsement key. Enable the broken endorsement tests. 2023-12-29 09:32:49 -08:00
David Garske 119b6f275b Fix the wolfSSL build instructions. 2023-11-28 13:25:46 -08:00
David Garske a10a10db5d Added v3.0 release notes and updated version. 2023-10-30 12:02:28 -07:00
David Garske 862617c07b Update the TODO list in the README. 2023-10-23 14:04:44 -07:00
David Garske b58ac14e64 Sanitize the IO TX/RX buffers (make sure they are zero initialized). 2023-08-07 11:08:02 -07:00
Marco Oliverio f8c1ff6075 tis: support memory mapped tpm 2023-05-30 16:58:46 +00:00
David Garske f2a95f3902 Fix for Microchip Harmony build settings. Rename to `WOLFTPM_MICROCHIP_HARMONY`. Avoids confusion with the TPM 2.0 module ATTPM from Microchip. Now enabled with `WOLFTPM_MICROCHIP` and provides backwards compatibility for `WOLFTPM_MCHP`. The new `WOLFTPM_MICROCHIP` has not been released (was added in PR #251). 2023-02-03 10:49:29 -08:00
David Garske c05bf659c2 Fix broken paths with HAL refactor. Update TLS examples to use latest TLS version (allowing downgrade). 2023-01-20 08:29:53 -08:00
David Garske 1ea4a591a8 HAL refactor and documentation improvements. Move example HAL implementations into new `hal` directory. Include the example HAL in the library when building. Updated HAL IO documentation. 2023-01-18 12:38:04 -08:00
David Garske e93acab27d Update README.md with platforms supported. 2022-12-21 16:27:05 -08:00
Eric Blankenhorn baae8ee523
Merge pull request #214 from dgarske/slb9672
Infineon SLB9672 support
2022-07-01 11:24:23 -05:00
David Garske f0c2f02a20 Peer review cleanups. 2022-06-29 14:40:39 -07:00
David Garske 534e89cd7e Added SLB9672 benchmarks. 2022-06-29 10:31:56 -07:00
David Garske b41a14689f Add create primary key example. Add support for using a unique template with create and create primary. 2022-06-28 16:40:46 -07:00
David Garske a22277a07d Infineon SLB9672 support. 2022-06-28 16:07:30 -07:00
David Garske 9cb60b14ad Improve the inline code comments for loading the public key using the `wolfSSL_CTX_use_PrivateKey_buffer` API. 2022-06-27 10:29:38 -07:00
David Garske c7b28c1445 TPM support for using the public key with TLS. 2022-06-24 16:21:47 -07:00
Elms fd1474c68b cmake: Add to readme and fix native test 2022-04-07 10:55:15 -07:00
Elms 65de877a10 README: refine qemu instructions 2021-03-17 11:46:40 -07:00
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
Dimitar Tomov 53563acd6a Update the wolfTPM and examples README.md files
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2021-03-12 15:10:58 -08:00
David Garske 845b3d1da2 Release fixes and cleanups. Fixes for init of `WOLFTPM2_HASH` in `wolfTPM2_HashStart`. Fix for for various build configurations (--disable-wrapper). Fix for Microchip "sign" bit on symmetric keys. Fix for scan-build warnings. Cleanup whitespace. 2020-12-07 11:01:02 -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 5abeea75a9 Added object names to the command hash calculation (cpHash). Added HMAC key creation. Fixed outstanding TODO items. 2020-11-23 14:54:39 -08:00
Dimitar Tomov 24a49de385 Added AES CFB parameter support, salted TPM session, fixed KDFa and examples
* Added key generation example with parameter encryption
* Fixes and cleanups for KDFa
* Added KDFa unit test (passes)
* Added AES CFB support
* Fix for nonceTPM
* Added support for encrypted RSA salt and salted-unbounded session
* Removed unsalted-unbounded specific code for authValueKDF from KDFa
* Add innerWrap support
* Add missing wolfcrypt header for AES CFB
* Fixes for casting when calling KDFa for AES CFB parameter encryption
* Add outerWrap support

Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-11-19 15:08:30 +02:00
Elms 6bb14c20b6 winapi: Add readme 2020-10-13 12:04:07 -07:00
Dimitar Tomov e75a36b82c Update the README files
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-10-01 00:36:25 +03:00