-
Notifications
You must be signed in to change notification settings - Fork 37
Testing suite
brycx edited this page Sep 17, 2018
·
34 revisions
This section explains how orion is being tested.
- RFC 4231 test vectors for HMAC
- NIST CAVP HMACVS test vectors (Only test cases where the MAC length matches the digest size)
- KeccakCodePackage test vectors for cSHAKE
- RFC 8439 test vectors for ChaCha20
- BoringSSL test vectors for ChaCha20
- Custom test vectors for PBKDF2. These test vectors have been generated with the cryptography.io Python package. More information here.
- Test vectors from here for HKDF.
- Custom test vectors for HKDF. These test vectors have been generated with the cryptography.io Python package. More information here.
orion is fuzzed using libFuzzer through cargo-fuzz. Fuzzing is done both to detect unwanted behavior but also verify the results. Right now, orion is fuzzed along with ring (amongst others) to see if the results that orion produces match those that ring does.