* Receive the initial nonce for the encrypted connection. * @param p The packet to read the data from. * @return \c true when enough bytes could be read for the nonce, otherwise \c false. */
| 261 | * @return \c true when enough bytes could be read for the nonce, otherwise \c false. |
| 262 | */ |
| 263 | bool X25519AuthenticationHandler::ReceiveEnableEncryption(struct Packet &p) |
| 264 | { |
| 265 | return p.Recv_bytes(this->encryption_nonce) == this->encryption_nonce.size(); |
| 266 | } |
| 267 | |
| 268 | std::unique_ptr<NetworkEncryptionHandler> X25519AuthenticationHandler::CreateClientToServerEncryptionHandler() const |
| 269 | { |
no test coverage detected