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_MBEDTLS_CRYPTO_API_H
13
#define OPENVPN_MBEDTLS_CRYPTO_API_H
14
15
#include <
openvpn/mbedtls/crypto/cipher.hpp
>
16
#include <
openvpn/mbedtls/crypto/cipheraead.hpp
>
17
#include <
openvpn/mbedtls/crypto/digest.hpp
>
18
#include <
openvpn/mbedtls/crypto/hmac.hpp
>
19
#include <
openvpn/mbedtls/crypto/tls1prf.hpp
>
20
21
namespace
openvpn
{
22
23
// type container for MbedTLS Crypto-level API
24
struct
MbedTLSCryptoAPI
25
{
26
// cipher
27
typedef
MbedTLSCrypto::CipherContext
CipherContext
;
28
typedef
MbedTLSCrypto::CipherContextAEAD
CipherContextAEAD
;
29
30
// digest
31
typedef
MbedTLSCrypto::DigestContext
DigestContext
;
32
33
// HMAC
34
typedef
MbedTLSCrypto::HMACContext
HMACContext
;
35
36
// TLS 1.0/1.1 PRF function
37
using
TLS1PRF
=
MbedTLSCrypto::TLS1PRF
;
38
};
39
}
// namespace openvpn
40
41
#endif
openvpn::MbedTLSCrypto::CipherContextAEAD
Definition
cipheraead.hpp:30
openvpn::MbedTLSCrypto::CipherContext
Definition
cipher.hpp:109
openvpn::MbedTLSCrypto::DigestContext
Definition
digest.hpp:31
openvpn::MbedTLSCrypto::HMACContext
Definition
hmac.hpp:27
openvpn::MbedTLSCrypto::TLS1PRF
Definition
tls1prf.hpp:18
cipher.hpp
cipheraead.hpp
digest.hpp
hmac.hpp
tls1prf.hpp
openvpn
Definition
ovpncli.cpp:97
openvpn::MbedTLSCryptoAPI
Definition
api.hpp:25
openvpn::MbedTLSCryptoAPI::HMACContext
MbedTLSCrypto::HMACContext HMACContext
Definition
api.hpp:34
openvpn::MbedTLSCryptoAPI::CipherContextAEAD
MbedTLSCrypto::CipherContextAEAD CipherContextAEAD
Definition
api.hpp:28
openvpn::MbedTLSCryptoAPI::DigestContext
MbedTLSCrypto::DigestContext DigestContext
Definition
api.hpp:31
openvpn::MbedTLSCryptoAPI::CipherContext
MbedTLSCrypto::CipherContext CipherContext
Definition
api.hpp:27
openvpn
mbedtls
crypto
api.hpp
Generated by
1.9.8