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 and use secure BLS batch verification #2681

Merged
merged 3 commits into from
Feb 4, 2019

Conversation

codablock
Copy link

Using CBLSInsecureBatchVerifier was only ok when performing batch verification of signature shares and recovered signatures, but should never have been used in something like CDKGDebugManager or other (not yet implemented) use cases where messages signed with the operator key are verified.

Signatures signed with the operator key should only be aggregated and batch verified for distinct messages and never for identical messages. Luckily, we can assume that most (if not all) incoming messages which are signed by the operator key are unique and distinct, so this doesn't make a difference performance-wise.

This PR adds secure verification to CBLSInsecureBatchVerifier and renames it to CBLSBatchVerifier. The PR also adds a few test cases for the batch verifier.

@UdjinM6 UdjinM6 added this to the 14.0 milestone Feb 4, 2019
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 merged commit 67a8609 into dashpay:develop Feb 4, 2019
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