Commit Graph

12 Commits

Author SHA1 Message Date
kilic
74113fc1ca Use constants for number of limbs and bit size of limbs 2022-04-12 15:19:58 +02:00
kilic
d075804322 Add combine function to main gate
Move conversion utils to base crate

Rename main_gate::decompose function as to_bits

Move arithetic implementations to instructions trait
2022-04-12 15:19:58 +02:00
David Nevado
47a1f7bcd0 Move secp256k1 as a dependency 2022-04-08 17:12:33 +02:00
David Nevado
3822dda3d6 Fix Integer features 2022-03-31 01:51:32 +02:00
kilic
24b56144cd apply clippy 2022-03-11 00:59:10 +03:00
kilic
96bd02e9f3 cargo fmt: use default max_width 2022-03-10 21:06:37 +03:00
kilic
bd1addedb1 Use shared rns instance everywhere 2022-03-10 21:04:08 +03:00
kilic
0a4ddeb425 Remove 4 width main gate 2022-03-09 19:25:18 +03:00
kilic
60085a1308 better structure for integer test
test secp256k1 field constrains
2022-03-08 16:12:36 +03:00
kilic
51780dec1e fix rns v0 underflow issue 2022-03-08 16:10:47 +03:00
kilic
1a3a66775d Bundle region and offset
Remove no_lookup feature
2022-03-06 13:45:54 +03:00
kilic
235fcb9be3 Into workspace 2022-02-11 21:29:14 +03:00