Commit Graph

101 Commits (master)

Author SHA1 Message Date
David Garske dd4d7abf79 F-16839 - Report a zero clock without a clock HAL 2026-12-02 09:41:37 -08:00
David Garske fc9ffa5247 F-18946 - Tell the NV HAL the integrity key buffer size 2026-12-02 09:41:37 -08:00
David Garske 0d7e07f96e F-18950 - Release crypto callback hash and HMAC contexts on free 2026-12-01 16:30:25 -08:00
Aidan Garske 02c3979be5
Merge pull request #690 from dgarske/client_v185_cmds
Add client commands for ReadOnlyControl, ECC encrypt, two policies and NV public 2
2026-12-01 15:48:01 -08:00
David Garske cf7b74b7e7 F-16839 - Report the clock as not safe without a clock HAL 2026-12-01 13:57:28 -08:00
David Garske 17ee3684e8 F-18966 - Note the added v1.83 and v1.84 commands in the release notes 2026-12-01 13:51:44 -08:00
Aidan Garske f5cd6c2f72
Merge pull request #687 from dgarske/fwtpm_nv_powerloss
Keep fwTPM state across a power loss on the file NV backend
2026-12-01 13:28:30 -08:00
David Garske f8010fb2c1 Document the fwTPM file NV journal power-loss behavior 2026-12-01 12:40:13 -08:00
David Garske ab87ef2045 Add firmware update support for the Infineon SLB9670, SLI9670 and SLM9670 2026-12-01 11:55:54 -08:00
David Garske fbb2ee5309 F-18957 - Persist a public-only object in fwTPM v1.85 builds 2026-11-30 14:13:50 -08:00
David Garske 8513af6fa4 Correct the DictionaryAttackParameters zero value documentation 2026-11-30 12:44:36 -08:00
David Garske 21627ad65a Document the fwTPM NV journal behavior on power loss 2026-11-30 12:44:36 -08:00
David Garske 899abf15dc
Merge pull request #680 from aidangarske/user-transport-cb
Add an application-supplied TPM command transport
2026-11-25 12:30:44 -08:00
Aidan Garske 0df94f3fb6 Add an application-supplied TPM command transport 2026-11-25 11:38:48 -08:00
Aidan Garske ea765a4a5c
Merge pull request #677 from dgarske/fenrir_fwtpm
Align fwTPM command behavior and return codes with the TPM 2.0 reference
2026-11-25 11:06:47 -08:00
David Garske ad8898d5a9 Fail the fwTPM NV journal load and save when the HAL integrity key callback fails 2026-11-24 15:19:47 -08:00
David Garske 53317c5f10 F-16196 - Correct the claim that the TPM RNG seed is encrypted 2026-11-24 14:24:05 -08:00
David Garske 0d716247a3 Gate fwTPM ML-KEM parameter sets on wolfCrypt's ML-KEM names 2026-11-18 17:38:40 -08:00
David Garske 6d33531161 Add PikeOS TPM driver transport (--enable-pikeos) 2026-11-17 21:15:36 -08:00
David Garske ea0cc388a1 Add Firmware TPM v1.84 Read-Only mode and seven more v1.84 commands 2026-11-16 14:39:59 -08:00
David Garske 83217845fa
Merge pull request #658 from wolfSSL/sbom/rename-compliance-tooling
sbom: move to wolfssl-compliance-tooling and pin its current master
2026-11-04 09:35:36 -08:00
Eric Blankenhorn a014f2b4b0
Merge pull request #656 from dgarske/fwtpm_fixes
Fixes for Firmware TPM issues and related session, clock and signature defects
2026-11-03 11:57:45 -05:00
David Garske 25ee20e266 swtpm: keep waiting for a UART response until the cumulative timeout 2026-11-02 12:36:26 -08:00
Aidan Garske 58dd09fb22 Restore and validate protected fwTPM contexts 2026-11-02 12:12:23 -08:00
Sameeh Jubran cf92cb0dac sbom: move to wolfssl-compliance-tooling and pin its current master
wolfGlass is now wolfssl-compliance-tooling. Its master removed the old
function and script names, so a re-sync alone breaks the CMake build.

- Re-vendor tools/sbom/ at 8a96c64 and pin it in
  .wolfssl-compliance-tooling-rev.
- Call wolfssl_compliance_tooling_add_sbom in CMakeLists.txt.
- Add the new vendored files to EXTRA_DIST, so the release tarball has
  what the CMake helper needs.
- Point the drift check at wolfSSL/wolfssl-compliance-tooling and rename
  the job to compliance_tooling_drift.
- Use the new name in the docs, the Japanese docs, and comments.

