aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː] <maandree@member.fsf.org>2016-04-01 15:31:18 +0200
committerMattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː] <maandree@member.fsf.org>2016-04-01 15:31:18 +0200
commit9225b0e76a1b4eeaab72e89d764e8de5ad88366a (patch)
treef3901acfd914a9be3ea3e331d9ecf58136a923c8
parentprepare dist update (diff)
parentFix spelling (diff)
downloadlibkeccak-9225b0e76a1b4eeaab72e89d764e8de5ad88366a.tar.gz
libkeccak-9225b0e76a1b4eeaab72e89d764e8de5ad88366a.tar.bz2
libkeccak-9225b0e76a1b4eeaab72e89d764e8de5ad88366a.tar.xz
Merge pull request #3 from BenWiederhake/master
Fix spelling
-rw-r--r--doc/info/libkeccak.texinfo8
-rw-r--r--src/benchmark.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/info/libkeccak.texinfo b/doc/info/libkeccak.texinfo
index 702eb0d..799b74d 100644
--- a/doc/info/libkeccak.texinfo
+++ b/doc/info/libkeccak.texinfo
@@ -290,7 +290,7 @@ parameters.
Once the members of a @code{libkeccak_generalised_spec_t} has
been set, it can be converted to a @code{libkeccak_spec_t},
-which is neccessary for using the specifications. When doing
+which is neccssary for using the specifications. When doing
so, automatic values will be given a proper value.
@fnindex libkeccak_degeneralise_spec
@@ -531,7 +531,7 @@ The number of bytes in the message to process.
@end itemize
Note that a part of the message is input, not necessarily
the entire message. The chunks must be input sequentially.
-The funtion returns zero upon success completion. On error,
+The function returns zero upon success completion. On error,
@code{errno} is set to describe the error and @code{-1} is
returned. The input chunk should not be empty.
@@ -581,7 +581,7 @@ where @code{state} is the state variable. Alternatively
it may be @code{NULL}, in which case the hash is not
retrieved.
@end itemize
-The funtion returns zero upon success completion. On error,
+The function returns zero upon success completion. On error,
@code{errno} is set to describe the error and @code{-1} is
returned. The input chunk should not be empty.
@end table
@@ -769,7 +769,7 @@ parameter, rather it returns one.
@fnindex libkeccak_hmac_reset
Resets the sponge and the sets the key, by
calling @code{libkeccak_hmac_set_key}. IT
-has three paramters: pointer to the
+has three parameters: pointer to the
@code{libkeccak_hmac_state_t}, the binary key,
and the length of the key.
The key will not be set if the second
diff --git a/src/benchmark.c b/src/benchmark.c
index 5ea29df..3de00ef 100644
--- a/src/benchmark.c
+++ b/src/benchmark.c
@@ -61,7 +61,7 @@
/**
* Benchmark, will print the number of nanoseconds
* spent with hashing algorithms and representation
- * convertion from binary to hexadecimal. The latter
+ * conversion from binary to hexadecimal. The latter
* can be compiled out by compiling with -DIGNORE_BEHEXING.
*
* @return Zero on success, 1 on error