Henry Case 5 лет назад
Родитель
Сommit
bdf21913e9
1 измененных файлов: 8 добавлений и 7 удалений
  1. +8
    -7
      README.md

+ 8
- 7
README.md Просмотреть файл

@@ -1,17 +1,18 @@
# Supersingular Isogeny Key Encapsulation # 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.
Repository keeps simple Go's implementation of
SIKE based on field p503 (Round1).


## Speed ## Speed


``` ```
> go test -run=. -bench=.
> go test -run=. -bench=. -benchmem
goos: linux goos: linux
goarch: amd64 goarch: amd64
BenchmarkKeygen-4 50 32298894 ns/op
BenchmarkEncaps-4 20 53348330 ns/op
BenchmarkDecaps-4 20 64073853 ns/op
pkg: github.com/henrydcase/go-sike-p503
BenchmarkKeygen-4 100 12235566 ns/op 0 B/op 0 allocs/op
BenchmarkEncaps-4 100 20430183 ns/op 0 B/op 0 allocs/op
BenchmarkDecaps-4 50 23946060 ns/op 2 B/op 0 allocs/op
PASS PASS
ok _/home/hdc/repos/go-sike-p503 5.550s
ok github.com/henrydcase/go-sike-p503 13.725s
``` ```

Загрузка…
Отмена
Сохранить