Commit Graph

1193 Commits (6fbb49a94f2ba4048b69d03ea3d2add02e2a7543)

Author SHA1 Message Date
David Garske 6fbb49a94f wolfTPM Release v3.9.0. Updated copyright and version. 2025-05-14 15:31:07 -07:00
David Garske 91ad74064e
Merge pull request #395 from aidangarske/tpm_zephyr_support
wolfTPM Zephyr Project Port
2025-05-14 14:08:20 -07:00
Aidan Garske 8b8bd479a4 wolfTPM Zephyr Project Port #395 - Work by @aidangarske, @night1rider, and @dgarske 2025-05-14 13:56:08 -07:00
Zackery 33a5f47eaf
Merge pull request #398 from aidangarske/uboot_support
wolfTPM Support For Das U-Boot Bootloader
2025-05-06 18:17:56 -06:00
David Garske 985abb5eae Updated docs. Add test case for `TPM2_GetAlgId`. 2025-05-06 16:52:28 -07:00
David Garske 9c2ada8a7a Fixes for spelling and debug. 2025-05-06 16:41:34 -07:00
David Garske 0c2b0a43ed Fix location for TPM simulator `/tmp`. 2025-05-06 16:29:38 -07:00
Eric Blankenhorn 3bbed48ec9
Merge pull request #410 from dgarske/tpm_mutex
Improve mutex locking protection for concurrent thread usage
2025-05-05 15:14:02 -05:00
Eric Blankenhorn 91ea3684b5
Merge pull request #412 from dgarske/bench_cleanup
Fix issue with possible handle leak in bench example
2025-05-05 15:13:58 -05:00
David Garske 5a5a7e2d25 Fix issue with possible handle leak in bench example. Reported in #411. 2025-05-02 15:31:06 -07:00
David Garske f2e6be4e16 Add build option `WOLFTPM_NO_ACTIVE_THREAD_LS` to remove thread local on `gActiveTPM`. 2025-05-02 12:53:48 -07:00
David Garske e7aad1ac22 Support for pthread static mutex when building against older wolfSSL versions (like 5.6.6). 2025-05-02 12:48:24 -07:00
Aidan Garske d463f70975 Removed options.h not used, added TPM2_GetHierarchyDesc, and fixed indentation error 2025-04-30 11:22:13 -07:00
David Garske ac800d3820 Fix no `WOLFSSL_MUTEX_INITIALIZER` case. 2025-04-29 22:10:00 -07:00
David Garske d27306b1c9 Improve mutex locking protection for concurrent thread usage. Use a global mutex instead of one that is part of TPM2_CTX. ZD 19771 2025-04-28 23:09:15 -07:00
Aidan Garske f31929609f Rebase wolfTPM Support For Das U-Boot Bootloader 2025-04-25 13:28:09 -07:00
David Garske 0cd21b53c4
Merge pull request #409 from aidangarske/keygen_opKeyAuth
Keygen Optional Authentication Password -auth=<yourpassword>
2025-03-28 14:45:35 -07:00
aidan garske 8e03c40fba removed test, only needs to be tested when actually used in wolfTPM 2025-03-28 14:31:00 -07:00
aidan garske 688ce722d3 Fix typo - default is used.. 2025-03-28 13:57:21 -07:00
aidan garske f10a27bb47 Add keygen test for AIK and defualt 2025-03-28 13:29:43 -07:00
aidan garske 942bbe7f03 removed testing 2025-03-28 13:22:52 -07:00
aidan garske 50c5f10277 Added keygen optional authentication password -auth=<yourpassword> 2025-03-28 12:50:22 -07:00
David Garske 122885adc9
Merge pull request #408 from tmael/asn_parse
correct ASN.1 cert parsing
2025-03-27 15:01:35 -07:00
Tesfa Mael fbcca8d1ba correct ASN.1 cert parsing 2025-03-27 12:31:27 -07:00
Eric Blankenhorn c99619df16
Merge pull request #407 from dgarske/fixes-20250306
Various: Cleanup for public area copy and added cmake provisioning option
2025-03-19 13:10:52 -05:00
David Garske fe5b575039
Merge pull request #406 from night1rider/SelfSigned_Bug
Self Signed CA always set to version 1
2025-03-06 16:02:45 -08:00
night1rider 250fa3923f Revert setting version in CSR Init, and Version Change to MakeAndSign_ex 2025-03-06 16:49:13 -07:00
David Garske a83f2f89d4 Cleanup to replace memcpy with public area copy function. Add CMake provisioning option (`WOLFTPM_PROVISIONING`) to match configure. 2025-03-06 13:55:14 -08:00
msi-debian 69aaa20b1a Initial Fix 2025-03-06 12:29:13 -07:00
David Garske a6e54ccf93
Merge pull request #404 from tmael/asn
Refactor ASN.1 parsing for RSA cert
2025-03-06 10:30:49 -08:00
Tesfa Mael 7400f0f369 Review comment 2025-03-05 11:52:53 -08:00
Tesfa Mael ceb2c224d6 Update CMakeLists and move WOLFTPM2_NO_ASN down 2025-03-04 18:55:41 -08:00
Tesfa Mael bb5eeb8976 Add WOLFTPM2_NO_ASN and move doc to a header file 2025-03-04 14:09:46 -08:00
Tesfa Mael 63385223ca Refactor ASN.1 parsing for RSA cert 2025-03-03 11:31:43 -08:00
tmael 0a463b3254
Merge pull request #401 from dgarske/cleanups
Various cleanups to tests and documentation
2025-02-26 15:06:41 -08:00
David Garske fc6beabd1a Fix issue with `wolfTPM2_Init_ex` handling of TPM2_Startup TPM_RC_INITIALIZE. 2025-02-25 16:48:47 -08:00
David Garske 2df0af5130 Added missing doxygen to public API's. 2025-02-21 17:12:31 -08:00
David Garske 00749ad551 Fix run_examples.sh run.out location variable. 2025-02-21 16:53:23 -08:00
tmael dd57324735
Merge pull request #394 from dgarske/ek_verify
EK Cert Verification (no wolfCrypt)
2025-01-28 10:41:26 -08:00
David Garske c42fff4f7f EK Cert Verification with TPM only (no wolfCrypt). Example assumes ST33KTPM2X. `./configure --disable-wolfcrypt && make && ./examples/endorsement/verify_ek_cert` 2025-01-24 09:54:11 -08:00
Daniel Pouzzner ea7cf136ca
Merge pull request #396 from dgarske/autogen
Cleanups for autogen.sh
2025-01-23 11:40:54 -06:00
David Garske c96ffb9ad1 Cleanups for autogen.sh. 2025-01-07 13:41:37 -08:00
Daniel Pouzzner bcf2647ebc
Merge pull request #393 from dgarske/rel_v3.8.0_prep
wolfTPM Release v3.8.0 prep
2025-01-07 15:26:26 -06:00
David Garske 2069ed7976 Fixes for scan-build and g++ warnings. 2025-01-07 10:47:26 -08:00
David Garske 5bd553a6a3 wolfTPM v3.8.0 release. 2025-01-06 11:46:49 -08:00
David Garske 272eb68340 Update CMake examples. 2025-01-06 11:45:35 -08:00
David Garske 703b7285fb
Merge pull request #340 from philljj/iocb_microchipharmony_i2c
Iocb microchipharmony i2c
2025-01-06 11:44:51 -08:00
jordan a2fede312f microchip iocb: spelling cleanup. 2025-01-06 13:36:51 -05:00
jordan eb079ee22a Implementation for TPM2_IoCb_MicrochipHarmony_I2C. 2025-01-06 12:29:57 -05:00
David Garske 6e1205b1e1 Fix for possible missing `wc_GetPkcs8TraditionalOffset`. 2025-01-03 00:16:49 +01:00