summaryrefslogtreecommitdiffstats
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2012-12-23 23:09:50 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2012-12-23 23:09:50 +0100
commit63c3f0e7368c7286a960c65422513850ce192124 (patch)
tree2267e176dac25d4c9e14512282a4723d94a063d6 /include/libssh/crypto.h
parente934ab0816e871253cd3d0538638f0b7cf98c375 (diff)
downloadlibssh-63c3f0e7368c7286a960c65422513850ce192124.tar.gz
libssh-63c3f0e7368c7286a960c65422513850ce192124.tar.xz
libssh-63c3f0e7368c7286a960c65422513850ce192124.zip
Implement key re-exchange
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index 388a52b..49e07ee 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -65,6 +65,7 @@ struct ssh_crypto_struct {
ssh_string dh_server_signature; /* information used by dh_handshake. */
size_t digest_len; /* len of all the fields below */
unsigned char *session_id;
+ unsigned char *secret_hash; /* Secret hash is same as session id until re-kex */
unsigned char *encryptIV;
unsigned char *decryptIV;
unsigned char *decryptkey;