diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-31 04:45:11 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-31 04:45:11 +0100 |
commit | cfc057a7e8ea858ee286d8f49a8899d4e826c779 (patch) | |
tree | 58c972b635e6d39b9f736fcfa53c9aaec83bdde4 /src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h | |
parent | 738fbdecdccd5667b66fa1f48eeaa1c91dd854da (diff) | |
download | fastd-cfc057a7e8ea858ee286d8f49a8899d4e826c779.tar fastd-cfc057a7e8ea858ee286d8f49a8899d4e826c779.zip |
ec25519-fhmqvc: make the new shared handshake key two hashes long (only the first half is used for now)
Diffstat (limited to 'src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h')
-rw-r--r-- | src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.h | 2 |
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 01903c8..09de925 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; + fastd_sha256_t shared_handshake_key[2]; fastd_sha256_t shared_handshake_key_compat; }; |