aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2012-02-06 02:29:48 -0800
committerRobert Ransom <rransom.8774@gmail.com>2012-02-20 02:47:10 -0800
commitcd029f0ca364c6b39c9774fbe337d3a85d7cb40b (patch)
tree93a0eae380743bedd83b90119c680403c202855a /src/common/crypto.c
parent3a94530595cfb57bdb4e3401d29a8a4d0b638d01 (diff)
downloadtor-cd029f0ca364c6b39c9774fbe337d3a85d7cb40b.tar
tor-cd029f0ca364c6b39c9774fbe337d3a85d7cb40b.tar.gz
Fix crypto_hmac_sha256 documentation comment
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 380dcf0ab..41f81ebd7 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1716,8 +1716,8 @@ crypto_hmac_sha1(char *hmac_out,
}
/** Compute the HMAC-SHA-256 of the <b>msg_len</b> bytes in <b>msg</b>, using
- * the <b>key</b> of length <b>key_len</b>. Store the DIGEST_LEN-byte result
- * in <b>hmac_out</b>.
+ * the <b>key</b> of length <b>key_len</b>. Store the DIGEST256_LEN-byte
+ * result in <b>hmac_out</b>.
*/
void
crypto_hmac_sha256(char *hmac_out,