added sampling

This commit is contained in:
Jean-Philippe Bossuat
2025-01-05 14:04:10 +01:00
parent 78cc0514ec
commit 4b8427c6b3
17 changed files with 181 additions and 32 deletions

View File

@@ -4,12 +4,14 @@ version = "0.1.0"
edition = "2021"
[dependencies]
num = "0.4.3"
primality-test = "0.3.0"
num-bigint = "0.4.6"
num-traits = "0.2.19"
prime_factorization = "1.0.5"
itertools = "0.13.0"
itertools = "0.14.0"
criterion = "0.5.1"
sampling = { path = "../sampling" }
[[bench]]
name = "ntt"
@@ -21,4 +23,8 @@ harness = false
[[bench]]
name = "ring_rns"
harness = false
[[bench]]
name = "sampling"
harness = false