aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libkeccak/digest.c8
-rw-r--r--src/libkeccak/digest.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/libkeccak/digest.c b/src/libkeccak/digest.c
index cc2bd1b..c18556e 100644
--- a/src/libkeccak/digest.c
+++ b/src/libkeccak/digest.c
@@ -330,7 +330,7 @@ void libkeccak_absorption_phase(register libkeccak_state_t* restrict state, regi
* @param rr The bitrate in bytes
* @param nn The output size in bytes, rounded up to whole bytes
* @param ww The word size in bytes
- * @param hashsum Output paramter for the hashsum
+ * @param hashsum Output parameter for the hashsum
*/
static __attribute__((nonnull, nothrow, hot))
void libkeccak_squeezing_phase(register libkeccak_state_t* restrict state, long rr,
@@ -440,7 +440,7 @@ int libkeccak_update(libkeccak_state_t* restrict state, const char* restrict msg
* @param msglen The length of the partial message
* @param bits The number of bits at the end of the message not covered by `msglen`
* @param suffix The suffix concatenate to the message, only '1':s and '0':s, and NUL-termination
- * @param hashsum Output paramter for the hashsum, may be `NULL`
+ * @param hashsum Output parameter for the hashsum, may be `NULL`
* @return Zero on success, -1 on error
*/
int libkeccak_fast_digest(libkeccak_state_t* restrict state, const char* restrict msg, size_t msglen,
@@ -509,7 +509,7 @@ int libkeccak_fast_digest(libkeccak_state_t* restrict state, const char* restric
* @param msglen The length of the partial message
* @param bits The number of bits at the end of the message not covered by `msglen`
* @param suffix The suffix concatenate to the message, only '1':s and '0':s, and NUL-termination
- * @param hashsum Output paramter for the hashsum, may be `NULL`
+ * @param hashsum Output parameter for the hashsum, may be `NULL`
* @return Zero on success, -1 on error
*/
int libkeccak_digest(libkeccak_state_t* restrict state, const char* restrict msg, size_t msglen,
@@ -602,7 +602,7 @@ void libkeccak_fast_squeeze(register libkeccak_state_t* restrict state, register
* Squeeze out another digest
*
* @param state The hashing state
- * @param hashsum Output paramter for the hashsum
+ * @param hashsum Output parameter for the hashsum
*/
void libkeccak_squeeze(register libkeccak_state_t* restrict state, register char* restrict hashsum)
{
diff --git a/src/libkeccak/digest.h b/src/libkeccak/digest.h
index b84370c..e87dc3d 100644
--- a/src/libkeccak/digest.h
+++ b/src/libkeccak/digest.h
@@ -58,7 +58,7 @@ int libkeccak_update(libkeccak_state_t* restrict state, const char* restrict msg
* @param msglen The length of the partial message
* @param bits The number of bits at the end of the message not covered by `msglen`
* @param suffix The suffix concatenate to the message, only '1':s and '0':s, and NUL-termination
- * @param hashsum Output paramter for the hashsum, may be `NULL`
+ * @param hashsum Output parameter for the hashsum, may be `NULL`
* @return Zero on success, -1 on error
*/
__attribute__((nonnull(1)))
@@ -75,7 +75,7 @@ int libkeccak_fast_digest(libkeccak_state_t* restrict state, const char* restric
* @param msglen The length of the partial message
* @param bits The number of bits at the end of the message not covered by `msglen`
* @param suffix The suffix concatenate to the message, only '1':s and '0':s, and NUL-termination
- * @param hashsum Output paramter for the hashsum, may be `NULL`
+ * @param hashsum Output parameter for the hashsum, may be `NULL`
* @return Zero on success, -1 on error
*/
__attribute__((nonnull(1)))
@@ -107,7 +107,7 @@ void libkeccak_fast_squeeze(register libkeccak_state_t* restrict state, register
* Squeeze out another digest
*
* @param state The hashing state
- * @param hashsum Output paramter for the hashsum
+ * @param hashsum Output parameter for the hashsum
*/
__attribute__((nonnull, nothrow))
void libkeccak_squeeze(register libkeccak_state_t* restrict state, register char* restrict hashsum);