Commit Graph

  • f3c2c69a7e
    Merge 733ed048fe into 8a5a108f62 David Garske 2026-11-25 19:21:24 -0800
  • 733ed048fe Bound parsed sizes before use in the fwTPM unit tests David Garske 2026-11-25 18:24:13 -0800
  • 8806ea2633 Flush the qualified name test child once in each configuration David Garske 2026-11-25 18:24:13 -0800
  • 31fb4d9675 Range check transient handles in the fwTPM unit tests David Garske 2026-11-25 18:24:13 -0800
  • a312f4844d Bound the creation PCR selection walk in fwTPM creation data David Garske 2026-11-25 18:24:13 -0800
  • b3a7e22090 Bound the policy password copy by the session auth buffer David Garske 2026-11-25 18:24:13 -0800
  • 4635e87f82 Check the fwTPM hash context allocation only in small stack builds David Garske 2026-11-25 18:24:13 -0800
  • e348776095 Compile the fwTPM create key size check only where it can fail David Garske 2026-11-25 18:24:13 -0800
  • 74d9198b33
    Merge 48af33e56a into 8a5a108f62 David Garske 2026-11-25 23:06:27 +0000
  • 48af33e56a Test the reduced ML-DSA and ML-KEM CI entries and add no Hash-ML-DSA David Garske 2026-11-25 13:15:17 -0800
  • 2ac0529d09 Skip ML-KEM salted session examples without ML-KEM encapsulation David Garske 2026-11-25 13:15:17 -0800
  • df0c3ca339 Guard wrapper tests by ML-KEM encapsulation and Hash-ML-DSA support David Garske 2026-11-25 13:15:17 -0800
  • e38d2f291c Guard fwTPM handler tests by the ML-DSA and ML-KEM operations built David Garske 2026-11-25 13:15:17 -0800
  • a952506708 Accept an ML-KEM key in ActivateCredential in every ML-KEM build David Garske 2026-11-25 13:15:17 -0800
  • 23bfe37583 Add CI entries for untested sanitizer, fwTPM and swtpm configurations David Garske 2026-11-25 10:34:48 -0800
  • b4f80f2fcd Fix bench and unit test link with a reduced ML-DSA or ML-KEM subset David Garske 2026-11-25 10:26:57 -0800
  • 5c19d5d2c2 Build TPM2_GetProductInfo when WOLFTPM_MFG_IDENTITY is defined David Garske 2026-11-25 10:26:57 -0800
  • 8a5a108f62
    Merge pull request #681 from dgarske/coverity_optee_tests master Aidan Garske 2026-11-25 13:17:28 -0800
  • c5a26db956 Initialize the hash type in fwTPM PolicyCapability David Garske 2026-11-25 10:38:41 -0800
  • e5c69d496a Issue a timeout and ticket from fwTPM PolicySecret David Garske 2026-11-25 09:58:10 -0800
  • a686c293db Reject a trial session in fwTPM PolicyTicket David Garske 2026-11-25 09:52:22 -0800
  • 08e478534d Check return values and remove unreachable code in OP-TEE port tests David Garske 2026-11-25 09:41:34 -0800
  • 536ff33ea9 Test a hash sequence under a parameter encryption session David Garske 2026-11-25 10:07:25 -0800
  • 00b1cf523d F-18919 - Add a known-answer test for both extra nonces in the HMAC David Garske 2026-11-24 18:18:34 -0800
  • e6eedead3e F-18918 - Test a PCR selection wider than PCR_SELECT_MAX in a quote David Garske 2026-11-24 18:17:27 -0800
  • cd09fd3329 F-18917 - Test the first parameter size bound in TPM2_CommandProcess David Garske 2026-11-24 18:18:15 -0800
  • b0a95ba02c F-18916 - Test an inner TPM2B longer than its buffer in ParsePublic David Garske 2026-11-24 18:16:56 -0800
  • ce2b5ad1a5 F-18915 - Test oversized nonce and HMAC sizes in TPM2_Packet_ParseAuth David Garske 2026-11-24 18:16:31 -0800
  • 86807a7b6c F-18920 - Send the last cached hash chunk in the SequenceComplete David Garske 2026-11-24 18:13:05 -0800
  • a23a16f117 F-18911 - Reject out-of-range PCR indexes in the PCR policy wrappers David Garske 2026-11-24 18:12:06 -0800
  • 31c0e70291 F-18949 - Fix word32 wrap in the hash cache grow check David Garske 2026-11-24 18:11:00 -0800
  • b2ed244435 F-18948 - Flush the sequence on every SequenceComplete failure David Garske 2026-11-24 18:09:24 -0800
  • bfab6c36af F-18947 - Reject NV read and write offsets beyond the UINT16 range David Garske 2026-11-24 18:06:22 -0800
  • 1d7d421556 F-18933 - Return the rolled nonce from wolfTPM2_ChangeHierarchyAuth David Garske 2026-11-24 18:05:23 -0800
  • b15fb36c79 F-18932 - Marshal the ticket in TPM2_PolicyTicket David Garske 2026-11-24 18:05:04 -0800
  • 262c19dd4f F-18901 - Correct the wolfTPM2_SignCertCb TPM error return comment David Garske 2026-11-24 18:02:52 -0800
  • 9f25544469 F-18900 - Document the positive TPM_RC return of the PQC wrappers David Garske 2026-11-24 18:02:52 -0800
  • f8df2ba837 F-18899 - Document the TPM_RC return of SPDM enable and disable David Garske 2026-11-24 18:18:40 -0800
  • 899abf15dc
    Merge pull request #680 from aidangarske/user-transport-cb David Garske 2026-11-25 12:30:44 -0800
  • 0df94f3fb6 Add an application-supplied TPM command transport Aidan Garske 2026-11-25 10:42:13 -0800
  • ea765a4a5c
    Merge pull request #677 from dgarske/fenrir_fwtpm Aidan Garske 2026-11-25 11:06:47 -0800
  • cbebeaa7a1
    Merge pull request #678 from dgarske/fenrir_clientlib Aidan Garske 2026-11-25 10:59:07 -0800
  • f4307064b2 Drop the example Name workarounds that the wrappers now cover David Garske 2026-11-24 14:24:21 -0800
  • 6627121015 Send a parameter encryption session with the sequence start commands David Garske 2026-11-24 12:16:46 -0800
  • 9ee1e52cfe F-16843 - Send a parameter encryption session with TPM2_MakeCredential David Garske 2026-11-24 11:11:12 -0800
  • 1235997ba5 F-16195 - Encrypt secrets of commands that take no authorization David Garske 2026-11-24 11:05:52 -0800
  • ca64f4e315 F-18912 - Send a session that follows an unused session slot David Garske 2026-11-24 09:55:37 -0800
  • e4554eb384 Add wolfTPM2_PolicyRestart_ex to reset the policy auth mode in the session David Garske 2026-11-23 17:34:11 -0800
  • d89d9f70e0 Require a response authorization for each session sent David Garske 2026-11-23 15:09:40 -0800
  • a93f0dd6f8
    Merge pull request #674 from dgarske/optee_mock_tests Aidan Garske 2026-11-24 15:32:38 -0800
  • e596618203 Return the parameter number with a fwTPM Load type mismatch David Garske 2026-11-24 15:19:46 -0800
  • 9319043649 Add the session number to fwTPM authorization failure codes David Garske 2026-11-24 15:19:46 -0800
  • 0ad8f31586 Use FwDupOuterWrap for the outer wrap in fwTPM Rewrap David Garske 2026-11-24 11:34:12 -0800
  • 8d622aa8ab Reject a LoadExternal sensitive type that differs from the public type David Garske 2026-11-24 11:34:12 -0800
  • 04175d3cee Apply the global NV write lock flag of an older fwTPM image on load David Garske 2026-11-24 11:34:12 -0800
  • c5afbbbbad Add the session number to fwTPM session attribute response codes David Garske 2026-11-24 11:34:12 -0800
  • 0ad6949a20 Test the fwTPM Import rejections of a seedValue of the wrong size David Garske 2026-11-18 21:27:40 -0800
  • cb8febae7e Size the fwTPM private blob buffers for a full authValue and seedValue David Garske 2026-11-18 21:27:40 -0800
  • 5f0a156eaa Report an allocation failure from the fwTPM restricted key unique HMAC David Garske 2026-11-18 21:04:50 -0800
  • e8ed44337a Compute unique of a fwTPM KEYEDHASH or SYMCIPHER primary from a seedValue David Garske 2026-11-18 18:05:07 -0800
  • 62c7376ebf Derive a seedValue for fwTPM primary storage keys from the hierarchy seed David Garske 2026-11-18 18:02:20 -0800
  • 22c82c50b3 Check unique of an external SYMCIPHER key in fwTPM LoadExternal David Garske 2026-11-18 17:53:52 -0800
  • 8100312412 Give fwTPM created objects a seedValue and compute unique from it David Garske 2026-11-18 17:51:22 -0800
  • b1aa0b1253 Keep the seedValue of an imported or externally loaded fwTPM object David Garske 2026-11-18 17:44:43 -0800
  • 07bc7c74c2 Store a seedValue in fwTPM objects and their private blobs and records David Garske 2026-11-18 17:43:59 -0800
  • 92c1f351e6 Verify an empty HMAC from a fwTPM HMAC session instead of refusing it at parse David Garske 2026-11-18 08:10:40 -0800
  • 7a7ca76b57 Free the fwTPM credential and wrap key AES and HMAC contexts only after a successful init David Garske 2026-11-18 08:04:41 -0800
  • 5b14651f7a Check the NV marshal results for the PCR auth record in fwTPM FWTPM_NV_Save David Garske 2026-11-18 08:02:18 -0800
  • 4baa186531 Initialize the fwTPM HMAC sequence context in HMAC_Start before setting the key David Garske 2026-11-18 07:03:43 -0800
  • f6174d8809 Describe fwTPM FWTPM_NV_MAX_ENTRY as the initial NV entry buffer size David Garske 2026-11-18 06:59:14 -0800
  • ca767f3db3 Refuse a fwTPM session bound to a DA protected entity in every slot during lockout David Garske 2026-11-18 06:59:14 -0800
  • 6dded9a1ac Keep the fwTPM append-only NV granule state when the compaction erase fails David Garske 2026-11-18 06:53:14 -0800
  • c86cab97b4 Return the allocation failure from fwTPM FwCredentialWrap before encrypting David Garske 2026-11-18 06:51:54 -0800
  • c15e701356 Keep the allocation failure and skip the HMAC free in fwTPM FwComputeTicketHmac David Garske 2026-11-18 06:51:49 -0800
  • aed0aa72c3 Limit a caller-supplied fwTPM KEYEDHASH sign or decrypt key to the scheme hash block size David Garske 2026-11-18 06:49:19 -0800
  • cd1bb665bf Count a failed HMAC on a DA bound fwTPM session after its bind handle is reused David Garske 2026-11-17 21:44:50 -0800
  • ad8898d5a9 Fail the fwTPM NV journal load and save when the HAL integrity key callback fails David Garske 2026-11-17 21:32:45 -0800
  • f78378d75a Wipe the fwTPM NV integrity key buffer when the HAL key callback fails David Garske 2026-11-17 21:27:18 -0800
  • 2a0403362a Release the saved-context slot when a fwTPM session ContextSave cannot wrap the context David Garske 2026-11-17 21:27:18 -0800
  • ca751bef5d Bound the fwTPM FwCredentialWrap output by the size of the caller buffer David Garske 2026-11-17 21:25:00 -0800
  • 61f2ae0e89 Pair wc_HmacInit and wc_HmacFree in the fwTPM context blob wrap and the HMAC command David Garske 2026-11-17 21:20:20 -0800
  • 86523d08a8 Wipe the fwTPM DHKEM labeled extract scratch buffer that holds the ECDH secret David Garske 2026-11-17 21:15:42 -0800
  • 415d296b35 Return the allocation failure from fwTPM FwComputeNvName before hashing David Garske 2026-11-17 21:15:34 -0800
  • 94fd4bee17 Size the fwTPM PCR auth NV record for the staged allocation and check its marshal David Garske 2026-11-17 21:10:08 -0800
  • 68731c82ae Reject a fwTPM PCR selection that lists more than HASH_COUNT hash algorithms David Garske 2026-11-17 21:06:31 -0800
  • 643af47c49 Skip the authorization area in fwTPM GetCapability, HashSequenceStart and EC_Ephemeral David Garske 2026-11-17 21:02:04 -0800
  • a41731a9d8 Count a failed HMAC on a bound fwTPM session that authorizes no handle toward lockout David Garske 2026-11-17 20:58:24 -0800
  • fb82cf2e4d Limit the fwTPM Create and CreatePrimary authValue to the nameAlg digest size David Garske 2026-11-17 20:54:53 -0800
  • 91929cc503 Use the caller key for a fwTPM SYMCIPHER object and require it to match keyBits David Garske 2026-11-17 20:52:18 -0800
  • 242b6f49e4 Bound the fwTPM Create, CreateLoaded and CreatePrimary sensitive data by MAX_SYM_DATA David Garske 2026-11-17 20:48:38 -0800
  • ad3836f446 F-16837 - Support TPM_RH_NULL as the signHandle in fwTPM attestation commands David Garske 2026-11-17 18:29:59 -0800
  • ef10b4fb59 F-16226 - Track the Qualified Name of fwTPM objects David Garske 2026-11-17 18:21:57 -0800
  • 773eb8a90b Reject a fwTPM attestation inScheme that disagrees with the key scheme David Garske 2026-11-17 17:05:56 -0800
  • 389555e4fa Accept a fwTPM HierarchyControl that enables an already enabled hierarchy David Garske 2026-11-17 16:52:31 -0800
  • e22f19fa13 Hash the fwTPM PolicySigned aHash with the signature hash algorithm David Garske 2026-11-17 16:47:53 -0800
  • c120557067 Return TPM_RC_NONCE for a fwTPM PolicySigned nonceTPM mismatch David Garske 2026-11-17 16:42:17 -0800
  • ced38e8c63 Let only platformAuth re-enable Clear in fwTPM ClearControl David Garske 2026-11-17 16:33:19 -0800
  • a92db4f956 F-16211 - Test the fwTPM TIS FIFO and status gates from a non-owning locality David Garske 2026-11-17 10:44:24 -0800
  • d09b7bdf59 F-16206 - Test the fwTPM Import outer integrity check David Garske 2026-11-17 10:40:43 -0800
  • 311dadbc26 F-16204 - Test the fwTPM HierarchyControl authorization and disabled hierarchy handling David Garske 2026-11-17 10:37:37 -0800