msm-webgpu 0.1.0

Multi-Scalar Multiplication (MSM) implementation for WebGPU.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
struct BigInt {
    limbs: array<u32, {{ num_words }}>
}

struct BigIntWide {
    limbs: array<u32, {{ num_words_mul_two }}>
}

struct BigIntMediumWide {
    limbs: array<u32, {{ num_words_plus_one }}>
}

struct Point {
  x: BigInt,
  y: BigInt,
  z: BigInt
}