From f30f780cf66c6f8b3522998a0909eaff148365b8 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 1 Apr 2016 14:51:48 +0200 Subject: Fix spelling Credits go to the authors of codespell. Discovered while preparing for a release of 'ohno' an esoteric language based on (ab)using keccak as a compiler. --- doc/info/libkeccak.texinfo | 8 ++++---- src/benchmark.c | 2 +- 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 -- cgit v1.2.3-70-g09d2