ofb.hpp
Go to the documentation of this file.
Output Feedback Mode (OFB)
Definition: ofb.hpp:293
policy_type::size_type size_type
Definition: ofb.hpp:300
void encrypt(const void *key, const iv_type &iv, const void *in, void *out, size_type len)
Definition: ofb.hpp:316
policy_type::iv_type iv_type
Definition: ofb.hpp:303
output_feedback_mode(const cipher_type &cipher)
Definition: ofb.hpp:309
policy_type::padding_type padding_type
Definition: ofb.hpp:298
~output_feedback_mode()
Definition: ofb.hpp:312
constexpr static const size_type block_words
Definition: ofb.hpp:306
cipher_type::key_type key_type
Definition: ofb.hpp:302
policy_type::cipher_type cipher_type
Definition: ofb.hpp:297
cipher_type::block_type block_type
Definition: ofb.hpp:307
void decrypt(const void *key, const void *iv, const void *in, void *out, size_type len)
Definition: ofb.hpp:328
constexpr static const size_type block_bits
Definition: ofb.hpp:305
ciphertext_stealing_mode< 0, Cipher, Padding > cts0
Definition: cts.hpp:107
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
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:206
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:203
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:218
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:212
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:222
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:205
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:210
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:214
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:178
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:186
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:190
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:175
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:184
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:194
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:182
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:177
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:246
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:238
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:250
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:233
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:231
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:240
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:234
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:242
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:270
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:259
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:261
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:266
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:274
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:268
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:262
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:278
Definition: ofb.hpp:170
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:97
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:103
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:95
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:99
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:88
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:90
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:91
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:107
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:67
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:71
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:62
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:79
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:63
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:60
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:75
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:69
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:131
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:119
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:116
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:118
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:127
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:125
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:135
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:123
ofb_policy< Cipher, Padding >::iv_type iv_type
Definition: ofb.hpp:153
block_type begin_message(const block_type &plaintext, const iv_type &iv)
Definition: ofb.hpp:155
ofb_policy< Cipher, Padding >::padding_type padding_type
Definition: ofb.hpp:147
block_type process_block(const block_type &plaintext, const block_type &previous)
Definition: ofb.hpp:159
block_type end_message(const block_type &plaintext, const block_type &previous, const iv_type &iv)
Definition: ofb.hpp:163
ofb_policy< Cipher, Padding >::block_type block_type
Definition: ofb.hpp:151
ofb_policy< Cipher, Padding >::cipher_type cipher_type
Definition: ofb.hpp:146
ofb_policy< Cipher, Padding >::size_type size_type
Definition: ofb.hpp:144
Definition: ofb.hpp:55
Definition: ofb.hpp:41
cipher_type::block_type block_type
Definition: ofb.hpp:49
Padding padding_type
Definition: ofb.hpp:45
std::size_t size_type
Definition: ofb.hpp:42
std::vector< boost::uint_t< CHAR_BIT >, Allocator< boost::uint_t< CHAR_BIT > > > iv_type
Definition: ofb.hpp:51
constexpr static const size_type block_words
Definition: ofb.hpp:48
constexpr static const size_type block_bits
Definition: ofb.hpp:47
Definition: ofb.hpp:358
detail::output_feedback_mode< Policy< cipher_type, padding_type > > type
Definition: ofb.hpp:359
Definition: ofb.hpp:347
Padding< Cipher > padding_type
Definition: ofb.hpp:349
detail::ofb_encryption_policy< cipher_type, padding_type, ciphertext_stealing_type > encryption_policy
Definition: ofb.hpp:353
Cipher cipher_type
Definition: ofb.hpp:348
CiphertextStealingMode< Cipher, Padding > ciphertext_stealing_type
Definition: ofb.hpp:350
detail::ofb_decryption_policy< cipher_type, padding_type, ciphertext_stealing_type > decryption_policy
Definition: ofb.hpp:355