mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-07-30 15:17:46 +00:00
Minor code cleanup.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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" */
|
||||
|
||||
Reference in New Issue
Block a user