diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-03-31 13:09:12 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-03-31 13:09:12 +0200 |
commit | f2bc5ddbeca144fa79208a5ac6a029da6ed5c10c (patch) | |
tree | 68f67274f3464256d051a4a5376e79a0d578838a /ecp/util/util.h | |
parent | 55474b81146327e8cfa7702fa9366cc7da6562e7 (diff) |
vconn bugfix
Diffstat (limited to 'ecp/util/util.h')
-rw-r--r-- | ecp/util/util.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ecp/util/util.h b/ecp/util/util.h index 631a808..83c4c14 100644 --- a/ecp/util/util.h +++ b/ecp/util/util.h @@ -1,5 +1,8 @@ -int ecp_util_key_save(ECPDHKey *key, char *filename); -int ecp_util_key_load(ECPDHKey *key, char *filename); +int ecp_util_load_key(ecp_ecdh_public_t *public, ecp_ecdh_private_t *private, char *filename); +int ecp_util_save_key(ecp_ecdh_public_t *public, ecp_ecdh_private_t *private, char *filename); -int ecp_util_node_save(ECPNode *node, char *filename); -int ecp_util_node_load(ECPNode *node, char *filename);
\ No newline at end of file +int ecp_util_load_pub(ecp_ecdh_public_t *public, char *filename); +int ecp_util_save_pub(ecp_ecdh_public_t *public, char *filename); + +int ecp_util_load_node(ECPNode *node, char *filename); +int ecp_util_save_node(ECPNode *node, char *filename); |