nim-libp2p-experimental/libp2p/crypto
Jacek Sieka d522537b19
reuse single RNG instance for all crypto key generation (#249)
* reuse single RNG instance for all crypto key generation

* use foolproof rng

* initRng -> newRng (because it's ref)

* fix test

* imports/exports, chat fix

* fix rsa

* imports and exports

* work around threadvar issue

* fixup

* mac workaround test
2020-07-07 13:14:11 +02:00
..
ed25519 reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
chacha20poly1305.nim Use results and no exceptions in chacha and curve25519 (#182) 2020-05-19 10:22:49 +02:00
crypto.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
curve25519.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
ecnist.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
hkdf.nim removals (#159) 2020-05-06 18:31:47 +02:00
minasn1.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
rsa.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
secp.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00