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

Review RAND seeding on BLS batch verify #2527

Closed
dapplion opened this issue May 16, 2021 · 2 comments
Closed

Review RAND seeding on BLS batch verify #2527

dapplion opened this issue May 16, 2021 · 2 comments
Labels
prio-low This is nice to have. scope-performance Performance issue and ideas to improve performance.

Comments

@dapplion
Copy link
Contributor

If producing safe random seeds in NodeJS is proven to be expensive consider this approach from Nimbus:

Each verify calls is seeded with a CSPRNG.
Then for all points included in the verify call we SHA256 the current blinding state and use the low 64 bits as a random blinding scalar ( ctx.secureBlinding.bls_sha256_digest(ctx.secureBlinding))

https://github.com/status-im/nim-blscurve/blob/fd4956f5d65129e9b475e654903a84303395eb92/blscurve/blst/blst_min_pubkey_sig_core.nim#L517

@dapplion dapplion added the prio-low This is nice to have. label May 16, 2021
@dapplion dapplion added the scope-performance Performance issue and ideas to improve performance. label Jun 11, 2021
@stale
Copy link

stale bot commented Sep 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta-stale Label for stale issues applied by the stale bot. label Sep 19, 2021
@dapplion dapplion removed the meta-stale Label for stale issues applied by the stale bot. label Sep 20, 2021
@dapplion
Copy link
Contributor Author

Not observed to be a performance issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio-low This is nice to have. scope-performance Performance issue and ideas to improve performance.
Projects
None yet
Development

No branches or pull requests

1 participant