diff --git a/dieharder_run.log b/dieharder_run.log new file mode 100644 index 0000000000..4a84e7a794 --- /dev/null +++ b/dieharder_run.log @@ -0,0 +1,10 @@ +seed=Seed(40341300011505446291499474482688097168) +#=============================================================================# +# dieharder version 3.31.1 Copyright 2003 Robert G. Brown # +#=============================================================================# + rng_name |rands/second| Seed | +stdin_input_raw| 3.29e+07 |2141281263| +#=============================================================================# + test_name |ntup| tsamples |psamples| p-value |Assessment +#=============================================================================# + diehard_operm5| 0| 1000000| 100|0.06190044| PASSED diff --git a/tfhe/Cargo.toml b/tfhe/Cargo.toml index 1ec6298afa..a837e9a64f 100644 --- a/tfhe/Cargo.toml +++ b/tfhe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tfhe" -version = "0.3.1" +version = "0.3.2" edition = "2021" readme = "../README.md" keywords = ["fully", "homomorphic", "encryption", "fhe", "cryptography"] diff --git a/tfhe/docs/core_crypto/tutorial.md b/tfhe/docs/core_crypto/tutorial.md index b8eea11d25..267e95b66d 100644 --- a/tfhe/docs/core_crypto/tutorial.md +++ b/tfhe/docs/core_crypto/tutorial.md @@ -9,7 +9,7 @@ Welcome to this tutorial about `TFHE-rs` `core_crypto` module. To use `TFHE-rs`, it first has to be added as a dependency in the `Cargo.toml`: ```toml -tfhe = { version = "0.3.1", features = [ "x86_64-unix" ] } +tfhe = { version = "0.3.2", features = [ "x86_64-unix" ] } ``` This enables the `x86_64-unix` feature to have efficient implementations of various algorithms for `x86_64` CPUs on a Unix-like system. The 'unix' suffix indicates that the `UnixSeeder`, which uses `/dev/random` to generate random numbers, is activated as a fallback if no hardware number generator is available (like `rdseed` on `x86_64` or if the [`Randomization Services`](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) on Apple platforms are not available). To avoid having the `UnixSeeder` as a potential fallback or to run on non-Unix systems (e.g., Windows), the `x86_64` feature is sufficient. @@ -19,19 +19,19 @@ For Apple Silicon, the `aarch64-unix` or `aarch64` feature should be enabled. `a In short: For `x86_64`-based machines running Unix-like OSes: ```toml -tfhe = { version = "0.3.1", features = ["x86_64-unix"] } +tfhe = { version = "0.3.2", features = ["x86_64-unix"] } ``` For Apple Silicon or aarch64-based machines running Unix-like OSes: ```toml -tfhe = { version = "0.3.1", features = ["aarch64-unix"] } +tfhe = { version = "0.3.2", features = ["aarch64-unix"] } ``` For `x86_64`-based machines with the [`rdseed instruction`](https://en.wikipedia.org/wiki/RDRAND) running Windows: ```toml -tfhe = { version = "0.3.1", features = ["x86_64"] } +tfhe = { version = "0.3.2", features = ["x86_64"] } ``` ### Commented code to double a 2-bit message in a leveled fashion and using a PBS with the `core_crypto` module. diff --git a/tfhe/docs/getting_started/installation.md b/tfhe/docs/getting_started/installation.md index 22f99e1d0c..b3b47ce6d8 100644 --- a/tfhe/docs/getting_started/installation.md +++ b/tfhe/docs/getting_started/installation.md @@ -7,7 +7,7 @@ To use `TFHE-rs` in your project, you first need to add it as a dependency in your `Cargo.toml`: ```toml -tfhe = { version = "0.3.1", features = [ "boolean", "shortint", "integer", "x86_64-unix" ] } +tfhe = { version = "0.3.2", features = [ "boolean", "shortint", "integer", "x86_64-unix" ] } ``` {% hint style="success" %} diff --git a/tfhe/docs/getting_started/quick_start.md b/tfhe/docs/getting_started/quick_start.md index 4367b47948..4aaaab11e2 100644 --- a/tfhe/docs/getting_started/quick_start.md +++ b/tfhe/docs/getting_started/quick_start.md @@ -46,7 +46,7 @@ fn main() { The default configuration for x86 Unix machines: ```toml -tfhe = { version = "0.3.1", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.3.2", features = ["integer", "x86_64-unix"]} ``` Configuration options for different platforms can be found [here](../getting_started/installation.md). Other rust and homomorphic types features can be found [here](../how_to/rust_configuration.md). diff --git a/tfhe/docs/how_to/serialization.md b/tfhe/docs/how_to/serialization.md index 1c7e460cec..4c74e6768e 100644 --- a/tfhe/docs/how_to/serialization.md +++ b/tfhe/docs/how_to/serialization.md @@ -11,7 +11,7 @@ To serialize our data, a [data format](https://serde.rs/#data-formats) should be [dependencies] # ... -tfhe = { version = "0.3.1", features = ["integer","x86_64-unix"]} +tfhe = { version = "0.3.2", features = ["integer","x86_64-unix"]} bincode = "1.3.3" ``` diff --git a/tfhe/docs/tutorials/latin_fhe_string.md b/tfhe/docs/tutorials/latin_fhe_string.md index 23e5027b58..19f40a863f 100644 --- a/tfhe/docs/tutorials/latin_fhe_string.md +++ b/tfhe/docs/tutorials/latin_fhe_string.md @@ -48,7 +48,7 @@ To use the `FheUint8` type, the `integer` feature must be activated: [dependencies] # Default configuration for x86 Unix machines: -tfhe = { version = "0.3.1", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.3.2", features = ["integer", "x86_64-unix"]} ``` Other configurations can be found [here](../getting_started/installation.md). diff --git a/tfhe/docs/tutorials/parity_bit.md b/tfhe/docs/tutorials/parity_bit.md index 8da305cde6..675da4163b 100644 --- a/tfhe/docs/tutorials/parity_bit.md +++ b/tfhe/docs/tutorials/parity_bit.md @@ -21,7 +21,7 @@ To use Booleans, the `booleans` feature in our Cargo.toml must be enabled: # Cargo.toml # Default configuration for x86 Unix machines: -tfhe = { version = "0.3.1", features = ["boolean", "x86_64-unix"]} +tfhe = { version = "0.3.2", features = ["boolean", "x86_64-unix"]} ``` Other configurations can be found [here](../getting_started/installation.md).