Skip to content

Testing suite

brycx edited this page Oct 31, 2018 · 34 revisions

rustc:

orion is always tested with the latest stable and nightly Rust versions.

Official test vectors:

Custom test vectors:

  • PBKDF2: These test vectors have been generated with the cryptography.io Python package. More information here.
  • HKDF: Test vectors from here. Other test vectors from here.

Other test vectors:

Fuzzing

orion is fuzzed using libFuzzer through cargo-fuzz. Fuzzing is done both to detect unwanted behavior but also verify results. Below is a list of other libraries that are used to cross-check the results that orion produces:

Clone this wiki locally