OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::OvpnHMACInstance Class Referenceabstract

#include <ovpnhmac.hpp>

Inheritance diagram for openvpn::OvpnHMACInstance:
[legend]
Collaboration diagram for openvpn::OvpnHMACInstance:
[legend]

Public Types

typedef RCPtr< OvpnHMACInstancePtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

virtual void init (const StaticKey &key)=0
 
virtual size_t output_size () const =0
 
virtual void ovpn_hmac_gen (unsigned char *data, const size_t data_size, const size_t l1, const size_t l2, const size_t l3)=0
 
virtual bool ovpn_hmac_cmp (const unsigned char *data, const size_t data_size, const size_t l1, const size_t l2, const size_t l3)=0
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 

Detailed Description

Definition at line 139 of file ovpnhmac.hpp.

Member Typedef Documentation

◆ Ptr

Member Function Documentation

◆ init()

virtual void openvpn::OvpnHMACInstance::init ( const StaticKey key)
pure virtual

Implemented in openvpn::CryptoOvpnHMACInstance< CRYPTO_API >.

Here is the caller graph for this function:

◆ output_size()

virtual size_t openvpn::OvpnHMACInstance::output_size ( ) const
pure virtual

Implemented in openvpn::CryptoOvpnHMACInstance< CRYPTO_API >.

Here is the caller graph for this function:

◆ ovpn_hmac_cmp()

virtual bool openvpn::OvpnHMACInstance::ovpn_hmac_cmp ( const unsigned char *  data,
const size_t  data_size,
const size_t  l1,
const size_t  l2,
const size_t  l3 
)
pure virtual

Implemented in openvpn::CryptoOvpnHMACInstance< CRYPTO_API >.

Here is the caller graph for this function:

◆ ovpn_hmac_gen()

virtual void openvpn::OvpnHMACInstance::ovpn_hmac_gen ( unsigned char *  data,
const size_t  data_size,
const size_t  l1,
const size_t  l2,
const size_t  l3 
)
pure virtual

Implemented in openvpn::CryptoOvpnHMACInstance< CRYPTO_API >.

Here is the caller graph for this function:

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