aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto_ed25519.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-26 16:09:34 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-28 10:47:47 -0400
commit277c9a3580db20a9814227531431433a37fe55b8 (patch)
tree24b6c5801716e7a64f4bed92822289811a1740ac /src/common/crypto_ed25519.h
parent8f15423b76557b8401aee28dafca810b512bd0e8 (diff)
downloadtor-277c9a3580db20a9814227531431433a37fe55b8.tar.gz
tor-277c9a3580db20a9814227531431433a37fe55b8.zip
Note some functions that should move or be merged
Diffstat (limited to 'src/common/crypto_ed25519.h')
-rw-r--r--src/common/crypto_ed25519.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/crypto_ed25519.h b/src/common/crypto_ed25519.h
index 79b3db8f9a..8ffb9f26f3 100644
--- a/src/common/crypto_ed25519.h
+++ b/src/common/crypto_ed25519.h
@@ -88,13 +88,15 @@ int ed25519_public_blind(ed25519_public_key_t *out,
const ed25519_public_key_t *inp,
const uint8_t *param);
-#define ED25519_BASE64_LEN 43
+/* XXXX move these to crypto_format.h */
+#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 move these to crypto_format.h */
#define ED25519_SIG_BASE64_LEN 86
int ed25519_signature_from_base64(ed25519_signature_t *sig,