Comments (3)
- "just add together"
- streaming batch verification
- decompressed signatures
- NIZKs? (probably not)
from celo-bls-snark-rs.
The batch verification code in #222 runs benchmarks with the following paramters:
celo-bls-snark-rs/crates/bls-crypto/benches/batch_bls.rs
Lines 12 to 17 in 13cc566
These are NOT real benchmark results, they came from my laptop while doing other things, but the general shape is clear. Aggregate screening is faster than batch verification but does not provide the same security guarantees. Batch verification remains much, much faster than individually verifying signatures.
"per epoch aggregate" adds the signatures together for one epoch
"all epoch aggregate" does a single aggregate signature against many keys and hashes
"per epoch batch" uses the new code with a random linear combination of signatures and keys against a fixed message
"per epoch individual" validates every signature individually
bls/per-epoch aggregate screening
time: [976.61 ms 980.90 ms 985.14 ms]
bls/all epoch aggregate screening
time: [269.52 ms 270.88 ms 272.22 ms]
bls/per-epoch batch verification
time: [1.6660 s 1.6676 s 1.6695 s]
bls/per-epoch individual verification
time: [19.397 s 19.417 s 19.442 s]
from celo-bls-snark-rs.
I'll close this issue now but we can post more benchmarks in the future, for further optimization work or other modes.
from celo-bls-snark-rs.
Related Issues (20)
- Ensure bit encodings and reversals done in a principled manner
- Fine-grained unit tests for HashToGroup
- Add clearly defined behavior for constant values
- Add detailed documentation to each gadget
- HashToCurve: What is extra data for? HOT 4
- HashToCurve and Hasher: Add new() method HOT 3
- Migrate to arkworks
- Prove security of BLS aggregation HOT 9
- Remove num non signers from setup throughout the entire API
- Implement parallelized deserialization of large vectors in arkworks
- Expose an interface to accumulate new signatures into an existing multisignature
- Create a Go wrapper in celo-bls-go
- Make sure reduced-size scalar multiplication is efficient
- Expose interfaces to work with decompressed points HOT 1
- Support efficient streaming BLS batch verification HOT 1
- Phase 1 setup random beacon HOT 5
- Study about Plumo
- Phase 2 setup random beacon HOT 2
- Fragile dependencies on arkworks (build break for any dependent)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celo-bls-snark-rs.