diff options
author | teor <teor@torproject.org> | 2019-04-05 13:58:23 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-04-05 15:17:08 +1000 |
commit | 0d136a12bbc498991bcb364098021d0532d85ab0 (patch) | |
tree | 3b34999eaabb72fbd71bafeb033f8a58e8b0d79a /src/lib/crypt_ops | |
parent | 1779878f9edbc915fa1cda8a132b321ca0fc55b3 (diff) | |
download | tor-0d136a12bbc498991bcb364098021d0532d85ab0.tar.gz tor-0d136a12bbc498991bcb364098021d0532d85ab0.zip |
crypto_format: Remove outdated comments
(These functions look pretty unified to me.)
Part of 29660.
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r-- | src/lib/crypt_ops/crypto_format.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/crypt_ops/crypto_format.c b/src/lib/crypt_ops/crypto_format.c index 84f73e5272..f37ec1046f 100644 --- a/src/lib/crypt_ops/crypto_format.c +++ b/src/lib/crypt_ops/crypto_format.c @@ -253,7 +253,6 @@ ed25519_signature_from_base64(ed25519_signature_t *sig, /** Base64 encode DIGEST_LINE bytes from <b>digest</b>, remove the trailing = * characters, and store the nul-terminated result in the first * BASE64_DIGEST_LEN+1 bytes of <b>d64</b>. */ -/* XXXX unify with crypto_format.c code */ int digest_to_base64(char *d64, const char *digest) { @@ -267,7 +266,6 @@ digest_to_base64(char *d64, const char *digest) /** Given a base64 encoded, nul-terminated digest in <b>d64</b> (without * trailing newline or = characters), decode it and store the result in the * first DIGEST_LEN bytes at <b>digest</b>. */ -/* XXXX unify with crypto_format.c code */ int digest_from_base64(char *digest, const char *d64) { @@ -280,7 +278,6 @@ digest_from_base64(char *digest, const char *d64) /** Base64 encode DIGEST256_LINE bytes from <b>digest</b>, remove the * trailing = characters, and store the nul-terminated result in the first * BASE64_DIGEST256_LEN+1 bytes of <b>d64</b>. */ - /* XXXX unify with crypto_format.c code */ int digest256_to_base64(char *d64, const char *digest) { @@ -294,7 +291,6 @@ digest256_to_base64(char *d64, const char *digest) /** Given a base64 encoded, nul-terminated digest in <b>d64</b> (without * trailing newline or = characters), decode it and store the result in the * first DIGEST256_LEN bytes at <b>digest</b>. */ -/* XXXX unify with crypto_format.c code */ int digest256_from_base64(char *digest, const char *d64) { |