OpenVPN 3 Core Library
Loading...
Searching...
No Matches
key.hpp
Go to the documentation of this file.
1// OpenVPN -- An application to securely tunnel IP networks
2// over a single port, with support for SSL/TLS-based
3// session authentication and key exchange,
4// packet encryption, packet authentication, and
5// packet compression.
6//
7// Copyright (C) 2012- OpenVPN Inc.
8//
9// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10// Copyright (C) 2020-2022 Lev Stipakov <lev@openvpn.net>
11//
12
13
14#pragma once
15
17
19{
20 const unsigned char *cipher_key;
21 unsigned char nonce_tail[8]; // only AEAD
22 unsigned int cipher_key_size;
23};
24
34
35} // namespace openvpn::KoRekey
unsigned int cipher_alg
Definition key.hpp:32
KeyDirection encrypt
Definition key.hpp:27
KeyDirection decrypt
Definition key.hpp:28
const unsigned char * cipher_key
Definition key.hpp:20
unsigned int cipher_key_size
Definition key.hpp:22
unsigned char nonce_tail[8]
Definition key.hpp:21