OpenTTD Source 20241224-master-gf74b0cf984
X25519Key Struct Reference

Container for a X25519 key that is automatically crypto-wiped when destructed. More...

#include <network_crypto_internal.h>

Inheritance diagram for X25519Key:
X25519PublicKey X25519SecretKey

Public Member Functions

 ~X25519Key ()
 Ensure the key does not get leaked when we're done with it.
 

Detailed Description

Container for a X25519 key that is automatically crypto-wiped when destructed.

Definition at line 25 of file network_crypto_internal.h.

Constructor & Destructor Documentation

◆ ~X25519Key()

X25519Key::~X25519Key ( )

Ensure the key does not get leaked when we're done with it.

Definition at line 136 of file network_crypto.cpp.

References crypto_wipe().


The documentation for this struct was generated from the following files: