|
|
@ -110,6 +110,9 @@ int sxt_key_export_priv_file(const sxtkey_t *key, const char *file, const char *
|
|
|
|
int (*ask_passkey)(char *pkbuf, size_t length, int confirm, void *priv),
|
|
|
|
int (*ask_passkey)(char *pkbuf, size_t length, int confirm, void *priv),
|
|
|
|
void *priv);
|
|
|
|
void *priv);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* export a public key to a given file */
|
|
|
|
|
|
|
|
int sxt_key_export_public_file(const sxtkey_t *key, const char *file);
|
|
|
|
|
|
|
|
|
|
|
|
/* key custom hash ops */
|
|
|
|
/* key custom hash ops */
|
|
|
|
/* assign a 64bit hash, 0 mean there are no hash */
|
|
|
|
/* assign a 64bit hash, 0 mean there are no hash */
|
|
|
|
int sxt_key_assign_hash(sxtkey_t *, uint64_t);
|
|
|
|
int sxt_key_assign_hash(sxtkey_t *, uint64_t);
|
|
|
|