Skip to content

Commit

Permalink
Fix call to curve25519_new_point() for profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Legrandin committed Sep 10, 2024
1 parent ccf67d6 commit 6acee5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curve25519.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ int main(void)
secret[i] = pubkey[i] = (uint8_t)((secret[i-1] << 1) | (secret[i-1] >> 7));
}

res = curve25519_new_point(&Pin, pubkey, 32);
res = curve25519_new_point(&Pin, pubkey, 32, NULL);
if (res) {
printf("Error: %d\n", res);
return res;
Expand Down

0 comments on commit 6acee5e

Please sign in to comment.