|
AES-DH Implementation
|
The namespace for Key-Exchange functions. More...
Functions | |
| uint64_t | compute_intermediary (const uint64_t &p, const uint64_t &g, const uint64_t &k) |
| Compute the intermeidary value to send across the wire. | |
| uint64_t | exchange_keys (const bool &server) |
| Exchange keys on an established connection. | |
The namespace for Key-Exchange functions.
| uint64_t exchange::compute_intermediary | ( | const uint64_t & | p, |
| const uint64_t & | g, | ||
| const uint64_t & | k ) |
Compute the intermeidary value to send across the wire.
| p | The prime. |
| g | The g. |
| k | The private key. |
| uint64_t exchange::exchange_keys | ( | const bool & | server | ) |
Exchange keys on an established connection.
| server | Whether this is the server. |