etc | ||
arith.go | ||
consts.go | ||
curve.go | ||
fpP503.go | ||
go.mod | ||
go.sum | ||
README.md | ||
sike_test.go | ||
sike.go | ||
types.go |
Supersingular Isogeny Key Encapsulation
Repository stores Go's implementation of SIKE based on field p503. Implementation uses HMAC instead of cSHAKE. Implementation is quite slow, as the main focus here to keep code base condensed rather than fast.
Speed
> go test -run=. -bench=.
goos: linux
goarch: amd64
BenchmarkKeygen-4 50 32298894 ns/op
BenchmarkEncaps-4 20 53348330 ns/op
BenchmarkDecaps-4 20 64073853 ns/op
PASS
ok _/home/hdc/repos/go-sike-p503 5.550s