aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto_ed25519.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/crypto_ed25519.h')
-rw-r--r--src/common/crypto_ed25519.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/common/crypto_ed25519.h b/src/common/crypto_ed25519.h
index a68f2ec2b1..35f0125993 100644
--- a/src/common/crypto_ed25519.h
+++ b/src/common/crypto_ed25519.h
@@ -69,8 +69,15 @@ int ed25519_checksig_batch(int *okay_out,
int n_checkable);
#endif
+#define ED25519_BASE64_LEN 43
+
+int ed25519_public_from_base64(ed25519_public_key_t *pkey,
+ const char *input);
+int ed25519_public_to_base64(char *output,
+ const ed25519_public_key_t *pkey);
+
/* XXXX write secret keys to disk, load secret keys from disk, read encrypted,
- * write encrypted. serialize public. parse public. */
+ * write encrypted. */
#endif