From f4877920f854b0b361e446d7a6ce91527c4f07ee Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Fri, 16 May 2014 00:11:53 +0000 Subject: Change the handshake wire format. * HMAC-SHA256 -> HMAC-SHA256-128. * Mark/MAC are now both caluclated using Public Key | NodeID. This breaks wire protocol compatibility. --- weighted_dist.go | 1 + 1 file changed, 1 insertion(+) (limited to 'weighted_dist.go') diff --git a/weighted_dist.go b/weighted_dist.go index 3a6d5b0..067adaf 100644 --- a/weighted_dist.go +++ b/weighted_dist.go @@ -38,6 +38,7 @@ import ( "github.com/dchest/siphash" ) +// DrbgSeedLength is the length of the hashDrbg seed. const DrbgSeedLength = 32 // DrbgSeed is the initial state for a hashDrbg. It consists of a SipHash-2-4 -- cgit v1.2.3