summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-10-31 04:53:19 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-10-31 04:53:19 +0100
commit448abc56cda93e6d424e042b245cb712b6d14938 (patch)
tree312d60f57a71dcb8b967a70ce228909da5885285 /src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h
parentcfc057a7e8ea858ee286d8f49a8899d4e826c779 (diff)
downloadfastd-448abc56cda93e6d424e042b245cb712b6d14938.tar
fastd-448abc56cda93e6d424e042b245cb712b6d14938.zip
Revert "ec25519-fhmqvc: make the new shared handshake key two hashes long (only the first half is used for now)"
This reverts commit cfc057a7e8ea858ee286d8f49a8899d4e826c779.
Diffstat (limited to 'src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h')
-rw-r--r--src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h
index 09de925..01903c8 100644
--- a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h
+++ b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h
@@ -69,7 +69,7 @@ struct fastd_protocol_peer_state {
uint64_t last_handshake_serial;
aligned_int256_t peer_handshake_key;
aligned_int256_t sigma;
- fastd_sha256_t shared_handshake_key[2];
+ fastd_sha256_t shared_handshake_key;
fastd_sha256_t shared_handshake_key_compat;
};