97 releases (11 breaking)

0.16.7 Apr 26, 2026
0.16.6 Jan 19, 2026
0.16.5 Dec 3, 2025
0.16.4 Nov 29, 2025

#2 in #mailing-list

Download history 7/week @ 2026-02-13 9/week @ 2026-02-20 20/week @ 2026-02-27 11/week @ 2026-03-06 36/week @ 2026-03-13 16/week @ 2026-03-20 50/week @ 2026-03-27 20/week @ 2026-04-03 65/week @ 2026-04-10 155/week @ 2026-04-17 151/week @ 2026-04-24 147/week @ 2026-05-01 71/week @ 2026-05-08

548 downloads per month
Used in 6 crates

MIT/Apache

230KB
6.5K SLoC

TPM 2.0 marshaler/unmarshaler

A unipolar no_std TPM 2.0 implementation that does not require heap allocator and has zero dependencies.

Submitting patches

Contributions can be submitted as merge requests.

Commit messages should follow simple kernel alike format. Write a clear summary of the change to the long description. NOTE: conventional commit messages have been abandoned despite used in the early development.

Mailing List

For broader discussions there is a mailing list.

The list can be subscribed by sending an empty message to tpm-protocol+subscribe@lists.linux.dev, Unsubscribing follows the same exact pattern except that the subaddress is +unsubscribe.

Emails must be in text/plain (instead of e.g., text/html) .

Documenting errors

The following snippet demonstrates the recommended pattern for documenting the return values on error:

/// # Errors
///
/// Returns [`<variant's unqualified name>`](<variant's unqualified name>)
/// Returns ...

Licensing

The tpm2-protocol library is licensed under the permissive MIT OR Apache-2.0 license to allow for wide adoption.

No runtime deps