Privkey import/export

This commit is contained in:
Pieter Wuille committed 2013-05-05 05:12:43 +02:00
1 parent 50eb498ece
commit da3038c757
4 files changed
+123

No files matched your search

+7
View File
@@ -90,6 +90,13 @@ int secp256k1_ecdsa_pubkey_create(unsigned char *pubkey, int *pubkeylen, const u
int secp256k1_ecdsa_pubkey_decompress(unsigned char *pubkey, int *pubkeylen);
int secp256k1_ecdsa_privkey_export(const unsigned char *seckey,
unsigned char *privkey, int *privkeylen,
int compressed);
int secp256k1_ecdsa_privkey_import(unsigned char *seckey,
const unsigned char *privkey, int privkeylen);
#ifdef __cplusplus
}
#endif