Skip to content

Improve crypto & constants#381

Merged
chrisfenner merged 3 commits intogoogle:mainfrom
AlexandreEXFO:main
Dec 16, 2024
Merged

Improve crypto & constants#381
chrisfenner merged 3 commits intogoogle:mainfrom
AlexandreEXFO:main

Conversation

@AlexandreEXFO
Copy link
Copy Markdown
Contributor

No description provided.

@AlexandreEXFO AlexandreEXFO requested review from a team, alexmwu and jkl73 as code owners December 16, 2024 17:27
Copy link
Copy Markdown
Member

@chrisfenner chrisfenner left a comment

Choose a reason for hiding this comment

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

Thanks for this work! I have just one nit to pick about naming, then we can merge. I am also working on some testing for this code that uses TPM2_Duplicate to check that we get valid/compatible private and public keys out of this code. I'll integrate my changes atop yours.

TPMECCBNP256 TPMECCCurve = 0x0010
TPMECCBNP638 TPMECCCurve = 0x0011
TPMECCSM2P256 TPMECCCurve = 0x0020
TPMECCBrainpool_P256_R1 TPMECCCurve = 0x0030
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: Current style is to omit underscores from the names (even though that can lead to initialisms being next to each other) in accordance with Google's general Go style guide

@chrisfenner chrisfenner merged commit 644dc32 into google:main Dec 16, 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.

2 participants