mirror of
https://github.com/arnaucube/fhe-study.git
synced 2026-01-24 04:33:52 +01:00
* arith: get rid of constant generics. Reason: using constant generics was great for allocating the arrays in the stack, which is faster, but when started to use bigger parameter values, in some cases it was overflowing the stack. This commit removes all the constant generics in all of the `arith` crate, which in some cases slows a bit the performance, but allows for bigger parameter values (on the ones that affect lengths, like N and K). * bfv: get rid of constant generics (reason in previous commit) * ckks: get rid of constant generics (reason in two commits ago) * group ring params under a single struct * gfhe: get rid of constant generics * tfhe: get rid of constant generics * polish & clean a bit * add methods for encoding constants for ct-pt-multiplication
20 lines
536 B
TOML
20 lines
536 B
TOML
[package]
|
|
name = "arith"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
rand = { workspace = true }
|
|
rand_distr = { workspace = true }
|
|
itertools = { workspace = true }
|
|
lazy_static = "1.5.0"
|
|
|
|
# TMP: the next 4 imports are TMP, to solve systems of linear equations. Used
|
|
# for the CKKS encoding step, probably remvoed once in ckks the encoding is done
|
|
# as in 2018-1043 or 2018-1073.
|
|
num = "0.4.3"
|
|
num-complex = "0.4.6"
|
|
ndarray = "0.16.1"
|
|
ndarray-linalg = { version = "0.17.0", features = ["intel-mkl"] }
|