fourq

Package fourq implements FourQ, a high-speed elliptic curve at the 128-bit security level.

BSD-3-CLAUSE License

Stars
55

FourQ

FourQ is a high-speed elliptic curve at the 128-bit security level. This package contains only an AMD64-optimized implementation. It is a preliminary implementation, and is incomplete. In particular, this package does not implement FourQ's endomorphisms or lattice reduction techniques.

Most recent benchmarks:

BenchmarkScalarBaseMult-4   	  200000	      7857 ns/op	     128 B/op	       1 allocs/op
BenchmarkScalarMult-4       	   50000	     38939 ns/op	     128 B/op	       1 allocs/op
BenchmarkScalarMultU-4      	   50000	     37112 ns/op	     128 B/op	       1 allocs/op

BenchmarkP256Base-4         	  100000	     16629 ns/op	     768 B/op	      12 allocs/op
BenchmarkP256-4             	   20000	     66726 ns/op	    2592 B/op	      16 allocs/op

BenchmarkCurve25519-4       	   30000	     47841 ns/op	       0 B/op	       0 allocs/op