aboutsummaryrefslogtreecommitdiffstats
path: root/libsha1.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:32:29 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:32:29 +0100
commitc91f6038634418dff753c9f037afb6574b02a743 (patch)
treeeab332100804b77a06da9de7b0cba0feeeb95ccc /libsha1.h
parentm (diff)
downloadlibsha1-c91f6038634418dff753c9f037afb6574b02a743.tar.gz
libsha1-c91f6038634418dff753c9f037afb6574b02a743.tar.bz2
libsha1-c91f6038634418dff753c9f037afb6574b02a743.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libsha1.h')
-rw-r--r--libsha1.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsha1.h b/libsha1.h
index c841e85..d6dcadb 100644
--- a/libsha1.h
+++ b/libsha1.h
@@ -77,12 +77,12 @@ struct libsha1_state {
struct libsha1_hmac_state {
/**
- * State of the underlaying hash function
+ * State of the underlying hash function
*/
struct libsha1_state sha1_state;
/**
- * The output size of the underlaying
+ * The output size of the underlying
* hash algorithm, in bits
*/
size_t outsize;
@@ -310,7 +310,7 @@ void libsha1_hmac_update(struct libsha1_hmac_state *restrict, const void *restri
* @param data Data to feed into the algorithm
* @param n The number of bytes to feed into the algorithm
* @param output The output buffer for the hash, it will be as
- * large as for the underlaying hash algorithm
+ * large as for the underlying hash algorithm
*/
#if defined(__GNUC__)
__attribute__((__leaf__, __nonnull__, __nothrow__))