aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto_format.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-10 10:43:28 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-08 16:47:58 -0500
commit2cdd24ddd69a3cde2deae3eb69c24ae179d83834 (patch)
tree41932796b553f4152be99e6bd46661ca842ea0da /src/common/crypto_format.h
parentae6b73e847c64b7902a259f9f43f056ab41c0eb4 (diff)
downloadtor-2cdd24ddd69a3cde2deae3eb69c24ae179d83834.tar.gz
tor-2cdd24ddd69a3cde2deae3eb69c24ae179d83834.zip
Helper function for logging ed25519 public keys.
Diffstat (limited to 'src/common/crypto_format.h')
-rw-r--r--src/common/crypto_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto_format.h b/src/common/crypto_format.h
index 012e228cc4..86c29d319c 100644
--- a/src/common/crypto_format.h
+++ b/src/common/crypto_format.h
@@ -28,6 +28,7 @@ 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);
+const char *ed25519_fmt(const ed25519_public_key_t *pkey);
/* XXXX move these to crypto_format.h */
#define ED25519_SIG_BASE64_LEN 86