#parser #quote #mocking #intel #tdx #attestation #verifies

tdx-quote

Parses and verifies Intel TDX quotes

1 unstable release

0.0.1 Oct 2, 2024

#9 in #tdx

Download history 333/week @ 2024-09-30 185/week @ 2024-10-07 128/week @ 2024-10-14 404/week @ 2024-10-21 210/week @ 2024-10-28

936 downloads per month

AGPL-3.0-or-later

31KB
635 lines

tdx-quote

Parses and verifies Intel TDX quotes (v4 and v5)

This crate is no_std.

This is inspired by tdx-quote-parser for the types and sgx-quote for the no-std parsing using nom.

This is based on the specification described in the Intel TDX DCAP Quoting Library API, appendix 3.

The mock feature flag allows generating mock quotes, which this library can parse and verify. This is used for testing attestation features on without needing TDX hardware.

Warning: This is in early stages of development and has not been audited.

For quote generation, see configfs-tsm.


lib.rs:

Parses and verifies Intel TDX quotes (v4 and v5)

This crate is no_std.

This is inspired by tdx-quote-parser for the types and sgx-quote for the no-std parsing using nom.

This is based on the specification described in the Intel TDX DCAP Quoting Library API, appendix 3.

The mock feature flag allows generating mock quotes, which this library can parse and verify. This is used for testing attestation features on without needing TDX hardware.

Warning: This is in early stages of development and has not been audited.

For quote generation, see configfs-tsm.

Dependencies

~4MB
~76K SLoC