AztecProtocol / aztec-2.0

C++ elliptic curve library
134 stars 37 forks source link

wasm field implementation now native 32 bit #42

Closed zac-williamson closed 4 years ago

zac-williamson commented 4 years ago

modified the basic mac building bock to use 32-bit inputs contained in 64-bit variables

this reduces the bit shifts/masks required when evaluating montgomery mul

appears to speed up wasm execution by 15-20%