Commit Graph

1213 Commits (master)

Author SHA1 Message Date
JacobBarthelmeh 16ba07afef
Merge pull request #357 from dgarske/doc_fix
Fix issue with Doxygen generation in tpm2.h due to unnamed enum
2024-06-05 15:40:03 -06:00
David Garske b33e6b3187 Fix issue with Doxygen generation of wolfTPM due to doxybook2 crashing on unnamed enum. 2024-06-05 14:34:05 -07:00
David Garske d01a46fb70
Merge pull request #355 from gasbytes/patch
memcmp -> memcpy
2024-05-27 16:44:39 -07:00
gasbytes 5f9ff208f2 memcmp -> memcpy 2024-05-27 22:10:22 +02:00
Eric Blankenhorn 61abbc1073
Merge pull request #350 from dgarske/policyauth
Improvements in auth handling to support Policy Password and Policy Auth Value
2024-05-24 09:37:37 -05:00
David Garske 9a9ac2aec6 Fix docs. 2024-05-20 17:03:29 -07:00
David Garske 2f4fb5e503 Fix warnings for set, but not used. 2024-05-20 15:44:52 -07:00
David Garske ab45d27217 Cleanup new API's. Add documentation. 2024-05-20 15:35:33 -07:00
David Garske f65bea0946 Support for NV policy write/read. 2024-05-20 15:08:00 -07:00
David Garske fe05d93feb Support for policy auth value and policy password. 2024-05-20 11:16:56 -07:00
David Garske c40f1e2b75
Merge pull request #354 from gojimmypi/PR-Espressif
Update README, add Espressif details
2024-05-13 17:09:46 -07:00
gojimmypi 2956ea8ca3 Update README, add Espressif details 2024-05-13 16:48:38 -07:00
David Garske 2d64093274
Merge pull request #351 from gojimmypi/PR-Espressif
Initial Infineon I2C TPM support for Espressif ESP32
2024-05-13 13:11:10 -07:00
gojimmypi 5aff694c3f XSLEEP_MS is vTaskDelay for all FREERTOS, not just ESPIDF 2024-05-13 13:05:21 -07:00
gojimmypi 4f3b57a6e2 flexibility for I2C_MASTER_NUM, add settings comments 2024-05-13 11:43:33 -07:00
David Garske 705c29d333
Merge pull request #353 from gojimmypi/PR-gitignore
Some changes to .gitignore for Visual Studio, VisualGDB, etc
2024-05-13 10:35:36 -07:00
David Garske 2a845082bf
Merge pull request #352 from gojimmypi/PR-autogen-fix
fix autogen.sh for WSL/Windows git hook file link attempt
2024-05-13 08:28:42 -07:00
gojimmypi 398b41f93e Some changes to /gitignore for Visual Studio, VisualGDB, etc 2024-05-10 17:46:03 -07:00
gojimmypi 8963d5be4e fix autogen.sh for WSL/Windows file link attempt 2024-05-10 15:06:59 -07:00
gojimmypi fb19d7a0e1 Initial Infineon I2C TPM support for Espressif ESP32 2024-05-10 14:16:39 -07:00
David Garske 81c837189c Refactor to eliminate confusing cast between TPMS_AUTH_COMMAND and TPM2_AUTH_SESSION. 2024-05-08 15:58:59 -07:00
ColtonWilley e5da5560a7
Merge pull request #348 from dgarske/swtpm_docs
Update SWTPM documentation
2024-04-30 15:28:09 -07:00
David Garske 58d1561134
Merge pull request #347 from gojimmypi/PR-infineon-CY_USING_HAL
Revise I2C HAL gating logic in tpm_to_infineon
2024-04-30 15:26:33 -07:00
gojimmypi ec35cef6bd Revise I2C HAL gating logic in tpm_to_infineon 2024-04-30 15:11:51 -07:00
ColtonWilley 9d03c890fe
Merge pull request #345 from dgarske/create_primary_tests
Add missing tests for create_primary
2024-04-30 14:18:11 -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 a839e8166a Add missing tests for create_primary. 2024-04-25 14:15:13 -07:00
JacobBarthelmeh 1fa15951eb
Merge pull request #343 from dgarske/v3.2.0-relprep
wolfTPM release v3.2.0 prep
2024-04-24 11:58:16 -06:00
David Garske c98ee9a71e Update copyright date. 2024-04-24 10:42:27 -07:00
David Garske 4157ed5689 Release v3.2.0 prep. 2024-04-24 10:42:25 -07:00
JacobBarthelmeh 1126c2ebfc
Merge pull request #344 from dgarske/nv_auth_policy
Added new API for allowing NV creation with policy
2024-04-24 11:02:51 -06:00
David Garske 7a2a566b68 Add comment about nvIndex name. 2024-04-22 14:57:31 -07:00
JacobBarthelmeh eede95dcd3
Merge pull request #342 from dgarske/infineon_fw_recovery
Add Infineon firmware update recovery support
2024-04-22 11:00:12 -06:00
David Garske 377099af09 Added new API for allowing NV creation with policy. 2024-04-22 09:58:49 -07:00
David Garske 4a2e2506a4 Add Infineon firmware update recovery support. 2024-04-18 11:02:34 -07:00
David Garske 6a5316f17f
Merge pull request #341 from night1rider/Coexist_TLS_Example
Fix TLS examples to not use openssl compatibility macros
2024-04-05 12:42:43 -07:00
Zackery Backman b16a2b133c OPenSSL Coexist 2024-04-05 13:37:06 -06:00
philljj 53d8179142
Merge pull request #339 from dgarske/infineon_slb_fw
Support for Infineon SLB9672/SLB9673 Firmware upgrade
2024-04-03 14:35:56 -05:00
David Garske 062cfe9b79 Added Infineon CyHal SPI support. 2024-04-02 09:37:32 -07:00
David Garske d9152872d3 Peer review cleanups. 2024-04-02 08:29:04 -07:00
David Garske 892726e6b5 Added support for Infineon SLB9672/SLB9673 Firmware upgrade (see examples/firmware/README.md)
Added Infineon Modus Toolbox support. See `wolfssl/IDE/Infineon/README.md` for setup instructions.
Added support for Infineon CyHal I2C support.
Added Firmware extraction tool
Added Firmware update example application `examples/firmware/ifx_fw_update`.
Added support for vendor capabilities `TPM_CAP_VENDOR_PROPERTY`.
Added `XSLEEP_MS` macro for firmware update delay.
Added support for getting key group id, operational mode and update counts.
Added support for abandoning an update.
Added support for firmware update done, but not finalized
Fix auto-detect to not define SLB9672/SLB9673.
2024-04-01 17:21:18 -07:00
philljj 2cde4102b2
Merge pull request #336 from dgarske/st33_getprodinfo
Added ST33 support for pre-provisioned device identity key and certificate
2024-04-01 13:42:47 -05:00
philljj dbb0f6d81b Fix TEST_SAMPLE build. 2024-04-01 12:17:36 -05:00
David Garske f1ebd4320a Fix `wolfTPM2_NVReadCert` on success case. 2024-03-26 10:06:44 -07:00
Zackery d44b7e1b77
Merge pull request #338 from dgarske/no_filesystem
Fixes for building wolfTPM examples with `NO_FILESYSTEM`
2024-03-23 15:14:37 -06:00
David Garske eed7803e96 Fixes for building wolfTPM examples with NO_FILESYSTEM. Tested with `./configure --enable-swtpm CFLAGS="-DNO_FILESYSTEM" && make`. 2024-03-22 14:24:18 -07:00
David Garske e87af04cc3 Fix ST33 part descriptions. Update example certificates. 2024-03-20 17:32:56 -07:00
David Garske 626beaf4d7 Fixes for native_test with ST33 and `TPM2_GetRandom2`. 2024-03-20 15:23:44 -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 551d7da51d Add example for using TPM pre-provisioned device identity to TLS client example. 2024-03-20 15:11:58 -07:00