Skip to content

Adding Rust support to TSS.MSR#209

Open
Kasher wants to merge 1 commit intomicrosoft:mainfrom
Kasher:main
Open

Adding Rust support to TSS.MSR#209
Kasher wants to merge 1 commit intomicrosoft:mainfrom
Kasher:main

Conversation

@Kasher
Copy link

@Kasher Kasher commented Feb 24, 2026

This PR adds a complete Rust implementation of the TSS, following the same architecture as the existing C++ support.

What's included:

  • TssCodeGen - Extended to emit Rust types, enums, unions, and command dispatch
  • Auth infrastructure - HMAC and policy sessions, session key derivation (KDFa), response HMAC verification, parameter encryption (AES-CFB)
  • PolicyTree - Full policy abstraction with 14 assertion types
  • 37 samples - Matching C++ Samples.cpp coverage (keys, NV, attestation, sealing, import/duplicate, audit, bound sessions, etc.)
image

@Kasher
Copy link
Author

Kasher commented Feb 24, 2026

@microsoft-github-policy-service agree company="Microsoft"

@DMattoon DMattoon assigned DMattoon and unassigned DMattoon Feb 24, 2026
@DMattoon DMattoon self-requested a review February 24, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants