-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(csprng)!: remove generator_aarch64_aes feature
BREAKING_CHANGE: - The `generator_aarch64_aes` feature is no longer supported for tfhe-csprng
- Loading branch information
1 parent
88288de
commit 3b22760
Showing
7 changed files
with
12 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
tfhe/src/core_crypto/commons/math/random/activated_random_generator.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#[cfg(all(target_arch = "x86_64", target_feature = "aes"))] | ||
use tfhe_csprng::generators::AesniRandomGenerator; | ||
#[cfg(feature = "generator_aarch64_aes")] | ||
#[cfg(all(target_arch = "aarch64", target_feature = "neon"))] | ||
use tfhe_csprng::generators::NeonAesRandomGenerator; | ||
#[cfg(all( | ||
not(all(target_arch = "x86_64", target_feature = "aes")), | ||
not(feature = "generator_aarch64_aes") | ||
not(all(target_arch = "aarch64", target_feature = "neon")) | ||
))] | ||
use tfhe_csprng::generators::SoftwareRandomGenerator; | ||
|
||
#[cfg(all(target_arch = "x86_64", target_feature = "aes"))] | ||
pub type ActivatedRandomGenerator = AesniRandomGenerator; | ||
#[cfg(feature = "generator_aarch64_aes")] | ||
#[cfg(all(target_arch = "aarch64", target_feature = "neon"))] | ||
pub type ActivatedRandomGenerator = NeonAesRandomGenerator; | ||
#[cfg(all( | ||
not(all(target_arch = "x86_64", target_feature = "aes")), | ||
not(feature = "generator_aarch64_aes") | ||
not(all(target_arch = "aarch64", target_feature = "neon")) | ||
))] | ||
pub type ActivatedRandomGenerator = SoftwareRandomGenerator; |