Chris Duncan [Fri, 27 Feb 2026 08:03:35 +0000 (00:03 -0800)]
Pointers, vectors, and doubling.
Use pointers for field element constants and simplify scalarbase copy setup. Implement point doubling function. Vectorize selection logic and use built-in for swapping bits. Tweak error handling, maybe fix liftString at some point. Use immediate offsets instead of pointer arithmetic where possible. Pass pointers directly to scalarmult, add, and cswap.
Chris Duncan [Wed, 25 Feb 2026 22:31:34 +0000 (14:31 -0800)]
Overhaul module to use static buffers to prevent memory leaks, 32-bit limbs to accelerate multiplication with SIMD vectors, copy I/O directly to and from buffers, simplify entry point functions in host code, and fix calculation bugs.