|
@ -658,9 +658,9 @@ BOOST_AUTO_TEST_CASE(cryptopp_aes128_ctr) |
|
|
BOOST_REQUIRE(text != original); |
|
|
BOOST_REQUIRE(text != original); |
|
|
cipherCopy = text; |
|
|
cipherCopy = text; |
|
|
} |
|
|
} |
|
|
catch(CryptoPP::Exception& e) |
|
|
catch (CryptoPP::Exception& _e) |
|
|
{ |
|
|
{ |
|
|
cerr << e.what() << endl; |
|
|
cerr << _e.what() << endl; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
try |
|
|
try |
|
@ -670,9 +670,9 @@ BOOST_AUTO_TEST_CASE(cryptopp_aes128_ctr) |
|
|
d.ProcessData(out, in, text.size()); |
|
|
d.ProcessData(out, in, text.size()); |
|
|
BOOST_REQUIRE(text == original); |
|
|
BOOST_REQUIRE(text == original); |
|
|
} |
|
|
} |
|
|
catch(CryptoPP::Exception& e) |
|
|
catch (CryptoPP::Exception& _e) |
|
|
{ |
|
|
{ |
|
|
cerr << e.what() << endl; |
|
|
cerr << _e.what() << endl; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -690,9 +690,9 @@ BOOST_AUTO_TEST_CASE(cryptopp_aes128_ctr) |
|
|
// yep, ctr mode.
|
|
|
// yep, ctr mode.
|
|
|
BOOST_REQUIRE(cipherCopy == original); |
|
|
BOOST_REQUIRE(cipherCopy == original); |
|
|
} |
|
|
} |
|
|
catch(CryptoPP::Exception& e) |
|
|
catch (CryptoPP::Exception& _e) |
|
|
{ |
|
|
{ |
|
|
cerr << e.what() << endl; |
|
|
cerr << _e.what() << endl; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|