ZenGo-X / class

Rust library for building IQC: cryptography based on class groups of imaginary quadratic orders
GNU General Public License v3.0
63 stars 31 forks source link

Use curv from crates.io and bump version #50

Closed elichai closed 3 years ago

elichai commented 3 years ago

This also removes the use of uninitialized integers, which are Undefined Behavior in rust, and replaced with a NULL pointer because it's an optional out argument that we don't make use of anyway (if I understood their docs correctly)

Source: https://doc.rust-lang.org/reference/behavior-considered-undefined.html

An integer (i/u), floating point value (f*), or raw pointer obtained from uninitialized memory, or uninitialized memory in a str