OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_session_id.cpp File Reference
#include "test_common.hpp"
#include <openvpn/common/sess_id.hpp>
#include <openvpn/openssl/util/tokenencrypt.hpp>
#include <unordered_map>
#include <openvpn/ssl/sslchoose.hpp>
Include dependency graph for test_session_id.cpp:

Go to the source code of this file.

Classes

struct  SessionID
 
class  Session
 

Macros

#define ITER   1000
 

Functions

 TEST (Sessid, Test1)
 
 TEST (Sessid, Test2)
 
 TEST (Sessid, Test3)
 
 TEST (Sessid, Test4)
 
 TEST (Sessid, Speed)
 
std::string test (Session *session)
 
 TEST (Sessid, Refscope1)
 
static void tryit (RandomAPI &rng, TokenEncryptDecrypt &encdec)
 
 TEST (Sessid, TokenEncrypt)
 

Macro Definition Documentation

◆ ITER

#define ITER   1000

Definition at line 169 of file test_session_id.cpp.

Function Documentation

◆ TEST() [1/7]

TEST ( Sessid  ,
Refscope1   
)

Definition at line 160 of file test_session_id.cpp.

◆ TEST() [2/7]

TEST ( Sessid  ,
Speed   
)

Definition at line 97 of file test_session_id.cpp.

◆ TEST() [3/7]

TEST ( Sessid  ,
Test1   
)

Definition at line 10 of file test_session_id.cpp.

◆ TEST() [4/7]

TEST ( Sessid  ,
Test2   
)

Definition at line 39 of file test_session_id.cpp.

◆ TEST() [5/7]

TEST ( Sessid  ,
Test3   
)

Definition at line 55 of file test_session_id.cpp.

◆ TEST() [6/7]

TEST ( Sessid  ,
Test4   
)

Definition at line 61 of file test_session_id.cpp.

◆ TEST() [7/7]

TEST ( Sessid  ,
TokenEncrypt   
)

Definition at line 184 of file test_session_id.cpp.

◆ test()

std::string test ( Session session)

Definition at line 153 of file test_session_id.cpp.

◆ tryit()

static void tryit ( RandomAPI rng,
TokenEncryptDecrypt encdec 
)
static

Definition at line 172 of file test_session_id.cpp.

Here is the caller graph for this function: