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_APPLECRYPTO_CRYPTO_API_H
13
#define OPENVPN_APPLECRYPTO_CRYPTO_API_H
14
15
#include <
openvpn/applecrypto/crypto/cipher.hpp
>
16
#include <openvpn/applecrypto/crypto/ciphergcm.hpp>
17
#include <
openvpn/applecrypto/crypto/digest.hpp
>
18
#include <
openvpn/applecrypto/crypto/hmac.hpp
>
19
20
namespace
openvpn
{
21
22
// type container for Apple Crypto-level API
23
struct
AppleCryptoAPI
24
{
25
// cipher
26
typedef
AppleCrypto::CipherContext
CipherContext
;
27
typedef
AppleCrypto::CipherContextAEAD
CipherContextAEAD
;
28
29
// digest
30
typedef
AppleCrypto::DigestContext
DigestContext
;
31
32
// HMAC
33
typedef
AppleCrypto::HMACContext
HMACContext
;
34
};
35
}
// namespace openvpn
36
37
#endif
cipher.hpp
digest.hpp
hmac.hpp
openvpn::AppleCrypto::CipherContext
Definition
cipher.hpp:33
openvpn::AppleCrypto::HMACContext
Definition
hmac.hpp:29
openvpn
Definition
ovpncli.cpp:97
openvpn::AppleCryptoAPI
Definition
api.hpp:24
openvpn::AppleCryptoAPI::CipherContextAEAD
AppleCrypto::CipherContextAEAD CipherContextAEAD
Definition
api.hpp:27
openvpn::AppleCryptoAPI::CipherContext
AppleCrypto::CipherContext CipherContext
Definition
api.hpp:26
openvpn::AppleCryptoAPI::HMACContext
AppleCrypto::HMACContext HMACContext
Definition
api.hpp:33
openvpn::AppleCryptoAPI::DigestContext
AppleCrypto::DigestContext DigestContext
Definition
api.hpp:30
openvpn
applecrypto
crypto
api.hpp
Generated by
1.9.8