File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ rust-version = "1.73"
1414
1515[workspace .dependencies ]
1616clap = { version = " ^4.5.4" , features = [" derive" ] }
17- concrete -ntt = " ^0.1.2 "
17+ tfhe -ntt = " ^0.6.0 "
1818console = " ^0.15.8"
1919criterion = " ^0.5.1"
2020doc-comment = " ^0.3.3"
@@ -28,12 +28,15 @@ ndarray = "^0.15.6"
2828num-bigint = " ^0.4.4"
2929num-bigint-dig = " ^0.8.4"
3030num-traits = " ^0.2.18"
31+ num-complex = { version = " ^0.4.6" , features = [" libm" ] }
3132proptest = " ^1.4.0"
3233prost = " ^0.12.4"
3334prost-build = " ^0.12.3"
35+ pulp = " ^0.21.5"
3436rand = " ^0.8.5"
3537rand_chacha = " ^0.3.1"
3638sha2 = " ^0.10.8"
3739thiserror = " ^1.0.58"
3840zeroize = " ^1.8.0"
3941zeroize_derive = " ^1.4.2"
42+
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ rust-version.workspace = true
1313bench = false # Disable default bench (we use criterion)
1414
1515[features ]
16- concrete -ntt = []
17- concrete -ntt-nightly = [" concrete -ntt/nightly" ]
16+ tfhe -ntt = []
17+ tfhe -ntt-nightly = [" tfhe -ntt/nightly" ]
1818
1919[dependencies ]
2020fhe-traits = { version = " ^0.1.0-beta.8" , path = " ../fhe-traits" }
2121fhe-util = { version = " ^0.1.0-beta.8" , path = " ../fhe-util" }
2222
23- concrete -ntt.workspace = true
23+ tfhe -ntt.workspace = true
2424derivative = " ^2.2.0"
2525ethnum.workspace = true
2626fastdiv.workspace = true
@@ -30,13 +30,14 @@ num-bigint.workspace = true
3030num-bigint-dig.workspace = true
3131num-traits.workspace = true
3232prost.workspace = true
33- pulp = " ^0.18.9 "
33+ pulp.workspace = true
3434rand.workspace = true
3535rand_chacha.workspace = true
3636thiserror.workspace = true
3737zeroize.workspace = true
3838zeroize_derive.workspace = true
3939sha2.workspace = true
40+ num-complex.workspace = true
4041
4142[build-dependencies ]
4243prost-build.workspace = true
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ use fhe_util::is_prime;
44
55mod native;
66
7- #[ cfg( any( feature = "concrete -ntt" , feature = "concrete -ntt-nightly" ) ) ]
8- mod concrete ;
7+ #[ cfg( any( feature = "tfhe -ntt" , feature = "tfhe -ntt-nightly" ) ) ]
8+ mod tfhe ;
99
10- #[ cfg( any( feature = "concrete-ntt" , feature = "concrete-ntt-nightly" ) ) ]
11- pub use concrete:: NttOperator ;
12- #[ cfg( not( any( feature = "concrete-ntt" , feature = "concrete-ntt-nightly" ) ) ) ]
10+ #[ cfg( not( any( feature = "tfhe-ntt" , feature = "tfhe-ntt-nightly" ) ) ) ]
1311pub use native:: NttOperator ;
12+ #[ cfg( any( feature = "tfhe-ntt" , feature = "tfhe-ntt-nightly" ) ) ]
13+ pub use tfhe:: NttOperator ;
1414
1515/// Returns whether a modulus p is prime and supports the Number Theoretic
1616/// Transform of size n.
You can’t perform that action at this time.
0 commit comments