Minor code cleanup.

This commit is contained in:
Ken MacKay
2015-04-25 15:42:34 -07:00
parent dd195a17ac
commit 5422cf9661
2 changed files with 6 additions and 16 deletions
+2 -2
View File
@@ -2380,12 +2380,12 @@ int uECC_verify(const uint8_t p_publicKey[uECC_BYTES*2], const uint8_t p_hash[uE
return vli_equal(rx, r);
}
int uECC_bytes()
int uECC_bytes(void)
{
return uECC_BYTES;
}
int uECC_curve()
int uECC_curve(void)
{
return uECC_CURVE;
}
+4 -14
View File
@@ -179,24 +179,14 @@ Returns 1 if the public key is valid, 0 if it is invalid.
int uECC_valid_public_key(const uint8_t p_publicKey[uECC_BYTES*2]);
/* uECC_bytes() function.
Return the value of uECC_BYTES. Helpful for foreign-interfaces to higher-level languages.
Inputs:
(none)
Returns the value of uECC_BYTES
Returns the value of uECC_BYTES. Helpful for foreign-interfaces to higher-level languages.
*/
int uECC_bytes();
int uECC_bytes(void);
/* uECC_curve() function.
Return the value of uECC_CURVE. Helpful for foreign-interfaces to higher-level languages.
Inputs:
(none)
Returns the value of uECC_CURVE
Returns the value of uECC_CURVE. Helpful for foreign-interfaces to higher-level languages.
*/
int uECC_curve();
int uECC_curve(void);
#ifdef __cplusplus
} /* end of extern "C" */