OpenVPN 3 Core Library
Loading...
Searching...
No Matches
api.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
//
11
12
#ifndef OPENVPN_OPENSSL_CRYPTO_API_H
13
#define OPENVPN_OPENSSL_CRYPTO_API_H
14
15
#include <
openvpn/openssl/crypto/cipher.hpp
>
16
#include <
openvpn/openssl/crypto/cipheraead.hpp
>
17
#include <
openvpn/openssl/crypto/digest.hpp
>
18
#include <
openvpn/openssl/crypto/mac.hpp
>
19
#include <
openvpn/openssl/crypto/tls1prf.hpp
>
20
#include "
tls1prf.hpp
"
21
22
namespace
openvpn
{
23
24
// type container for OpenSSL Crypto-level API
25
struct
OpenSSLCryptoAPI
26
{
27
// cipher
28
typedef
OpenSSLCrypto::CipherContext
CipherContext
;
29
typedef
OpenSSLCrypto::CipherContextAEAD
CipherContextAEAD
;
30
31
// digest
32
typedef
OpenSSLCrypto::DigestContext
DigestContext
;
33
34
// HMAC
35
typedef
OpenSSLCrypto::HMACContext
HMACContext
;
36
37
// TLS 1.0/1.1 PRF function
38
using
TLS1PRF
=
OpenSSLCrypto::TLS1PRF
;
39
};
40
}
// namespace openvpn
41
42
#endif
openvpn::OpenSSLCrypto::CipherContextAEAD
Definition
cipheraead.hpp:31
openvpn::OpenSSLCrypto::CipherContext
Definition
cipher.hpp:32
openvpn::OpenSSLCrypto::DigestContext
Definition
digest.hpp:38
openvpn::OpenSSLCrypto::HMACContext
Definition
hmac-compat.hpp:28
openvpn::OpenSSLCrypto::TLS1PRF
Definition
tls1prf.hpp:27
mac.hpp
openvpn
Definition
ovpncli.cpp:97
cipher.hpp
cipheraead.hpp
digest.hpp
tls1prf.hpp
openvpn::OpenSSLCryptoAPI
Definition
api.hpp:26
openvpn::OpenSSLCryptoAPI::CipherContext
OpenSSLCrypto::CipherContext CipherContext
Definition
api.hpp:28
openvpn::OpenSSLCryptoAPI::DigestContext
OpenSSLCrypto::DigestContext DigestContext
Definition
api.hpp:32
openvpn::OpenSSLCryptoAPI::HMACContext
OpenSSLCrypto::HMACContext HMACContext
Definition
api.hpp:35
openvpn::OpenSSLCryptoAPI::CipherContextAEAD
OpenSSLCrypto::CipherContextAEAD CipherContextAEAD
Definition
api.hpp:29
openvpn
openssl
crypto
api.hpp
Generated by
1.9.8