David Garske
3120dac297
Add new `make cppcheck` option. Fixes for cppcheck. Added missing `wolfssl-v4.7.0.patch`
2025-11-21 13:26:47 -08:00
David Garske
48eca3cd87
Fix issue with possible use of uninitialized in `rc` in `TPM2_GetNonceNoLock`. Attempt to fix build for old v4.7.0 wolfssl.
2025-11-21 12:15:04 -08:00
David Garske
b042e4da67
Fixes for build and testing with `--enable-infineon=9670`. Additional build tests.
2025-11-21 19:57:58 +00:00
David Garske
9e29f5280e
Fix for old wolfssl test
2025-11-21 11:22:22 -08:00
David Garske
7f37399aea
Support for swtpm port arguments
2025-11-20 15:51:05 -08:00
David Garske
a2ee75cd53
Further improvement to CMake interfaces and test scripts
2025-11-20 14:30:00 -08:00
David Garske
535293df47
Split up the make tests into matrix (improve test time)
2025-11-20 13:58:16 -08:00
David Garske
5217ca54ff
Finishing up the CMake options to sync with configure
2025-11-20 13:30:47 -08:00
David Garske
ba36eba877
Add support for crypto callback key generation that exports the encrypted private portion. Fixes and test for `WOLFTPM2_USE_SW_ECDHE`.
2025-07-23 12:11:43 -07:00
David Garske
4754bf1b72
Fix for line length issues (did not touch functions or comments that exceed 80). Fix for missing brace with `WOLFTPM_USE_SYMMETRIC` and added test for it.
2025-07-18 08:54:29 -07:00
David Garske
932499f742
Implement an address sanitizer test. Fix some of the configurable limit defaults.
2025-07-17 15:54:33 -07:00
David Garske
86fbaf69a9
wolfTPM v3.9.1 release (post release fixes)
...
- Fixed commercial release bundle (missing `tpm2_asn.h`).
- Fixed wolfTPM DLL revision (was not updated in v3.9.0).
- Added `make distcheck` to GitHub CI.
2025-05-21 10:34:52 -07:00
Aidan Garske
8b8bd479a4
wolfTPM Zephyr Project Port #395 - Work by @aidangarske, @night1rider, and @dgarske
2025-05-14 13:56:08 -07:00
David Garske
88f57f373e
Fix CI
2024-12-13 13:59:15 -08:00
David Garske
e4ea0950e0
Fix CI for old wolfSSL.
2024-12-13 10:03:38 -08:00
David Garske
7c48b76548
Support for building wolfTPM against older wolfCrypt (like v4.7.0).
2024-12-13 09:45:52 -08:00
David Garske
1603cfdaaf
More fixes for no filesystem.
2024-08-30 09:58:04 -07:00
David Garske
2a5e74113b
Fix and test for no filesystem.
2024-08-30 08:02:39 -07:00
David Garske
a6d7ed8695
Added example for `TPM2_Certify`:
...
* Added new build option for TPM provisioning (`--enable-provisioning` on by default).
* Added new `wolfTPM2_CreatePrimaryKey_ex` and `WOLFTPM2_PKEY` that supports returning creation ticket/hash.
* Added key templates for initial device (IDevID) and attestation keys (IAK).
* Extended `create_primary` example to support creation or IDevID and IAK.
* Added new policy hash helper API `wolfTPM2_PolicyHash`
* Switch handle/nvIndex string parsing to use `strtoul`.
ZD 18347
2024-08-22 10:38:01 -07:00
David Garske
026c82f799
Fixes and new tests for building wolfCrypt/wolfTPM without ECC or RSA. Fixes ZD 18470. Improved smallstack (eliminated `WOLFTPM2_MAX_BUFFER`). Fixes for building with NO_ASN.
2024-08-19 09:55:15 -07:00
David Garske
225a352bd4
Fixes for building with "-Wpedantic". ZD 17592
2024-02-28 17:06:55 -08:00
David Garske
7f969e47da
Fixes for CMake tests.
2024-02-06 10:02:39 -08:00
David Garske
310fe7cd5a
Fix spelling error. Fix CMake build broken since cryptocb refactor in PR #304 . Added CI tests for CMake.
2023-12-29 10:36:42 -08:00
Eric Blankenhorn
88bff510bb
Merge pull request #312 from dgarske/tls_pkcb
...
Added support for TLS PK callbacks with ECC and RSA Sign using PKCSv1.5 and PSS padding
2023-12-08 15:10:32 -06:00
David Garske
a50e4fee6c
Add tests for the TLS PK with TPM.
2023-12-08 11:44:00 -08:00
David Garske
71878e5912
Disable the wrap_test.exe call, since GitHub CI runners do not have TPM available.
2023-12-06 15:58:01 -08:00
David Garske
cc02ec8925
Add CI test for Windows Visual Studio project.
2023-12-06 15:53:04 -08:00
David Garske
65e03e15e6
Added Windows Visual Studio project for wolfTPM.
2023-12-06 15:10:44 -08:00
David Garske
cfd96d595e
Add CI tests for CSharp wrappers.
2023-10-23 11:16:26 -07:00
David Garske
8e1dce2c76
Take run_examples.sh out of make check and run manually in CI test to avoid parallel builds.
2023-08-31 13:04:33 -07:00
David Garske
8968d89f90
More CI fixes.
2023-08-31 12:29:13 -07:00
David Garske
e2d502e773
Peer review fixes and getting CI to pass.
2023-08-31 09:53:39 -07:00
David Garske
97d8845c6f
Added CI tests for all examples and additional build tests.
2023-08-30 15:11:24 -07:00
David Garske
af0668eafd
Fix for building with wolfTPM without wolfCrypt `--disable-wolfcrypt`. Added test.
2023-04-12 15:07:46 -07:00
John Bland
21027ef1c1
GitHub swtpm action ( #259 )
...
* wolfTPM support for GitHub actions.
* add github workflow for swtpm, runs make test
* add native and wrap test to the github action
---------
Co-authored-by: David Garske <david@wolfssl.com>
2023-02-14 09:06:36 -08:00