Vai al file
2019-06-26 11:13:02 +01:00
etc Initial 0 alloc implementation 2019-05-16 18:54:52 +01:00
arith.go Removes not needed interface 2019-05-18 20:49:07 +01:00
consts.go WIP 2019-05-17 20:45:39 +01:00
curve.go Removes not needed interface 2019-05-18 20:49:07 +01:00
fpP503.go Use math/bits instead implementing arithmethic by hand 2019-06-26 11:13:02 +01:00
go.mod Initial 0 alloc implementation 2019-05-16 18:54:52 +01:00
go.sum Initial 0 alloc implementation 2019-05-16 18:54:52 +01:00
README.md Init 2019-03-29 22:28:57 +00:00
sike_test.go WIP 2019-05-17 20:45:39 +01:00
sike.go WIP 2019-05-17 20:45:39 +01:00
types.go WIP 2019-05-17 20:45:39 +01:00

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