The CMake helper now also adds install-sbom and uninstall-sbom targets.
2026-10-29 19:45:19 +02:00
David Garske 5b60a8320c Add Infineon SLB9678 SPDM support on the wolfSPDM submodule 2026-10-20 10:22:25 -07:00
David Garske f561a99b5b
Merge pull request #637 from Frauschi/cmake-v185-options
Add TPM 2.0 v1.85 options to the CMake
2026-10-19 16:05:03 -07:00
Tobias Frauenschlaeger 09e08331ae Add TPM 2.0 v1.85 options to the CMake build
Only configure could enable WOLFTPM_V185 or WOLFTPM_PQC, so a CMake build
had no ML-DSA or ML-KEM, and its options.h did not tell consumers about
them. The CMake build now takes the same choices as configure:
WOLFTPM_V185 and WOLFTPM_PQC (detect, yes, no), and the WOLFTPM_MLDSA,
WOLFTPM_MLKEM and WOLFTPM_HASH_MLDSA trims. The options also accept CMake
booleans such as ON and OFF, and yes means all for WOLFTPM_MLDSA and
WOLFTPM_MLKEM; any other unknown value stops the configure. As in
configure, a fwTPM build enables v1.85 when wolfCrypt has wc_MlDsaKey_Init
and wc_MlKemKey_Init, an explicit request fails when it does not, and
WOLFTPM_PQC is promoted to WOLFTPM_V185 for the fwTPM. Against an
installed wolfSSL the check only compiles against its headers, resolves a
relative WITH_WOLFSSL against the source directory as the build's include
path does, and runs on every configure, so a build directory follows a
change of wolfSSL. A wolfSSL found as a CMake package is passed to the
check as the wolfssl::wolfssl target, so its include directories resolve
as they do for the build. With WITH_WOLFSSL_TREE, which is added before
the check, it reads the tree's WOLFSSL_MLKEM and WOLFSSL_MLDSA (or
WOLFSSL_DILITHIUM) options instead, and also needs wc_mldsa.h and
wc_mlkem.h in the tree: wolfSSL 5.9.1 has the WOLFSSL_DILITHIUM option
but no wc_mldsa.h, which the fwTPM includes. Configure prints the
resolved mode and trims, as the configure summary does. The examples/pqc
programs are built when PQC is on.

wolfSSL's CMake build leaves ML-DSA off by default, so the shared wolfSSL
of the existing CMake CI jobs keeps detection off and those jobs are
unchanged. A new cmake-pqc job builds wolfSSL with -DWOLFSSL_MLDSA=yes,
checks that options.h carries WOLFTPM_V185, runs ctest and runs
pqc_mssim_e2e against the fwTPM. It also builds the lean WOLFTPM_PQC
client library without fwTPM, and a fwTPM from WOLFTPM_PQC=yes, which
must be promoted to WOLFTPM_V185, trimmed to ML-DSA verify-only, ML-KEM
encapsulation and no Hash-ML-DSA. It checks that WOLFTPM_V185=OFF leaves
options.h without PQC defines, and that WOLFTPM_V185=yes stops the
configure against a copy of the wolfSSL headers without ML-DSA.
2026-10-19 17:42:15 +02:00
Alex Lanzano b4982a403b Rename board.h to wolfHAL_board.h. Add wolfHAL as a submodule. Update CI to use wolfHAL submodule instead of main branch 2026-10-17 23:16:40 -04:00
Aidan Garske 6d5b55c439 F-15707 - Bound dictionary attack thresholds 2026-10-16 11:47:18 -07:00
Aidan Garske 5aac3cccb5 F-14432 - Reject unsupported policy expiration 2026-10-16 11:47:18 -07:00
Aidan Garske 0c5c7252d9 F-15737 - Correct socket HAL documentation 2026-10-16 10:46:11 -07:00
Aidan Garske bcff8b8783 Allow opt-in weak Hash-ML-DSA pre-hashes 2026-10-13 11:56:01 -07:00
Aidan Garske accf6abc47 Reject Hash-ML-DSA keys whose pre-hash is weaker than the parameter set 2026-10-12 12:43:13 -07:00
Aidan Garske e573787817 Correct build commands, PQC floor, SPDM vendor flags, and the doc tooling 2026-10-09 08:49:05 -07:00
Aidan Garske 37c0e1776c Fix PDF TOC number spacing and wide-table column widths in the manual 2026-10-08 15:08:43 -07:00
Aidan Garske 0ea729d1ad Fix the param-encryption attributes, fwTPM HAL order, and HTML artifact 2026-10-08 13:49:49 -07:00
Aidan Garske 6307cdf6c8 Sync the Japanese manual with the fwTPM clear and GPIO reset corrections 2026-10-08 12:33:24 -07:00
Aidan Garske c5ae08fd67 Correct the fwTPM clear and GPIO reset guidance in the SPDM and PQC docs 2026-10-08 12:31:06 -07:00
Aidan Garske 61c26cb29d Sync the Japanese manual with the third-pass review fixes 2026-10-08 12:10:54 -07:00
Aidan Garske 375ec538e8 Apply third-pass documentation review fixes to the SPDM and post-quantum pages 2026-10-08 12:08:26 -07:00
Aidan Garske 53340cb6d0 Sync the Japanese manual with the second-pass review fixes 2026-10-08 11:47:17 -07:00
Aidan Garske 659b16c8e0 Apply second-pass documentation review fixes across the manual 2026-10-08 10:31:48 -07:00
Aidan Garske bc33811543 Sync the Japanese manual with the corrected pages and fix in-page anchors 2026-10-08 08:53:46 -07:00
Aidan Garske d30ef09362 Correct documentation review findings across the manual and tooling 2026-10-08 08:34:31 -07:00
Aidan Garske f237817bb9 Rework the README as a manual landing page and redirect the legacy docs 2026-10-07 16:27:19 -07:00
Aidan Garske e3456add14 Add the Japanese translation of the wolfTPM manual 2026-10-07 15:37:30 -07:00
Aidan Garske 809f311c44 Migrate the wolfTPM manual into docs/ source pages 2026-10-07 14:52:53 -07:00
Aidan Garske 788b549c74 Add in-repo documentation manual build tooling 2026-10-07 14:52:42 -07:00
Aidan Garske 64a6437e0e Reduce FWTPM_NO_NV context memory 2026-09-16 10:41:13 -07:00