From 08560c80e355f5cd5f6b1bac0af30c20c74fd65a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Dec 2022 18:01:00 +0000 Subject: [PATCH 1/3] Bump oqs-sys/liboqs from `f5d96ca` to `a7e1b8a` Bumps [oqs-sys/liboqs](https://github.com/Open-Quantum-Safe/liboqs) from `f5d96ca` to `a7e1b8a`. - [Release notes](https://github.com/Open-Quantum-Safe/liboqs/releases) - [Commits](https://github.com/Open-Quantum-Safe/liboqs/compare/f5d96cab5cbfd4c2a845d0d4df78d901e6b1d3e5...a7e1b8a32f482f3b93b7d08d686d62942e5674df) --- updated-dependencies: - dependency-name: oqs-sys/liboqs dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- oqs-sys/liboqs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oqs-sys/liboqs b/oqs-sys/liboqs index f5d96cab5c..a7e1b8a32f 160000 --- a/oqs-sys/liboqs +++ b/oqs-sys/liboqs @@ -1 +1 @@ -Subproject commit f5d96cab5cbfd4c2a845d0d4df78d901e6b1d3e5 +Subproject commit a7e1b8a32f482f3b93b7d08d686d62942e5674df From 54a932f754f58cb034f0f73f4109040ea9a27b7b Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Thu, 22 Dec 2022 11:36:18 +0100 Subject: [PATCH 2/3] Remove NTRU --- oqs-sys/Cargo.toml | 4 +--- oqs-sys/build.rs | 7 ------- oqs/Cargo.toml | 3 +-- oqs/src/kem.rs | 6 ------ 4 files changed, 2 insertions(+), 18 deletions(-) diff --git a/oqs-sys/Cargo.toml b/oqs-sys/Cargo.toml index a2919a48e8..f38a09a238 100644 --- a/oqs-sys/Cargo.toml +++ b/oqs-sys/Cargo.toml @@ -28,14 +28,12 @@ openssl = [] docs = [] non_portable = [] # algorithms: KEMs -kems = ["classic_mceliece", "frodokem", "hqc", "kyber", "ntru"] +kems = ["classic_mceliece", "frodokem", "hqc", "kyber"] bike = [] # BIKE is enabled by build.rs on non-windows targets classic_mceliece = [] frodokem = [] hqc = [] kyber = [] -ntru = [] -saber = [] # algorithms: Signature schemes sigs = ["dilithium", "falcon", "sphincs"] dilithium = [] diff --git a/oqs-sys/build.rs b/oqs-sys/build.rs index 446622da7f..977ee8ccfd 100644 --- a/oqs-sys/build.rs +++ b/oqs-sys/build.rs @@ -71,17 +71,10 @@ fn main() { algorithm_feature!("KEM", "frodokem"); algorithm_feature!("KEM", "hqc"); algorithm_feature!("KEM", "kyber"); - algorithm_feature!("KEM", "ntru"); - algorithm_feature!("KEM", "ntruprime"); - algorithm_feature!("KEM", "saber"); - algorithm_feature!("KEM", "sidh"); - algorithm_feature!("KEM", "sike"); // signature schemes algorithm_feature!("SIG", "dilithium"); algorithm_feature!("SIG", "falcon"); - algorithm_feature!("SIG", "picnic"); - algorithm_feature!("SIG", "rainbow"); algorithm_feature!("SIG", "sphincs"); if cfg!(windows) { diff --git a/oqs/Cargo.toml b/oqs/Cargo.toml index d9c206e508..af73cf8b7e 100644 --- a/oqs/Cargo.toml +++ b/oqs/Cargo.toml @@ -25,13 +25,12 @@ std = [] non_portable = ["oqs-sys/non_portable"] # algorithms: KEMs -kems = ["oqs-sys/kems", "classic_mceliece", "frodokem", "hqc", "kyber", "ntru"] +kems = ["oqs-sys/kems", "classic_mceliece", "frodokem", "hqc", "kyber"] bike = ["oqs-sys/bike"] # not supported on Windows or 32-bit ARM classic_mceliece = ["oqs-sys/classic_mceliece"] frodokem = ["oqs-sys/frodokem"] hqc = ["oqs-sys/hqc"] kyber = ["oqs-sys/kyber"] -ntru = ["oqs-sys/ntru"] saber = ["oqs-sys/saber"] # algorithms: Signature schemes sigs = ["oqs-sys/sigs", "dilithium", "falcon", "sphincs"] diff --git a/oqs/src/kem.rs b/oqs/src/kem.rs index 810086161d..aadbb79977 100644 --- a/oqs/src/kem.rs +++ b/oqs/src/kem.rs @@ -135,12 +135,6 @@ implement_kems! { ("kyber") Kyber512_90s: OQS_KEM_alg_kyber_512_90s, ("kyber") Kyber768_90s: OQS_KEM_alg_kyber_768_90s, ("kyber") Kyber1024_90s: OQS_KEM_alg_kyber_1024_90s, - ("ntru") NtruHps2048509: OQS_KEM_alg_ntru_hps2048509, - ("ntru") NtruHps2048677: OQS_KEM_alg_ntru_hps2048677, - ("ntru") NtruHps4096821: OQS_KEM_alg_ntru_hps4096821, - ("ntru") NtruHps40961229: OQS_KEM_alg_ntru_hps40961229, - ("ntru") NtruHrss701: OQS_KEM_alg_ntru_hrss701, - ("ntru") NtruHrss1373: OQS_KEM_alg_ntru_hrss1373, ("frodokem") FrodoKem640Aes: OQS_KEM_alg_frodokem_640_aes, ("frodokem") FrodoKem640Shake: OQS_KEM_alg_frodokem_640_shake, ("frodokem") FrodoKem976Aes: OQS_KEM_alg_frodokem_976_aes, From dc8fec2d66aff6b19ffe59a271dcf63feeebd004 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Tue, 3 Jan 2023 16:07:09 +0100 Subject: [PATCH 3/3] Remove remaining SABER reference --- oqs/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/oqs/Cargo.toml b/oqs/Cargo.toml index af73cf8b7e..db51d76145 100644 --- a/oqs/Cargo.toml +++ b/oqs/Cargo.toml @@ -31,7 +31,6 @@ classic_mceliece = ["oqs-sys/classic_mceliece"] frodokem = ["oqs-sys/frodokem"] hqc = ["oqs-sys/hqc"] kyber = ["oqs-sys/kyber"] -saber = ["oqs-sys/saber"] # algorithms: Signature schemes sigs = ["oqs-sys/sigs", "dilithium", "falcon", "sphincs"] dilithium = ["oqs-sys/dilithium"]