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

tpm2: Add HashToAlgorithm #226

Merged
merged 1 commit into from
Dec 12, 2020
Merged

tpm2: Add HashToAlgorithm #226

merged 1 commit into from
Dec 12, 2020

Conversation

josephlr
Copy link
Member

Allows conversion from a Golang crypto.Hash to a TPM2 Algorithm

Also adds SHA3 hash algorithms/mappings, and switches from a map to
an array (as we now need a bidirectional mapping).

Signed-off-by: Joe Richey joerichey@google.com

@josephlr josephlr removed the request for review from twitchy-jsonp December 12, 2020 02:19
@josephlr josephlr mentioned this pull request Dec 12, 2020
Allows conversion from a Golang crypto.Hash to a TPM2 Algorithm

Also adds SHA3 hash algorithms/mappings, and switches from a map to
an array (as we now need a bidirectional mapping).

Signed-off-by: Joe Richey <joerichey@google.com>
@josephlr josephlr requested a review from a team as a code owner December 12, 2020 02:33
@josephlr josephlr merged commit 7b1a3bb into google:master Dec 12, 2020
@josephlr josephlr deleted the hash branch December 12, 2020 02:36
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