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_buffer.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_buffer.h')
-rw-r--r-- | src/protocol/internal/fqterm_ssh_buffer.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/protocol/internal/fqterm_ssh_buffer.h b/src/protocol/internal/fqterm_ssh_buffer.h index e06872f..0525557 100644 --- a/src/protocol/internal/fqterm_ssh_buffer.h +++ b/src/protocol/internal/fqterm_ssh_buffer.h @@ -62,9 +62,6 @@ class FQTermSSHBuffer { void putSSH1BN(BIGNUM *bignum); void getSSH1BN(BIGNUM *bignum); - void putSSH2BN(BIGNUM *bignum); - void getSSH2BN(BIGNUM *bignum); - void putInt(u_int data); u_int getInt(); |