ctr.hpp
Go to the documentation of this file.
Definition: ctr.hpp:452
block_type process_block(const block_type &plaintext)
Definition: ctr.hpp:476
static size_type required_output_size(size_type inputlen)
Definition: ctr.hpp:485
cipher_type::key_type key_type
Definition: ctr.hpp:461
block_type begin_message(const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:471
policy_type::padding_type padding_type
Definition: ctr.hpp:457
constexpr static const size_type block_bits
Definition: ctr.hpp:464
cipher_type::block_type block_type
Definition: ctr.hpp:466
constexpr static const size_type block_words
Definition: ctr.hpp:465
policy_type::cipher_type cipher_type
Definition: ctr.hpp:456
counter(const cipher_type &cipher)
Definition: ctr.hpp:468
block_type end_message(const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:481
policy_type::iv_type iv_type
Definition: ctr.hpp:462
policy_type::size_type size_type
Definition: ctr.hpp:459
void pack(InputIterator first, InputIterator last, std::random_access_iterator_tag, OutputIterator out)
Packs elements from the range [first, last) into elements starting from out. Works for input containe...
Definition: block/include/nil/crypto3/detail/pack.hpp:835
boost::mpl::apply< AccumulatorSet, tag::block< Mode > >::type::result_type block(const AccumulatorSet &acc)
Definition: accumulators/block.hpp:259
Definition: pair.hpp:31
Definition: cipher.hpp:38
Definition: cts.hpp:55
Definition: cts.hpp:45
Definition: ctr.hpp:515
detail::counter< Policy< cipher_type, padding_type > > type
Definition: ctr.hpp:516
detail::ctr_encryption_policy< cipher_type, padding_type, ciphertext_stealing_type > encryption_policy
Definition: ctr.hpp:510
detail::ctr_decryption_policy< cipher_type, padding_type, ciphertext_stealing_type > decryption_policy
Definition: ctr.hpp:512
CiphertextStealingMode< Cipher, Padding > ciphertext_stealing_type
Definition: ctr.hpp:507
Padding< Cipher > padding_type
Definition: ctr.hpp:506
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:295
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:306
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:297
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:315
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:293
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:286
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:288
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:289
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:415
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:441
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:419
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:423
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:414
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:432
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:421
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:412
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:373
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:381
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:370
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:379
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:390
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:372
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:399
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:377
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:328
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:335
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:348
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:331
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:357
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:337
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:339
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:330
Definition: ctr.hpp:281
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:180
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:194
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:184
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type(), const iv_type &iv=iv_type())
Definition: ctr.hpp:204
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:176
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:182
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:173
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:175
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type(), const iv_type &iv=iv_type())
Definition: ctr.hpp:259
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:230
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:235
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:228
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:249
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:237
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:231
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:239
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:66
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:72
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:84
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type(), const iv_type &iv=iv_type())
Definition: ctr.hpp:94
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:63
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:65
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:70
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:74
static block_type process_block(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type())
Definition: ctr.hpp:139
ctr_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ctr.hpp:120
static block_type begin_message(const cipher_type &cipher, const block_type &plaintext, const iv_type &iv=iv_type())
Definition: ctr.hpp:129
ctr_policy< Cipher, Padding >::block_type block_type
Definition: ctr.hpp:125
static block_type end_message(const cipher_type &cipher, const block_type &plaintext, const block_type &previous=block_type(), const iv_type &iv=iv_type())
Definition: ctr.hpp:149
ctr_policy< Cipher, Padding >::padding_type padding_type
Definition: ctr.hpp:121
ctr_policy< Cipher, Padding >::size_type size_type
Definition: ctr.hpp:118
ctr_policy< Cipher, Padding >::iv_type iv_type
Definition: ctr.hpp:127
Definition: ctr.hpp:58
Definition: ctr.hpp:44
std::vector< boost::uint_t< CHAR_BIT >, Allocator< boost::uint_t< CHAR_BIT > > > iv_type
Definition: ctr.hpp:54
constexpr static const size_type block_words
Definition: ctr.hpp:51
Padding padding_type
Definition: ctr.hpp:48
std::size_t size_type
Definition: ctr.hpp:45
constexpr static const size_type block_bits
Definition: ctr.hpp:50
cipher_type::block_type block_type
Definition: ctr.hpp:52