mirror of
https://github.com/henrydcase/nobs.git
synced 2024-11-22 15:18:57 +00:00
Kris Kwiatkowski
08f7315b64
* CTR-DRBG doesn't call "NewCipher" for block encryption * Changes API of CTR-DRBG, so that read operation implementes io.Reader Benchmark results: ---------------------- benchmark old ns/op new ns/op delta BenchmarkInit-4 1118 3579 +220.13% BenchmarkRead-4 5343 14589 +173.05% benchmark old allocs new allocs delta BenchmarkInit-4 15 0 -100.00% BenchmarkRead-4 67 0 -100.00% benchmark old bytes new bytes delta BenchmarkInit-4 1824 0 -100.00% BenchmarkRead-4 9488 0 -100.00% |
||
---|---|---|
dh/sidh | ||
drbg | ||
ec/x448 | ||
etc | ||
hash | ||
kem/sike | ||
utils | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
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 except if specified differently in subfolders