nil::crypto3::block::modes::detail::output_feedback_mode< Policy > Class Template Reference
Output Feedback Mode (OFB) More...
#include <ofb.hpp>
Collaboration diagram for nil::crypto3::block::modes::detail::output_feedback_mode< 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 | |
void | decrypt (const void *key, const void *iv, const void *in, void *out, size_type len) |
void | encrypt (const void *key, const iv_type &iv, const void *in, void *out, size_type len) |
output_feedback_mode (const cipher_type &cipher) | |
~output_feedback_mode () | |
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 |
Detailed Description
template<typename Policy>
class nil::crypto3::block::modes::detail::output_feedback_mode< Policy >
Output Feedback Mode (OFB)
- Template Parameters
-
Cipher Allocator
Member Typedef Documentation
◆ block_type
template<typename Policy >
typedef cipher_type::block_type nil::crypto3::block::modes::detail::output_feedback_mode< Policy >::block_type |
◆ cipher_type
template<typename Policy >
typedef policy_type::cipher_type nil::crypto3::block::modes::detail::output_feedback_mode< Policy >::cipher_type |
◆ iv_type
template<typename Policy >
typedef policy_type::iv_type nil::crypto3::block::modes::detail::output_feedback_mode< Policy >::iv_type |
◆ key_type
template<typename Policy >
typedef cipher_type::key_type nil::crypto3::block::modes::detail::output_feedback_mode< Policy >::key_type |
◆ padding_type
template<typename Policy >
typedef policy_type::padding_type nil::crypto3::block::modes::detail::output_feedback_mode< Policy >::padding_type |
◆ size_type
template<typename Policy >
typedef policy_type::size_type nil::crypto3::block::modes::detail::output_feedback_mode< Policy >::size_type |
Constructor & Destructor Documentation
◆ output_feedback_mode()
template<typename Policy >
|
inline |
◆ ~output_feedback_mode()
template<typename Policy >
|
inline |
Member Function Documentation
◆ decrypt()
template<typename Policy >
|
inline |
◆ encrypt()
template<typename Policy >
|
inline |
Member Data Documentation
◆ block_bits
template<typename Policy >
|
staticconstexpr |
◆ block_words
template<typename Policy >
|
staticconstexpr |
The documentation for this class was generated from the following file: