ZenGo-X / curv

Rust language general purpose elliptic curve cryptography.
MIT License
265 stars 111 forks source link

Serialization is different for different BigInt backends #118

Closed survived closed 3 years ago

survived commented 3 years ago

We have two different bigint backends: based on rust-gmp and num-bigint. Choosing any of them affects only performance/dev experience, but not the program behaviour. However, I found out that Serialization works differently for rust-gmp/num-bigint backends: eg. serialized num-bigint-based Bigint won't be deserialized into rust-gmp-based BigInt.

TODO: