-
Endomorphism acceleration #44 requires decomposing a scalar.
This is done using lattice decomposition using Babai's rounding techniques.
- [ ] Integrate in the property-based tests (requires cle…
-
For reference, this is MCL speed on ARM-32 Rpi 4
https://github.com/mratsim/mcl/blob/2b318e84/bench-arm32-pi4.log
```
JIT 0
ctest:module=size
ctest:module=naive
i=0 curve=BLS12_381
G1
G2
GT…
-
## How to reproduce
### MCL
```
git clone https://github.com/herumi/mcl
cd mcl
make -j ${ncpu}
make bin/bls12_test.exe # even on Linux
bin/bls12_test.exe
```
### nim-blscurve
```…
-
Due to upstream bug https://github.com/nim-lang/Nim/issues/9679 and another hard-to reproduce one for static Word, the use of compile-time property of the modulus requires lots of workarounds.
Bug …
-
Is there any way to imply precompute on bls12-381?
-
To construct a tower of extension fields we need to find an irreducible polynomial, i.e.
For quadratic extension fields:
- x² ≢1 (mod p), i.e. x is not a square (mod p)
For cubic extension fields…
-
When a function of this package throws, these `mcl_c.js` or `mcl_c512.js` seem to throw aswell. Since these scripts do not seem to be beautified, they throw a gigantic error string. Is it possible to …
-
Hi, I would like to invite the goff team to update their benchmark timings against zexe's new macro-based FF implementation. We used goff's no carry optimisation. I reference a relevant issue here: ht…
-
The static mul bench seems to be measuring in-place addition:
https://github.com/AztecProtocol/barretenberg/blob/d815655681e8e42db3e716afdb60d8afb2e8f279/barretenberg/src/aztec/ecc/curves/bn254/fr.…
-
PR #28 introduced an efficient constant-time scalar multiplication scheme, it is over 10% faster than naive double-and-add (with scratchspace of 16 curve point) even though it is constant-time
![imag…