chore: test vector generation tool for core algorithms

This commit is contained in:
Nicolas Sarlin
2025-11-17 14:29:10 +01:00
committed by Nicolas Sarlin
parent f45b7a9fdc
commit fc78450245
38 changed files with 670 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
# Test vectors for TFHE
This folder contains test vectors for the core TFHE-rs algorithms.
The test vectors are located in `data`, and are generated using the sample program in `src/main.rs`.
To re-generate the test vectors, assuming you have [rustup](https://rust-lang.org/tools/install/) installed on your system, simply run the following command in the current folder:
```
cargo run --release
```
See [the data folder](data/README.md) for more information about the generated values.