Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement various TPM functions #178

Merged
merged 7 commits into from
Jan 28, 2021

Conversation

puiterwijk
Copy link
Collaborator

This implements the following TPM2 functions:

  • TPM2_Hmac
  • TPM2_Shutdown
  • TPM2_SelfTest
  • TPM2_GetTestResult
  • TPM2_PolicyRestart
  • TPM2_StirRandom

@puiterwijk
Copy link
Collaborator Author

puiterwijk commented Jan 27, 2021

I will rebase this on top of #179 when that gets merged.

Edit: done.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Copy link
Member

@ionut-arm ionut-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's really nice seeing Rusty interfaces on all Context methods 🤩 this codebase has improved so much in the past year!!

@puiterwijk puiterwijk enabled auto-merge (rebase) January 27, 2021 12:21
Copy link
Collaborator

@Superhepper Superhepper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks good. One thing I would like to see perhaps are some code examples in the documentation.

tss-esapi/src/utils/mod.rs Outdated Show resolved Hide resolved
tss-esapi/src/utils/mod.rs Outdated Show resolved Hide resolved
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
@puiterwijk puiterwijk force-pushed the add_functions branch 2 times, most recently from ea645c2 to de7958e Compare January 28, 2021 07:30
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
@puiterwijk puiterwijk merged commit 14d7c4d into parallaxsecond:master Jan 28, 2021
@puiterwijk puiterwijk deleted the add_functions branch January 28, 2021 10:43
tgonzalezorlandoarm pushed a commit to tgonzalezorlandoarm/rust-tss-esapi that referenced this pull request Mar 14, 2024
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.

3 participants