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

BigInt to GEN: add support for variable size BigInt #3

Open omershlo opened 5 years ago

omershlo commented 5 years ago

bn_to_gen is a function that takes gmp bigint and transform it into pari native type GEN. Currently The max size fo the BigInt is around 1000bits. We need to change this function to support all sized of bigints.