Skip to content

Commit

Permalink
eSTREAM: initialisation of eSTREAM functions added (fixes round reduc…
Browse files Browse the repository at this point in the history
…tion)
  • Loading branch information
Bender250 committed Apr 18, 2017
1 parent b64aba6 commit 17908e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion streams/estream/estream_cipher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ estream_cipher::estream_cipher(const std::string& name, core::optional<unsigned>
: _ivtype(create_ivtype(ivtype))
, _keytype(create_keytype(keytype))
, _encryptor(create_cipher(name, round))
, _decryptor(create_cipher(name, round)) {}
, _decryptor(create_cipher(name, round)) {
_encryptor->ECRYPT_init();
_decryptor->ECRYPT_init();
}

estream_cipher::estream_cipher(estream_cipher&&) = default;
estream_cipher::~estream_cipher() = default;
Expand Down

0 comments on commit 17908e0

Please sign in to comment.