Browse Source

Merge pull request #2424 from LefterisJP/aes_test_fix

Fix AES Test
cl-refactor
Gav Wood 10 years ago
parent
commit
f37e93b3eb
  1. 2
      test/libdevcrypto/AES.cpp

2
test/libdevcrypto/AES.cpp

@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(AuthenticatedStreamConstructor)
{
cout << "AuthenticatedStreamConstructor" << endl;
Secret const sec("test");
Secret const sec(dev::sha3("test"));
crypto::aes::AuthenticatedStream as(crypto::aes::Encrypt, sec, 0);
BOOST_CHECK(as.getMacInterval() == 0);
as.adjustInterval(1);

Loading…
Cancel
Save