Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Attributes |
List of all members
nil::crypto3::block::modes::detail::counter< Policy > Class Template Reference
#include <ctr.hpp>
Collaboration diagram for nil::crypto3::block::modes::detail::counter< Policy >:
Public Types | |
typedef cipher_type::block_type | block_type |
typedef policy_type::cipher_type | cipher_type |
typedef policy_type::iv_type | iv_type |
typedef cipher_type::key_type | key_type |
typedef policy_type::padding_type | padding_type |
typedef policy_type::size_type | size_type |
Public Member Functions | |
block_type | begin_message (const block_type &plaintext, const iv_type &iv=iv_type()) |
counter (const cipher_type &cipher) | |
block_type | end_message (const block_type &plaintext, const iv_type &iv=iv_type()) |
block_type | process_block (const block_type &plaintext) |
Static Public Member Functions | |
static size_type | required_output_size (size_type inputlen) |
Static Public Attributes | |
constexpr static const size_type | block_bits = policy_type::block_bits |
constexpr static const size_type | block_words = policy_type::block_words |
Protected Attributes | |
cipher_type | cipher |
block_type | previous |
Member Typedef Documentation
◆ block_type
template<typename Policy >
typedef cipher_type::block_type nil::crypto3::block::modes::detail::counter< Policy >::block_type |
◆ cipher_type
template<typename Policy >
typedef policy_type::cipher_type nil::crypto3::block::modes::detail::counter< Policy >::cipher_type |
◆ iv_type
template<typename Policy >
typedef policy_type::iv_type nil::crypto3::block::modes::detail::counter< Policy >::iv_type |
◆ key_type
template<typename Policy >
typedef cipher_type::key_type nil::crypto3::block::modes::detail::counter< Policy >::key_type |
◆ padding_type
template<typename Policy >
typedef policy_type::padding_type nil::crypto3::block::modes::detail::counter< Policy >::padding_type |
◆ size_type
template<typename Policy >
typedef policy_type::size_type nil::crypto3::block::modes::detail::counter< Policy >::size_type |
Constructor & Destructor Documentation
◆ counter()
template<typename Policy >
|
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 |
Member Data Documentation
◆ block_bits
template<typename Policy >
|
staticconstexpr |
◆ block_words
template<typename Policy >
|
staticconstexpr |
◆ cipher
template<typename Policy >
|
protected |
◆ previous
template<typename Policy >
|
protected |
The documentation for this class was generated from the following file: