7 releases (3 stable)

new 1.2.2 Jan 28, 2025
1.2.1 Jan 15, 2025
1.2.1-rc.0 Dec 9, 2024
1.2.0-rc.1 Nov 23, 2024

#213 in Algorithms

Download history 110/week @ 2024-11-17 42/week @ 2024-11-24 305/week @ 2024-12-01 338/week @ 2024-12-08 280/week @ 2024-12-15 102/week @ 2024-12-22 83/week @ 2024-12-29 294/week @ 2025-01-05 663/week @ 2025-01-12 944/week @ 2025-01-19 1352/week @ 2025-01-26

3,255 downloads per month

Apache-2.0

56KB
992 lines

BigInt2 provides precompiles for the RISC Zero zkVM that accelerate big integer algebra, including finite field arithmetic. This includes both our pre-built precompiles and the syscall interfaces necessary to call both these and any custom application-defined precompiles.

Note that this precompile functionality of this crate is not yet stable. If you want to opt-in to using this unstable functionality, set the "unstable" feature flag.

Dependencies

~0.2–1MB
~22K SLoC