OpenTTD Source: X25519Key Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions
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:

## 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:

- src/network/network_crypto_internal.h
- src/network/network_crypto.cpp