mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-08-01 16:17:46 +00:00
Fixed argument order error.
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ int main()
|
||||
getRandomBytes((char *)l_hash, NUM_ECC_DIGITS * sizeof(uint32_t));
|
||||
getRandomBytes((char *)l_random, NUM_ECC_DIGITS * sizeof(uint32_t));
|
||||
|
||||
if(!ecdsa_sign(l_private, l_random, l_hash, r, s))
|
||||
if(!ecdsa_sign(r, s, l_private, l_random, l_hash))
|
||||
{
|
||||
printf("ecdsa_sign() failed\n");
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user