Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BenDHillier
Copy link
Contributor

Expands CreateEkPublicAreaFromKey to support ECC EKs.
Also adds some ECC utility functions.

These changes will be needed to add support for Importing using an ECC EK.

Copy link
Member

@josephlr josephlr 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 splitting this out.

newArea, err := CreateEKPublicAreaFromKey(key.Public())
if err != nil {
t.Fatalf("failed to create public area from public key: %v", err)
tests := []struct {
Copy link
Member

Choose a reason for hiding this comment

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

Nice job making this table driven

@josephlr josephlr merged commit 1df5188 into google:master Sep 28, 2019
@BenDHillier BenDHillier deleted the ecc-conversion branch September 30, 2019 17:42
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