]> git.bitcoin.ninja Git - rust-lightning/commit
Stop using rng in peer_channel_encryptor to generate ephemeral keys
authorMatt Corallo <git@bluematt.me>
Fri, 19 Jul 2019 02:17:36 +0000 (22:17 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Jul 2019 18:29:56 +0000 (14:29 -0400)
commit084ef28708765c0b1ecc041e64a125a7090eeed1
treeafdd90dbf14a22af0d705e82a2ccceac492b6b17
parent1650992ec2eb17c3c250ace042526ae56d232aef
Stop using rng in peer_channel_encryptor to generate ephemeral keys

This removes the bulk of our reliance on the rand crate in non-test
envs, paving a way towards a syscall-less rust-lightning and WASM.
Since this is a breaking change for full_stack_target (and several
fuzz targets), go ahead and make other changes to make things more
distinct.
fuzz/fuzz_targets/chanmon_fail_consistency.rs
fuzz/fuzz_targets/full_stack_target.rs
fuzz/fuzz_targets/peer_crypt_target.rs
src/ln/functional_tests.rs
src/ln/peer_channel_encryptor.rs
src/ln/peer_handler.rs