dalek-cryptography / bulletproofs

A pure-Rust implementation of Bulletproofs using Ristretto.
MIT License
1.02k stars 218 forks source link

Avoid extra allocation in serialization of R1CSProof #297

Closed AnthonyMikh closed 5 years ago

AnthonyMikh commented 5 years ago

This commit adds a new method InnerProofProduct::to_bytes_iter() and exploits it to avoid allocation in serialization of R1CSProof.

Unresolved questions:

AnthonyMikh commented 5 years ago

Sorry, tried to push into wrong branch