summaryrefslogtreecommitdiff
path: root/tests/cavp-tests/README.md
blob: 958cde1ed451c5c66bc9613f2dd110cb40932eca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)"