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

Add optional ed25519_init() #10

Merged
merged 1 commit into from
Jul 16, 2018
Merged

Add optional ed25519_init() #10

merged 1 commit into from
Jul 16, 2018

Conversation

mvines
Copy link
Member

@mvines mvines commented Jul 15, 2018

This change is required for solana-labs/solana#626 to land

@mvines mvines requested review from sakridge and garious July 15, 2018 00:01
@garious
Copy link
Contributor

garious commented Jul 15, 2018

Could use some code comments

@mvines
Copy link
Member Author

mvines commented Jul 15, 2018

Anything in particular you feel should be commented in this patch? In general I totally agree, this entire file is devoid of comments so where to start!?

@garious
Copy link
Contributor

garious commented Jul 15, 2018

Justification of any sort for the change

@mvines
Copy link
Member Author

mvines commented Jul 15, 2018

Sure, I added some description to the commit message: f81494d

This function permits ed25519_verify_many() users to ensure the GPU is
initialized correctly and if not take action rather than having the failure
suppressed.

ed25519_verify_many() retains its previous behavior of implicit initialization
if ed25519_init() is not explicitly called.
@garious garious merged commit 139975b into solana-labs:master Jul 16, 2018
@mvines mvines deleted the gpu branch July 16, 2018 02:16
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