mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-18 04:00:03 +02:00
src/ec.h: document ec_generate_key()
This commit is contained in:
parent
07a85e732f
commit
0bda9e3f2a
1 changed files with 4 additions and 0 deletions
4
src/ec.h
4
src/ec.h
|
|
@ -35,6 +35,10 @@ struct ec_keypair {
|
|||
ec_pubkey_t pub;
|
||||
};
|
||||
|
||||
/**
|
||||
* Generates a keypair using the secp256k1 curve.
|
||||
* public key is in compressed format.
|
||||
*/
|
||||
int ec_generate_key(struct ec_keypair *pair);
|
||||
|
||||
#endif /* EC_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue