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 170 of file test_session_id.cpp.

Function Documentation

◆ TEST() [1/7]

TEST ( sessid  ,
refscope1   
)

Definition at line 161 of file test_session_id.cpp.

◆ TEST() [2/7]

TEST ( sessid  ,
speed   
)

Definition at line 98 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 185 of file test_session_id.cpp.

◆ test()

std::string test ( Session session)

Definition at line 154 of file test_session_id.cpp.

◆ tryit()

static void tryit ( RandomAPI rng,
TokenEncryptDecrypt encdec 
)
static

Definition at line 173 of file test_session_id.cpp.

Here is the caller graph for this function: