google / google/go-tpm

Support TPM2_StirRandom

Open
#440 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.