aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerkeys.c
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2016-09-21 19:41:10 +0000
committerNick Mathewson <nickm@torproject.org>2016-11-03 08:40:10 -0400
commit19abc2eae77c2d943ab5ad2f33fde56117bac70a (patch)
tree86b3bb8775490e555a2573f222cde1de75d6df84 /src/or/routerkeys.c
parenta53059c6a0398bf2a74e08c3902e8a994e5fa120 (diff)
downloadtor-19abc2eae77c2d943ab5ad2f33fde56117bac70a.tar.gz
tor-19abc2eae77c2d943ab5ad2f33fde56117bac70a.zip
Mark some functions as needing documentation in src/or/routerkeys.c.
Diffstat (limited to 'src/or/routerkeys.c')
-rw-r--r--src/or/routerkeys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c
index 0aeb2f92d4..f5477ca0ef 100644
--- a/src/or/routerkeys.c
+++ b/src/or/routerkeys.c
@@ -19,6 +19,7 @@
#define ENC_KEY_HEADER "Boxed Ed25519 key"
#define ENC_KEY_TAG "master"
+/* DOCDOC */
static ssize_t
do_getpass(const char *prompt, char *buf, size_t buflen,
int twice, const or_options_t *options)
@@ -85,6 +86,7 @@ do_getpass(const char *prompt, char *buf, size_t buflen,
return length;
}
+/* DOCDOC */
int
read_encrypted_secret_key(ed25519_secret_key_t *out,
const char *fname)
@@ -157,6 +159,7 @@ read_encrypted_secret_key(ed25519_secret_key_t *out,
return r;
}
+/* DOCDOC */
int
write_encrypted_secret_key(const ed25519_secret_key_t *key,
const char *fname)
@@ -200,6 +203,7 @@ write_encrypted_secret_key(const ed25519_secret_key_t *key,
return r;
}
+/* DOCDOC */
static int
write_secret_key(const ed25519_secret_key_t *key, int encrypted,
const char *fname,