mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Require secret for hmac.
This commit is contained in:
parent
9fa0defcc3
commit
8dec48b6a3
@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE(cryptopp_ecdsa_sipaseckp256k1)
|
|||||||
|
|
||||||
bytes m(fromHex("0x01"));
|
bytes m(fromHex("0x01"));
|
||||||
int tests = 5;
|
int tests = 5;
|
||||||
while (m[0]++ && tests--)
|
while (m[0]++, tests--)
|
||||||
{
|
{
|
||||||
h256 hm(sha3(m));
|
h256 hm(sha3(m));
|
||||||
Integer hInt(hm.asBytes().data(), 32);
|
Integer hInt(hm.asBytes().data(), 32);
|
||||||
|
Loading…
Reference in New Issue
Block a user