mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
pr fix
This commit is contained in:
parent
48360a519c
commit
cdfeb725d4
@ -340,8 +340,7 @@ BOOST_AUTO_TEST_CASE(cryptopp_aes128_ctr)
|
|||||||
|
|
||||||
// 68 % 255 should be difference of counter
|
// 68 % 255 should be difference of counter
|
||||||
e.ProcessData(out, in, text.size());
|
e.ProcessData(out, in, text.size());
|
||||||
|
ctr = h128(u128(ctr) + text.size() % 16);
|
||||||
(u128)ctr += (u128)(text.size() % 16);
|
|
||||||
|
|
||||||
BOOST_REQUIRE(text != original);
|
BOOST_REQUIRE(text != original);
|
||||||
cipherCopy = text;
|
cipherCopy = text;
|
||||||
|
Loading…
Reference in New Issue
Block a user