#cycle #curve #cuda #multiscalar #optimized #grumpkin #multiplicaton

grumpkin-msm

Optimized multiscalar multiplicaton for the Grumpkin curve cycle

1 unstable release

0.1.0 Dec 15, 2023

#22 in #cycle

Apache-2.0

16KB
323 lines

Multi-Scalar Multiplication for the Grumpkin curve cycle

[!NOTE] This is basically a copy of the pasta_msm crate.

To compile CUDA support ensure that you have nvcc, Nvidia CUDA compiler, on your program search path. Minimal installation suffices. For example on Ubuntu it would be sufficient to install cuda-minimal-build-11-7 instead of complete cuda package. If your laptop is equipped with a Turing+ controller, you're likely to have to compile with --features=cuda-mobile. Caveat lector. CUDA implementation does not adapt for the actual load yet, so that some results would be suboptimal.

Dependencies

~5.5–7.5MB
~203K SLoC