mirror of
https://github.com/henrydcase/nobs.git
synced 2024-11-22 15:18:57 +00:00
Kris Kwiatkowski
be4b4bca73
------------------ BenchmarkFp512Add-4 300000000 5.17 ns/op 0 B/op 0 allocs/op BenchmarkFp512Sub-4 300000000 5.26 ns/op 0 B/op 0 allocs/op BenchmarkFp512Mul-4 300000000 5.05 ns/op 0 B/op 0 allocs/op BenchmarkCSwap-4 300000000 5.17 ns/op 0 B/op 0 allocs/op BenchmarkAddRdc-4 100000000 12.2 ns/op 0 B/op 0 allocs/op BenchmarkSubRdc-4 100000000 12.1 ns/op 0 B/op 0 allocs/op BenchmarkModExpRdc-4 30000 45833 ns/op 0 B/op 0 allocs/op BenchmarkGeneratePrivate-4 50000 27371 ns/op 1752 B/op 27 allocs/op BenchmarkValidate-4 5 232157298 ns/op 2790 B/op 43 allocs/op BenchmarkEphemeralKeyExchange-4 3 470201921 ns/op 6890 B/op 107 allocs/op BenchmarkProcessTestVectors-4 1 42344950507 ns/op 580472 B/op 3519 allocs/op BenchmarkXMul-4 3000 494248 ns/op 1 B/op 0 allocs/op BenchmarkXAdd-4 3000000 495 ns/op 0 B/op 0 allocs/op BenchmarkXDbl-4 3000000 556 ns/op 0 B/op 0 allocs/op BenchmarkMapPoint-4 1000000 2143 ns/op 0 B/op 0 allocs/op |
||
---|---|---|
dh | ||
drbg | ||
ec/x448 | ||
etc | ||
hash | ||
kem/sike | ||
.gitignore | ||
.travis.yml | ||
Makefile | ||
README.md |
nobs-j-crypto
Crypto primitives implementation in Go.
Implemented primitives
- dh/
- SIDH
- ec/
- x448
- hash/
- cSHAKE (sha3 coppied from "golang.org/x/crypto")
- SM3
- rand/
- CTR_DRBG with AES256 (NIST SP800-90A)
- kem/
- SIKE: version 3 (as per paper on sike.org)
Testing
make test
Licence
WTFPL