forked from Cyclic0007/tiny-ECDH-c
Update ecdh.h
This commit is contained in:
4
ecdh.h
4
ecdh.h
@@ -93,6 +93,10 @@ int ecdh_generate_keys(uint8_t* public, uint8_t* private);
|
||||
int ecdh_shared_secret(const uint8_t* private, const uint8_t* others_pub, uint8_t* output);
|
||||
|
||||
|
||||
/* Broken :( .... */
|
||||
int ecdsa_sign(const uint8_t* private, uint8_t* hash, uint8_t* random_k, uint8_t* signature);
|
||||
int ecdsa_verify(const uint8_t* public, uint8_t* hash, const uint8_t* signature);
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user