aboutsummaryrefslogtreecommitdiff
path: root/tests/cavp-tests/README.md
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-02-24 00:47:18 -0500
committerPaul Duncan <pabs@pablotron.org>2024-02-24 00:47:18 -0500
commit9c41faf9bd6fba0cc577d3786883926bf66b2ab0 (patch)
treecf82145eee812eb912d330039b7d30b769096485 /tests/cavp-tests/README.md
parentd2a6b4d8d53d6b35e46e668c308ff30754ce6c1f (diff)
downloadsha3-9c41faf9bd6fba0cc577d3786883926bf66b2ab0.tar.bz2
sha3-9c41faf9bd6fba0cc577d3786883926bf66b2ab0.zip
add tests/cavp-tests
Diffstat (limited to 'tests/cavp-tests/README.md')
-rw-r--r--tests/cavp-tests/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/cavp-tests/README.md b/tests/cavp-tests/README.md
new file mode 100644
index 0000000..958cde1
--- /dev/null
+++ b/tests/cavp-tests/README.md
@@ -0,0 +1,18 @@
+# cavp-tests
+
+Run [Cryptographic Algorithm Validation Program (CAVP)][cavp] tests
+for the following algorithms:
+
+* SHA-3 224
+* SHA-3 256
+* SHA-3 384
+* SHA-3 512
+* SHAKE128
+* SHAKE256
+
+The test functions themselves are in `main.c`, which is generated from
+the [CAVP][] byte test vector archives by `gen-main.rb`. These tests
+are excluded from the tests in `sha3.c` because they are huge.
+
+[cavp]: https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
+ "Cryptographic Algorithm Validation Program (CAVP)"