Skip to content

Commit

Permalink
Merge pull request #3 from crocs-muni/dev
Browse files Browse the repository at this point in the history
eSTREAM: initialisation of eSTREAM functions added (fixes round reduction)
  • Loading branch information
Bender250 authored Apr 18, 2017
2 parents aee4de0 + 17908e0 commit ccba9f2
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 ccba9f2

Please sign in to comment.