Support TPM2_StirRandom
Open
- Dominant language
- Go
- Stars
- 673
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
The `tpm2` package implements `TPM2_GetRandom` but not its counterpart `TPM2_StirRandom` (Part 3, section 16.2), so there is no way to contribute entropy to the TPM's RNG state through this package, yet.
Contributor guide
Research direction
Start in the tpm2 package by tracing the existing TPM2_GetRandom implementation and compare its command structure with TPM2_StirRandom in Part 3, section 16.2. Add the missing package support for contributing entropy and verify it with the repository's relevant tests or TPM command checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 66/100