uECC_verify: fix prototype to indicate public_key

The prototype incorrectly used 'private_key' as the name
of the first argument (rather than 'public_key').  Docs and
function definition were already correctly using 'public_key'
This commit is contained in:
Andrew Ruder
2015-12-23 09:44:06 -06:00
parent 6b0566beb6
commit 0d853de6d1
+1 -1
View File
@@ -317,7 +317,7 @@ Inputs:
Returns 1 if the signature is valid, 0 if it is invalid.
*/
int uECC_verify(const uint8_t *private_key,
int uECC_verify(const uint8_t *public_key,
const uint8_t *message_hash,
unsigned hash_size,
const uint8_t *signature,