From 7cbe12d9a2bbc68a6535fb96e19821134fdb8d3e Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Tue, 8 Oct 2024 12:35:10 +0200 Subject: [PATCH] chore(tfhe): bump version to 0.8.2 --- tfhe/Cargo.toml | 2 +- tfhe/docs/fundamentals/serialization.md | 2 +- tfhe/docs/getting_started/benchmarks/summary.md | 2 +- tfhe/docs/getting_started/installation.md | 4 ++-- tfhe/docs/getting_started/quick_start.md | 4 ++-- tfhe/docs/guides/array.md | 2 +- tfhe/docs/guides/data_versioning.md | 2 +- tfhe/docs/guides/run_on_gpu.md | 4 ++-- tfhe/docs/references/core-crypto-api/tutorial.md | 8 ++++---- tfhe/docs/tutorials/ascii_fhe_string.md | 2 +- tfhe/docs/tutorials/parity_bit.md | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tfhe/Cargo.toml b/tfhe/Cargo.toml index 16daf86626..39493b74a8 100644 --- a/tfhe/Cargo.toml +++ b/tfhe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tfhe" -version = "0.8.1" +version = "0.8.2" edition = "2021" readme = "../README.md" keywords = ["fully", "homomorphic", "encryption", "fhe", "cryptography"] diff --git a/tfhe/docs/fundamentals/serialization.md b/tfhe/docs/fundamentals/serialization.md index 3172ca2b93..7a03797c77 100644 --- a/tfhe/docs/fundamentals/serialization.md +++ b/tfhe/docs/fundamentals/serialization.md @@ -15,7 +15,7 @@ Here is a full example: [dependencies] # ... -tfhe = { version = "0.8.1", features = ["integer", "x86_64-unix"] } +tfhe = { version = "0.8.2", features = ["integer", "x86_64-unix"] } bincode = "1.3.3" ``` diff --git a/tfhe/docs/getting_started/benchmarks/summary.md b/tfhe/docs/getting_started/benchmarks/summary.md index 46bc8292ef..dcb85db2af 100644 --- a/tfhe/docs/getting_started/benchmarks/summary.md +++ b/tfhe/docs/getting_started/benchmarks/summary.md @@ -2,7 +2,7 @@ This document summarizes the timings of some homomorphic operations over 64-bit encrypted integers, depending on the hardware. More details are given for [the CPU](cpu\_benchmarks.md), [the GPU](gpu\_benchmarks.md), or [zeros-knowledge proofs](zk\_proof\_benchmarks.md). -You can get the parameters used for benchmarks by cloning the repository and checking out the commit you want to use (starting with the v0.8.0 release) and run the following make command: +You can get the parameters used for benchmarks by cloning the repository and checking out the commit you want to use (starting with the v0.8.2 release) and run the following make command: ```console make print_doc_bench_parameters diff --git a/tfhe/docs/getting_started/installation.md b/tfhe/docs/getting_started/installation.md index aa71c8e0b9..e966faa4b1 100644 --- a/tfhe/docs/getting_started/installation.md +++ b/tfhe/docs/getting_started/installation.md @@ -9,13 +9,13 @@ First, add **TFHE-rs** as a dependency in your `Cargo.toml`. **For `x86_64` machine running a Unix-like OS:** ```toml -tfhe = { version = "0.8.1", features = [ "boolean", "shortint", "integer", "x86_64-unix" ] } +tfhe = { version = "0.8.2", features = [ "boolean", "shortint", "integer", "x86_64-unix" ] } ``` **For `ARM` machine running a Unix-like OS:** ```toml -tfhe = { version = "0.8.1", features = [ "boolean", "shortint", "integer", "aarch64-unix" ] } +tfhe = { version = "0.8.2", features = [ "boolean", "shortint", "integer", "aarch64-unix" ] } ``` **For `x86_64` machines with the** [**`rdseed instruction`**](https://en.wikipedia.org/wiki/RDRAND) **running Windows:** diff --git a/tfhe/docs/getting_started/quick_start.md b/tfhe/docs/getting_started/quick_start.md index 02666c0d4a..8b28f96881 100644 --- a/tfhe/docs/getting_started/quick_start.md +++ b/tfhe/docs/getting_started/quick_start.md @@ -59,7 +59,7 @@ edition = "2021" For x86 Unix systems, add the following configuration to include **TFHE-rs**: ```toml -tfhe = { version = "0.8.0", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.8.2", features = ["integer", "x86_64-unix"]} ``` Your updated `Cargo.toml` file should look like this: @@ -71,7 +71,7 @@ version = "0.1.0" edition = "2021" [dependencies] -tfhe = { version = "0.8.0", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.8.2", features = ["integer", "x86_64-unix"]} ``` If you are on a different platform please refer to the [installation documentation](installation.md) for configuration options of other supported platforms. diff --git a/tfhe/docs/guides/array.md b/tfhe/docs/guides/array.md index d3e7e6e1e3..898172c725 100644 --- a/tfhe/docs/guides/array.md +++ b/tfhe/docs/guides/array.md @@ -19,7 +19,7 @@ The following example shows a complete workflow of working with encrypted arrays # Cargo.toml [dependencies] -tfhe = { version = "0.8.1", features = ["integer", "x86_64-unix"] } +tfhe = { version = "0.8.2", features = ["integer", "x86_64-unix"] } ``` ```rust diff --git a/tfhe/docs/guides/data_versioning.md b/tfhe/docs/guides/data_versioning.md index 21d5c72880..cf2a0ebcc3 100644 --- a/tfhe/docs/guides/data_versioning.md +++ b/tfhe/docs/guides/data_versioning.md @@ -16,7 +16,7 @@ You can load serialized data with the `unversionize` function, even in newer ver [dependencies] # ... -tfhe = { version = "0.8.1", features = ["integer","x86_64-unix"]} +tfhe = { version = "0.8.2", features = ["integer","x86_64-unix"]} tfhe-versionable = "0.2.0" bincode = "1.3.3" ``` diff --git a/tfhe/docs/guides/run_on_gpu.md b/tfhe/docs/guides/run_on_gpu.md index 110a07279e..ed32131a75 100644 --- a/tfhe/docs/guides/run_on_gpu.md +++ b/tfhe/docs/guides/run_on_gpu.md @@ -19,13 +19,13 @@ To use the **TFHE-rs** GPU backend in your project, add the following dependency If you are using an `x86` machine: ```toml -tfhe = { version = "0.8.1", features = ["boolean", "shortint", "integer", "x86_64-unix", "gpu"] } +tfhe = { version = "0.8.2", features = ["boolean", "shortint", "integer", "x86_64-unix", "gpu"] } ``` If you are using an `ARM` machine: ```toml -tfhe = { version = "0.8.1", features = [ "boolean", "shortint", "integer", "aarch64-unix", "gpu" ] } +tfhe = { version = "0.8.2", features = [ "boolean", "shortint", "integer", "aarch64-unix", "gpu" ] } ``` {% hint style="success" %} diff --git a/tfhe/docs/references/core-crypto-api/tutorial.md b/tfhe/docs/references/core-crypto-api/tutorial.md index 0836cab832..9a27d313fd 100644 --- a/tfhe/docs/references/core-crypto-api/tutorial.md +++ b/tfhe/docs/references/core-crypto-api/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.8.1", features = ["x86_64-unix"] } +tfhe = { version = "0.8.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.8.1", features = ["x86_64-unix"] } +tfhe = { version = "0.8.2", features = ["x86_64-unix"] } ``` For Apple Silicon or aarch64-based machines running Unix-like OSes: ```toml -tfhe = { version = "0.8.1", features = ["aarch64-unix"] } +tfhe = { version = "0.8.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.8.1", features = ["x86_64"] } +tfhe = { version = "0.8.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/tutorials/ascii_fhe_string.md b/tfhe/docs/tutorials/ascii_fhe_string.md index 4e84195fd0..c4acb7ba59 100644 --- a/tfhe/docs/tutorials/ascii_fhe_string.md +++ b/tfhe/docs/tutorials/ascii_fhe_string.md @@ -25,7 +25,7 @@ To use the `FheUint8` type, enable the `integer` feature: [dependencies] # Default configuration for x86 Unix machines: -tfhe = { version = "0.8.1", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.8.2", features = ["integer", "x86_64-unix"]} ``` Refer to the [installation guide](../getting\_started/installation.md) for other configurations. diff --git a/tfhe/docs/tutorials/parity_bit.md b/tfhe/docs/tutorials/parity_bit.md index ee6fa49bbe..1df2c60243 100644 --- a/tfhe/docs/tutorials/parity_bit.md +++ b/tfhe/docs/tutorials/parity_bit.md @@ -18,7 +18,7 @@ This function returns a Boolean (`true` or `false`) so that the total count of ` # Cargo.toml # Default configuration for x86 Unix machines: -tfhe = { version = "0.8.1", features = ["integer", "x86_64-unix"] } +tfhe = { version = "0.8.2", features = ["integer", "x86_64-unix"] } ``` Refer to the [installation](../getting\_started/installation.md) for other configurations.