Skip to content

perf(crypto): CRP-2907 Improve performance of Ed25519 batch verification#9363

Draft
randombit wants to merge 3 commits intomasterfrom
jack/crp-2907
Draft

perf(crypto): CRP-2907 Improve performance of Ed25519 batch verification#9363
randombit wants to merge 3 commits intomasterfrom
jack/crp-2907

Conversation

@randombit
Copy link
Contributor

Previously the implementation took a random seed from the vault but this imposed an overhead of 50 to 100 microseconds for each batch verification. Instead add a new RNG that can be used to generate batch verification nonces without having to perform a vault RPC. Compared to performance on master, the cost of batch verification is reduced by about 20%.

Previously the implementation took a random seed from the vault but this imposed
an overhead of 50 to 100 microseconds for each batch verification. Instead add a
new RNG that can be used to generate batch verification nonces without having to
perform a vault RPC. Compared to performance on master, the cost of batch
verification is reduced by about 20%.
@github-actions github-actions bot added the perf label Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant