|
OpenTTD Source 20251104-master-g3befbdd52f
|
Implementation of the network specific cryptography helpers. More...
#include "../stdafx.h"#include "network_crypto_internal.h"#include "core/packet.h"#include "../3rdparty/monocypher/monocypher.h"#include "../core/random_func.hpp"#include "../debug.h"#include "../string_func.h"#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| class | X25519EncryptionHandler |
| Encryption handler implementation for monocypher encryption after a X25519 key exchange. More... | |
Functions | |
| static void | crypto_wipe (std::span< uint8_t > span) |
Call crypto_wipe for all the data in the given span. | |
Implementation of the network specific cryptography helpers.
Definition in file network_crypto.cpp.
|
static |
Call crypto_wipe for all the data in the given span.
| span | The span to cryptographically wipe. |
Definition at line 26 of file network_crypto.cpp.
References crypto_wipe().
Referenced by crypto_wipe(), X25519DerivedKeys::~X25519DerivedKeys(), X25519EncryptionHandler::~X25519EncryptionHandler(), X25519Key::~X25519Key(), and X25519Nonce::~X25519Nonce().