Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
nil::crypto3::block::modes::detail::ccm< Policy > Class Template Reference
#include <ccm.hpp>
Collaboration diagram for nil::crypto3::block::modes::detail::ccm< Policy >:
Public Types | |
typedef policy_type::associated_data_type | associated_data_type |
typedef cipher_type::block_type | block_type |
typedef policy_type::cipher_type | cipher_type |
typedef cipher_type::key_type | key_type |
typedef policy_type::nonce_type | nonce_type |
typedef policy_type::padding_type | padding_type |
Public Member Functions | |
block_type | begin_message (const block_type &plaintext) |
template<typename AssociatedDataContainer > | |
ccm (const cipher_type &cipher, const AssociatedDataContainer &associated_data, const nonce_type &nonce) | |
template<typename AssociatedDataContainer > | |
ccm (const key_type &key, const AssociatedDataContainer &associated_data, const nonce_type &nonce) | |
block_type | end_message (const block_type &plaintext) |
block_type | process_block (const block_type &plaintext) |
Static Public Member Functions | |
static std::size_t | required_output_size (std::size_t inputlen) |
Static Public Attributes | |
constexpr static const std::size_t | block_bits = policy_type::block_bits |
constexpr static const std::size_t | block_words = policy_type::block_words |
constexpr static const std::size_t | key_bits = cipher_type::key_bits |
constexpr static const std::size_t | nonce_bits = policy_type::nonce_bits |
Protected Member Functions | |
template<typename AssociatedDataContainer > | |
void | schedule_associated_data (const AssociatedDataContainer &input_ad) |
Protected Attributes | |
associated_data_type | ad |
cipher_type | cipher |
Member Typedef Documentation
◆ associated_data_type
template<typename Policy >
typedef policy_type::associated_data_type nil::crypto3::block::modes::detail::ccm< Policy >::associated_data_type |
◆ block_type
template<typename Policy >
typedef cipher_type::block_type nil::crypto3::block::modes::detail::ccm< Policy >::block_type |
◆ cipher_type
template<typename Policy >
typedef policy_type::cipher_type nil::crypto3::block::modes::detail::ccm< Policy >::cipher_type |
◆ key_type
template<typename Policy >
typedef cipher_type::key_type nil::crypto3::block::modes::detail::ccm< Policy >::key_type |
◆ nonce_type
template<typename Policy >
typedef policy_type::nonce_type nil::crypto3::block::modes::detail::ccm< Policy >::nonce_type |
◆ padding_type
template<typename Policy >
typedef policy_type::padding_type nil::crypto3::block::modes::detail::ccm< Policy >::padding_type |
Constructor & Destructor Documentation
◆ ccm() [1/2]
template<typename Policy >
template<typename AssociatedDataContainer >
|
inline |
◆ ccm() [2/2]
template<typename Policy >
template<typename AssociatedDataContainer >
|
inline |
Member Function Documentation
◆ begin_message()
template<typename Policy >
|
inline |
◆ end_message()
template<typename Policy >
|
inline |
◆ process_block()
template<typename Policy >
|
inline |
◆ required_output_size()
template<typename Policy >
|
inlinestatic |
◆ schedule_associated_data()
template<typename Policy >
template<typename AssociatedDataContainer >
|
inlineprotected |
Member Data Documentation
◆ ad
template<typename Policy >
|
protected |
◆ block_bits
template<typename Policy >
|
staticconstexpr |
◆ block_words
template<typename Policy >
|
staticconstexpr |
◆ cipher
template<typename Policy >
|
protected |
◆ key_bits
template<typename Policy >
|
staticconstexpr |
◆ nonce_bits
template<typename Policy >
|
staticconstexpr |
The documentation for this class was generated from the following file: