OpenVPN 3 Core Library
Loading...
Searching...
No Matches
TlsCryptV2WkcUnwrapTest Class Reference
Inheritance diagram for TlsCryptV2WkcUnwrapTest:
[legend]
Collaboration diagram for TlsCryptV2WkcUnwrapTest:
[legend]

Protected Member Functions

void SetUp () override
 
BufferAllocated make_wkc_v1_packet (size_t size, uint16_t wkc_len)
 
size_t frame_size () const
 Smallest tls-crypt frame a WKc can follow, from the code under test.
 
uint16_t min_wkc_len () const
 

Protected Attributes

ProtoContext::ProtoConfig::Ptr pcfg
 
TLSCryptInstance::Ptr tls_crypt_server
 

Detailed Description

Definition at line 1548 of file test_proto.cpp.

Member Function Documentation

◆ frame_size()

size_t TlsCryptV2WkcUnwrapTest::frame_size ( ) const
inlineprotected

Smallest tls-crypt frame a WKc can follow, from the code under test.

Definition at line 1590 of file test_proto.cpp.

◆ make_wkc_v1_packet()

BufferAllocated TlsCryptV2WkcUnwrapTest::make_wkc_v1_packet ( size_t  size,
uint16_t  wkc_len 
)
inlineprotected

Definition at line 1574 of file test_proto.cpp.

◆ min_wkc_len()

uint16_t TlsCryptV2WkcUnwrapTest::min_wkc_len ( ) const
inlineprotected

Smallest WKc strip_resent_wkc() accepts, from the code under test: everything a WKc carries besides the key, plus the key it wraps

Definition at line 1597 of file test_proto.cpp.

◆ SetUp()

void TlsCryptV2WkcUnwrapTest::SetUp ( )
inlineoverrideprotected

Definition at line 1554 of file test_proto.cpp.

Member Data Documentation

◆ pcfg

ProtoContext::ProtoConfig::Ptr TlsCryptV2WkcUnwrapTest::pcfg
protected

Definition at line 1551 of file test_proto.cpp.

◆ tls_crypt_server

TLSCryptInstance::Ptr TlsCryptV2WkcUnwrapTest::tls_crypt_server
protected

Definition at line 1552 of file test_proto.cpp.


The documentation for this class was generated from the following file: