struct ssh_crypto_struct
#include <include/libssh/crypto.h>
struct ssh_crypto_struct {
// fields
struct ssh_kex_struct client_kex;
void* compress_in_ctx;
void* compress_out_ctx;
unsigned char* decryptIV;
unsigned char* decryptkey;
unsigned char* decryptMAC;
int delayed_compress_in;
int delayed_compress_out;
ssh_string dh_server_signature;
size_t digest_len;
int do_compress_in;
int do_compress_out;
bignum e;
unsigned char* encryptIV;
unsigned char* encryptkey;
unsigned char* encryptMAC;
bignum f;
unsigned char hmacbuf[64];
struct ssh_cipher_struct* in_cipher;
bignum k;
char* kex_methods[SSH_KEX_METHODS];
enum ssh_key_exchange_e kex_type;
enum ssh_mac_e mac_type;
struct ssh_cipher_struct* out_cipher;
enum ssh_hmac_e in_hmac out_hmac;
unsigned char* secret_hash;
struct ssh_kex_struct server_kex;
ssh_string server_pubkey;
const char* server_pubkey_type;
unsigned char* session_id;
bignum x;
bignum y;
};