diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-05 18:33:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-05 18:33:52 +0000 |
commit | f02be02356a6cedcec2b01d5046e5d5cba0797ad (patch) | |
tree | 1cb0b87b6d886fd4c5db5e8d14807d31b5a67828 /src/common/crypto.h | |
parent | 03ef2156c93523cb548ea20b41e554b939964c29 (diff) | |
download | tor-f02be02356a6cedcec2b01d5046e5d5cba0797ad.tar.gz tor-f02be02356a6cedcec2b01d5046e5d5cba0797ad.zip |
r11639@catbus: nickm | 2007-02-05 13:33:38 -0500
Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition.
svn:r9483
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index f09936ef92..5257fd4318 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -167,7 +167,8 @@ void base32_encode(char *dest, size_t destlen, const char *src, size_t srclen); int digest_to_base64(char *d64, const char *digest); int digest_from_base64(char *digest, const char *d64); -/** DOCDOC */ +/** Length of RFC2440-style S2K specifier: the first 8 bytes are a salt, the + * 9th describes how much iteration to do. */ #define S2K_SPECIFIER_LEN 9 void secret_to_key(char *key_out, size_t key_out_len, const char *secret, size_t secret_len, const char *s2k_specifier); |