From 05fb446f43bd1853e81f77729f0d20084486ffb7 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Tue, 1 May 2018 00:04:09 +0800 Subject: 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} --- src/protocol/internal/fqterm_ssh_buffer.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/protocol/internal/fqterm_ssh_buffer.h') 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(); -- cgit v1.2.3