nil::crypto3::block::modes::padding::zeros< Cipher > Struct Template Reference
#include <padding.hpp>
Inheritance diagram for nil::crypto3::block::modes::padding::zeros< Cipher >:
Collaboration diagram for nil::crypto3::block::modes::padding::zeros< Cipher >:
Public Types | |
typedef basic_padding< Cipher >::block_type | block_type |
typedef basic_padding< Cipher >::cipher_type | cipher_type |
typedef basic_padding< Cipher >::size_type | size_type |
Static Public Member Functions | |
static block_type | pad (const block_type &block, size_type bytes_in_block) |
static size_type | required_output_size (size_type len, size_type block_size) |
static block_type | unpad (const block_type &block, size_type bytes_in_block) |
Static Public Attributes | |
constexpr static const bool | always_pad = false |
constexpr static const size_type | block_bits = basic_padding<Cipher>::block_bits |
constexpr static const size_type | block_words = basic_padding<Cipher>::block_words |
Detailed Description
template<typename Cipher>
struct nil::crypto3::block::modes::padding::zeros< Cipher >
- Template Parameters
-
Cipher Block cipher used
Member Typedef Documentation
◆ block_type
template<typename Cipher >
typedef basic_padding<Cipher>::block_type nil::crypto3::block::modes::padding::zeros< Cipher >::block_type |
◆ cipher_type
template<typename Cipher >
typedef basic_padding<Cipher>::cipher_type nil::crypto3::block::modes::padding::zeros< Cipher >::cipher_type |
◆ size_type
template<typename Cipher >
typedef basic_padding<Cipher>::size_type nil::crypto3::block::modes::padding::zeros< Cipher >::size_type |
Member Function Documentation
◆ pad()
template<typename Cipher >
|
inlinestatic |
◆ required_output_size()
template<typename Cipher >
|
inlinestatic |
◆ unpad()
template<typename Cipher >
|
inlinestatic |
Member Data Documentation
◆ always_pad
template<typename Cipher >
|
staticconstexpr |
◆ block_bits
template<typename Cipher >
|
staticconstexpr |
◆ block_words
template<typename Cipher >
|
staticconstexpr |
The documentation for this struct was generated from the following file: