RMW desert 5.0.0
Loading...
Searching...
No Matches
security::AeadParams Class Reference

Public Member Functions

 AeadParams (AeadAlgorithms alg)
 Creates the parameter set for an AEAD algorithm.
AeadAlgorithms get_alg () const
 Returns the configured AEAD algorithm.
uint16_t get_key_size () const
 Returns the size of the AEAD key.
uint16_t get_nonce_size () const
 Returns the size of the AEAD nonce.
uint16_t get_tag_size () const
 Returns the size of the AEAD authentication tag.

Constructor & Destructor Documentation

◆ AeadParams()

security::AeadParams::AeadParams ( AeadAlgorithms alg)

Creates the parameter set for an AEAD algorithm.

Parameters
algAEAD algorithm to configure.

Member Function Documentation

◆ get_alg()

AeadAlgorithms security::AeadParams::get_alg ( ) const
inline

Returns the configured AEAD algorithm.

Returns
The selected AEAD algorithm identifier.

◆ get_key_size()

uint16_t security::AeadParams::get_key_size ( ) const
inline

Returns the size of the AEAD key.

Returns
Key size in bytes.

◆ get_nonce_size()

uint16_t security::AeadParams::get_nonce_size ( ) const
inline

Returns the size of the AEAD nonce.

Returns
Nonce size in bytes.

◆ get_tag_size()

uint16_t security::AeadParams::get_tag_size ( ) const
inline

Returns the size of the AEAD authentication tag.

Returns
Authentication-tag size in bytes.

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