aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-10-16 17:29:58 -0400
committerPaul Duncan <pabs@pablotron.org>2023-10-16 17:29:58 -0400
commit56e36dfde32647fedc0bf0428d286f8ba6e4e900 (patch)
treefb3ae61fab5bf0df31fc81cecb3ad219995f78f9
parentdaf313260345da8fd1a83f7905768e8e6c419bc9 (diff)
downloadsha3-56e36dfde32647fedc0bf0428d286f8ba6e4e900.tar.bz2
sha3-56e36dfde32647fedc0bf0428d286f8ba6e4e900.zip
sha3.c: clean up intro, remove extraneous newline
-rw-r--r--sha3.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sha3.c b/sha3.c
index 073ee83..00380e2 100644
--- a/sha3.c
+++ b/sha3.c
@@ -5,19 +5,19 @@
* Copyright (c) 2023 Paul Duncan
* SPDX-License-Identifier: MIT-0
*
- * C11 implementations of the following SHA-3 algorithms:
+ * Embeddable, dependency-free, MIT-0-licensed C11 implementation of the
+ * following SHA-3 hash functions, XOFs, and HMACs:
*
- * - SHA3-224, SHA3-256, SHA3-384, SHA3-512
- * - HMAC-SHA3-224, HMAC-SHA3-256, HMAC-SHA3-384, HMAC-SHA3-512
- * - SHAKE128, SHAKE128-XOF, SHAKE256, SHAKE256-XOF
- * - cSHAKE128, cSHAKE128-XOF, cSHAKE256, cSHAKE256-XOF
- * - KMAC128, KMAC128-XOF, KMAC256, KMAC256-XOF
- * - TupleHash128, TupleHash128-XOF, TupleHash256, TupleHash256-XOF
- * - ParallelHash128, ParallelHash128-XOF, ParallelHash256, ParallelHash256-XOF
- * - TurboSHAKE128, TurboSHAKE256
+ * - SHA3-224, SHA3-256, SHA3-384, and SHA3-512
+ * - HMAC-SHA3-224, HMAC-SHA3-256, HMAC-SHA3-384, and HMAC-SHA3-512
+ * - SHAKE128, SHAKE128-XOF, SHAKE256, and SHAKE256-XOF
+ * - cSHAKE128, cSHAKE128-XOF, cSHAKE256, and cSHAKE256-XOF
+ * - KMAC128, KMAC128-XOF, KMAC256, and KMAC256-XOF
+ * - TupleHash128, TupleHash128-XOF, TupleHash256, and TupleHash256-XOF
+ * - ParallelHash128, ParallelHash128-XOF, ParallelHash256, and ParallelHash256-XOF
+ * - TurboSHAKE128 and TurboSHAKE256
* - KangarooTwelve
*/
-
#include <stdbool.h> // true, false
#include <stdint.h> // uint64_t
#include <string.h> // memcpy()