Pos | Name | Type | Size | Offset |
0 | e | bignum | 8 | 0 |
1 | f | bignum | 8 | 8 |
2 | x | bignum | 8 | 16 |
3 | k | bignum | 8 | 24 |
4 | y | bignum | 8 | 32 |
| ecdh_privkey | EC_KEY* | 8 | 40 |
| ecdh_client_pubkey | ssh_string | 8 | 48 |
| ecdh_server_pubkey | ssh_string | 8 | 56 |
| curve25519_privkey | ssh_curve25519_privkey | 32 | 64 |
| curve25519_client_pubkey | ssh_curve25519_pubkey | 32 | 96 |
| curve25519_server_pubkey | ssh_curve25519_pubkey | 32 | 128 |
| dh_server_signature | ssh_string | 8 | 160 |
| digest_len | size_t | 8 | 168 |
5 | session_id | unsigned char[20] unsigned char* | 20 8 | 40 176 |
| secret_hash | unsigned char* | 8 | 184 |
6 | encryptIV | unsigned char[40] unsigned char* | 40 8 | 60 192 |
7 | decryptIV | unsigned char[40] unsigned char* | 40 8 | 100 200 |
8 | decryptkey | unsigned char[40] unsigned char* | 40 8 | 140 208 |
9 | encryptkey | unsigned char[40] unsigned char* | 40 8 | 180 216 |
10 | encryptMAC | unsigned char[20] unsigned char* | 20 8 | 220 224 |
11 | decryptMAC | unsigned char[20] unsigned char* | 20 8 | 240 232 |
12 | hmacbuf | unsigned char[64] | 64 | 260 240 |
13 | in_cipher | struct crypto_struct* struct ssh_cipher_struct* | 8 | 328 304 |
14 | out_cipher | struct crypto_struct* struct ssh_cipher_struct* | 8 | 336 312 |
15 | server_pubkey | ssh_string | 8 | 344 320 |
16 | server_pubkey_type | char const* | 8 | 352 328 |
17 | do_compress_out | int | 4 | 360 336 |
18 | do_compress_in | int | 4 | 364 340 |
19 | delayed_compress_in | int | 4 | 368 344 |
20 | delayed_compress_out | int | 4 | 372 348 |
21 | compress_out_ctx | void* | 8 | 376 352 |
22 | compress_in_ctx | void* | 8 | 384 360 |
| server_kex | struct ssh_kex_struct | 96 | 368 |
| client_kex | struct ssh_kex_struct | 96 | 464 |
| kex_methods | char*[10] | 80 | 560 |
| kex_type | enum ssh_key_exchange_e | 4 | 640 |
| mac_type | enum ssh_mac_e | 4 | 644 |