|
OpenVPN 3 Core Library
|
#include <iostream>#include "test_common.hpp"#include <openvpn/buffer/buffer.hpp>#include <openvpn/ssl/sslchoose.hpp>#include <openvpn/crypto/cryptoalgs.hpp>#include <openvpn/crypto/crypto_aead.hpp>#include <openvpn/crypto/crypto_aead_epoch.hpp>#include <openvpn/crypto/data_epoch.hpp>#include <openvpn/crypto/cryptodcsel.hpp>#include <cstring>Go to the source code of this file.
Classes | |
| class | DataChannelEpochTest |
| class | EpochTest |
Functions | |
| TEST (crypto, hmac) | |
| static openvpn::Frame::Context | frame_ctx () |
| openvpn::CryptoDCInstance::Ptr | create_dctest_instance (bool use_epoch) |
| void | test_datachannel_crypto (bool use_epoch) |
| TEST (crypto, testEpochIterateKey) | |
| TEST (crypto, epoch_derive_data_keys) | |
| TEST (crypto, aead_cipher_movable) | |
| TEST (crypto, dcaead_data_v2) | |
| TEST (crypto, dcaead_epoch_data) | |
| TEST (crypto, hkdf_expand_testa1) | |
| TEST (crypto, hkdf_expand_testa2) | |
| TEST (crypto, ovpn_label_expand_test) | |
| TEST (crypto, hkdf_expand_testa3) | |
| TEST_F (EpochTest, key_generation) | |
| TEST_F (EpochTest, key_rotation) | |
| TEST_F (EpochTest, key_receive_lookup) | |
| TEST_F (EpochTest, key_overflow) | |
Variables | |
| static uint8_t | testkey [20] = {0x0b, 0x00} |
| static uint8_t | goodhash [20] |
| static const char * | ipsumlorem |
| openvpn::CryptoDCInstance::Ptr create_dctest_instance | ( | bool | use_epoch | ) |
|
static |
| TEST | ( | crypto | , |
| aead_cipher_movable | |||
| ) |
Definition at line 308 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| dcaead_data_v2 | |||
| ) |
Definition at line 351 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| dcaead_epoch_data | |||
| ) |
Definition at line 356 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| epoch_derive_data_keys | |||
| ) |
Definition at line 279 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| hkdf_expand_testa1 | |||
| ) |
Definition at line 362 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| hkdf_expand_testa2 | |||
| ) |
Definition at line 392 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| hkdf_expand_testa3 | |||
| ) |
Definition at line 458 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| hmac | |||
| ) |
Definition at line 39 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| ovpn_label_expand_test | |||
| ) |
Definition at line 437 of file test_crypto.cpp.
| TEST | ( | crypto | , |
| testEpochIterateKey | |||
| ) |
Definition at line 218 of file test_crypto.cpp.
| void test_datachannel_crypto | ( | bool | use_epoch | ) |
| TEST_F | ( | EpochTest | , |
| key_generation | |||
| ) |
Definition at line 543 of file test_crypto.cpp.
| TEST_F | ( | EpochTest | , |
| key_overflow | |||
| ) |
Definition at line 648 of file test_crypto.cpp.
| TEST_F | ( | EpochTest | , |
| key_receive_lookup | |||
| ) |
Definition at line 595 of file test_crypto.cpp.
| TEST_F | ( | EpochTest | , |
| key_rotation | |||
| ) |
Definition at line 553 of file test_crypto.cpp.
|
static |
Definition at line 27 of file test_crypto.cpp.
|
static |
Definition at line 35 of file test_crypto.cpp.
|
static |
Definition at line 26 of file test_crypto.cpp.