summaryrefslogtreecommitdiff
path: root/sha3.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-10-14 23:46:35 -0400
committerPaul Duncan <pabs@pablotron.org>2023-10-14 23:46:35 -0400
commit2f9af6e95f8c940c303a837ae20f1044e7e93b03 (patch)
treebcab5ced07d1fb0434fab6e4ccb35cefc7db6df0 /sha3.c
parent468d917c1b41a3ed91c00a2e721efbb51fc0938c (diff)
downloadsha3-2f9af6e95f8c940c303a837ae20f1044e7e93b03.tar.bz2
sha3-2f9af6e95f8c940c303a837ae20f1044e7e93b03.zip
sha3.c: compress algorithm list in header comment block, mark entire file as INTERNAL to doxygen
Diffstat (limited to 'sha3.c')
-rw-r--r--sha3.c31
1 files changed, 12 insertions, 19 deletions
diff --git a/sha3.c b/sha3.c
index 526574d..073ee83 100644
--- a/sha3.c
+++ b/sha3.c
@@ -7,25 +7,14 @@
*
* C11 implementations of the following SHA-3 algorithms:
*
- * - SHA3-224
- * - SHA3-256
- * - SHA3-384
- * - SHA3-512
- * - HMAC-SHA3-224
- * - HMAC-SHA3-256
- * - HMAC-SHA3-384
- * - HMAC-SHA3-512
- * - SHAKE128 and SHAKE128-XOF
- * - SHAKE256 and SHAKE256-XOF
- * - cSHAKE128 and cSHAKE128-XOF
- * - cSHAKE256 and cSHAKE256-XOF
- * - KMAC128 and KMAC128-XOF
- * - KMAC256 and KMAC256-XOF
- * - TupleHash128 and TupleHash128-XOF
- * - TupleHash256 and TupleHash256-XOF
- * - ParallelHash128 and ParallelHash128-XOF
- * - ParallelHash256 and ParallelHash256-XOF
- * - TurboSHAKE128 and TurboSHAKE256
+ * - 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
* - KangarooTwelve
*/
@@ -34,6 +23,8 @@
#include <string.h> // memcpy()
#include "sha3.h"
+/** @cond INTERNAL */
+
// 64-bit rotate left
#define ROL(v, n) (((v) << (n)) | ((v) >> (64-(n))))
@@ -7057,3 +7048,5 @@ int main(void) {
}
#endif /* SHA3_TEST */
+
+/** @endcond INTERNAL */