ecb.hpp
Go to the documentation of this file.
Definition: ecb.hpp:298
electronic_code_book(const cipher_type &c)
Definition: ecb.hpp:311
constexpr static const unsigned int block_size
Definition: ecb.hpp:331
policy_type::cipher_type cipher_type
Definition: ecb.hpp:302
constexpr static const std::size_t block_bits
Definition: ecb.hpp:307
block_type end_message(const block_type &plaintext)
Definition: ecb.hpp:322
cipher_type::block_type block_type
Definition: ecb.hpp:309
block_type begin_message(const block_type &plaintext)
Definition: ecb.hpp:314
constexpr static const unsigned int key_length
Definition: ecb.hpp:330
block_type process_block(const block_type &plaintext)
Definition: ecb.hpp:318
policy_type::padding_type padding_type
Definition: ecb.hpp:303
size_type required_output_size(size_type inputlen) const
Definition: ecb.hpp:326
policy_type::size_type size_type
Definition: ecb.hpp:305
constexpr static const std::size_t block_words
Definition: ecb.hpp:308
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
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:250
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:245
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:243
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:246
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:256
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:260
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:252
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:196
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:190
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:189
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:204
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:194
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:200
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:187
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:224
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:217
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:218
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:222
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:215
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:228
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:232
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:284
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:273
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:280
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:278
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:271
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:274
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:288
Definition: ecb.hpp:182
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:98
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:100
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:91
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:94
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:108
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:93
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:104
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:124
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:122
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:135
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:131
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:125
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:139
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:129
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:160
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:155
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:156
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:166
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:170
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:153
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:162
ecb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ecb.hpp:62
block_type end_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:77
block_type process_block(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:73
ecb_policy< Cipher, Padding >::size_type size_type
Definition: ecb.hpp:60
block_type begin_message(const cipher_type &cipher, const block_type &plaintext)
Definition: ecb.hpp:69
ecb_policy< Cipher, Padding >::block_type block_type
Definition: ecb.hpp:67
ecb_policy< Cipher, Padding >::padding_type padding_type
Definition: ecb.hpp:63
Definition: ecb.hpp:55
Definition: ecb.hpp:43
constexpr static const size_type block_words
Definition: ecb.hpp:50
cipher_type::block_type block_type
Definition: ecb.hpp:51
constexpr static const size_type block_bits
Definition: ecb.hpp:49
std::size_t size_type
Definition: ecb.hpp:44
Padding padding_type
Definition: ecb.hpp:47
Definition: ecb.hpp:358
detail::electronic_code_book< Policy< cipher_type, padding_type > > type
Definition: ecb.hpp:359
Electronic Code Book Mode (ECB)
Definition: ecb.hpp:347
Padding< Cipher > padding_type
Definition: ecb.hpp:349
detail::ecb_decryption_policy< cipher_type, padding_type, ciphertext_stealing_type > decryption_policy
Definition: ecb.hpp:355
detail::ecb_encryption_policy< cipher_type, padding_type, ciphertext_stealing_type > encryption_policy
Definition: ecb.hpp:353
CiphertextStealingMode< Cipher, Padding< Cipher > > ciphertext_stealing_type
Definition: ecb.hpp:350
Cipher cipher_type
Definition: ecb.hpp:348