diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-05-01 00:04:09 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-05-04 19:46:06 +0800 |
commit | 05fb446f43bd1853e81f77729f0d20084486ffb7 (patch) | |
tree | e58b8ec5920bca6d6028fb31e78fa35b44c9a054 /src/protocol/internal/fqterm_ssh_packet.h | |
parent | dffefc69bf9d0b9754e1a8b1426be9c51c8e5eb1 (diff) | |
download | fqterm-05fb446f43bd1853e81f77729f0d20084486ffb7.tar.xz |
refactor using ssh_session structure
* move computeKey to C code
* Use `mpint_e`, `secret` instead of bn_e, bn_K, drop bn_f
* compute DH image and secret in DH related code
* drop {get,put}{BN2,SSH2BN}
Diffstat (limited to 'src/protocol/internal/fqterm_ssh_packet.h')
-rw-r--r-- | src/protocol/internal/fqterm_ssh_packet.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/protocol/internal/fqterm_ssh_packet.h b/src/protocol/internal/fqterm_ssh_packet.h index 7caa663..83dcac7 100644 --- a/src/protocol/internal/fqterm_ssh_packet.h +++ b/src/protocol/internal/fqterm_ssh_packet.h @@ -50,7 +50,6 @@ class FQTermSSHPacketSender: public QObject { void putString(const char *string, int len = -1); void putRawData(const char *data, int length); void putBN(BIGNUM *bignum); - void putBN2(BIGNUM *bignum); void write(); virtual int getIVSize() const { return cipher->IVSize;} @@ -101,7 +100,6 @@ class FQTermSSHPacketReceiver: public QObject { void *getString(int *length = NULL); void getRawData(char *data, int length); void getBN(BIGNUM *bignum); - void getBN2(BIGNUM *bignum); void consume(int len); virtual int packetDataLen() const { return real_data_len_;} |