diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-09-30 13:21:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-09-30 13:21:29 +0000 |
commit | 6b671ee2e7473536db1c9a0215b47f460d0fce88 (patch) | |
tree | 6a11a5bc95d0cff8b0aa0c459d739491fe49bd0a /src/util/crypto_crc.c | |
parent | 10f4f506dba523b124a9bfe8e54fe8c4ad2ec30a (diff) | |
download | gnunet-6b671ee2e7473536db1c9a0215b47f460d0fce88.tar.gz gnunet-6b671ee2e7473536db1c9a0215b47f460d0fce88.zip |
-doxygen, code cleanup
Diffstat (limited to 'src/util/crypto_crc.c')
-rw-r--r-- | src/util/crypto_crc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_crc.c b/src/util/crypto_crc.c index db0b5bf63..386f16138 100644 --- a/src/util/crypto_crc.c +++ b/src/util/crypto_crc.c | |||
@@ -118,7 +118,7 @@ GNUNET_CRYPTO_crc32_n (const void *buf, size_t len) | |||
118 | * @param sum current sum, initially 0 | 118 | * @param sum current sum, initially 0 |
119 | * @param buf buffer to calculate CRC over (must be 16-bit aligned) | 119 | * @param buf buffer to calculate CRC over (must be 16-bit aligned) |
120 | * @param len number of bytes in hdr, must be multiple of 2 | 120 | * @param len number of bytes in hdr, must be multiple of 2 |
121 | * @return updated crc sum (must be subjected to GNUNET_CRYPTO_crc16_finish to get actual crc16) | 121 | * @return updated crc sum (must be subjected to #GNUNET_CRYPTO_crc16_finish() to get actual crc16) |
122 | */ | 122 | */ |
123 | uint32_t | 123 | uint32_t |
124 | GNUNET_CRYPTO_crc16_step (uint32_t sum, const void *buf, size_t len) | 124 | GNUNET_CRYPTO_crc16_step (uint32_t sum, const void *buf, size_t len) |
@@ -133,7 +133,7 @@ GNUNET_CRYPTO_crc16_step (uint32_t sum, const void *buf, size_t len) | |||
133 | 133 | ||
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Convert results from GNUNET_CRYPTO_crc16_step to final crc16. | 136 | * Convert results from #GNUNET_CRYPTO_crc16_step() to final crc16. |
137 | * | 137 | * |
138 | * @param sum cummulative sum | 138 | * @param sum cummulative sum |
139 | * @return crc16 value | 139 | * @return crc16 value |