mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-09-15 21:50:06 +00:00
Added error checking to uECC_compute_public_key.
This commit is contained in:
@@ -186,8 +186,10 @@ Inputs:
|
||||
|
||||
Outputs:
|
||||
p_publicKey - Will be filled in with the corresponding public key
|
||||
|
||||
Returns 1 if the key was computed successfully, 0 if an error occurred.
|
||||
*/
|
||||
void uECC_compute_public_key(const uint8_t p_privateKey[uECC_BYTES], uint8_t p_publicKey[uECC_BYTES * 2]);
|
||||
int uECC_compute_public_key(const uint8_t p_privateKey[uECC_BYTES], uint8_t p_publicKey[uECC_BYTES * 2]);
|
||||
|
||||
|
||||
/* uECC_bytes() function.
|
||||
|
||||
Reference in New Issue
Block a user