plugeth/p2p/discover
Felix Lange 5e86e4ed29
p2p/discover: remove use of shared hash instance for key derivation (#21673)
For some reason, using the shared hash causes a cryptographic incompatibility
when using Go 1.15. I noticed this during the development of Discovery v5.1
when I added test vector verification.

The go library commit that broke this is golang/go@97240d5, but the
way we used HKDF is slightly dodgy anyway and it's not a regression.
2020-10-08 11:19:54 +02:00
..
v4wire p2p/discover: move discv4 encoding to new 'v4wire' package (#21147) 2020-06-02 13:20:19 +02:00
common.go p2p/discover: add initial discovery v5 implementation (#20750) 2020-04-08 09:57:23 +02:00
lookup.go p2p/discover: avoid dropping unverified nodes when table is almost empty (#21396) 2020-08-24 14:42:39 +02:00
node.go p2p/discover: move discv4 encoding to new 'v4wire' package (#21147) 2020-06-02 13:20:19 +02:00
ntp.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
table_test.go p2p/discover: avoid dropping unverified nodes when table is almost empty (#21396) 2020-08-24 14:42:39 +02:00
table_util_test.go p2p/discover: add initial discovery v5 implementation (#20750) 2020-04-08 09:57:23 +02:00
table.go p2p/discover: fix typo in comments (#21554) 2020-09-11 20:35:38 +02:00
v4_lookup_test.go p2p/discover: move discv4 encoding to new 'v4wire' package (#21147) 2020-06-02 13:20:19 +02:00
v4_udp_test.go p2p/discover: avoid dropping unverified nodes when table is almost empty (#21396) 2020-08-24 14:42:39 +02:00
v4_udp.go p2p/discover: avoid dropping unverified nodes when table is almost empty (#21396) 2020-08-24 14:42:39 +02:00
v5_encoding_test.go p2p/discover: add initial discovery v5 implementation (#20750) 2020-04-08 09:57:23 +02:00
v5_encoding.go p2p/discover: remove use of shared hash instance for key derivation (#21673) 2020-10-08 11:19:54 +02:00
v5_session.go p2p/discover: add initial discovery v5 implementation (#20750) 2020-04-08 09:57:23 +02:00
v5_udp_test.go p2p/discover: add helper methods to UDPv5 (#20918) 2020-04-16 15:58:37 +02:00
v5_udp.go p2p/discover: add helper methods to UDPv5 (#20918) 2020-04-16 15:58:37 +02:00