Skip to content

Commit 4723526

Browse files
authored
Merge pull request #14 from open-quantum-safe/update_liboqs
Update liboqs to latest
2 parents cffdecb + 752a84d commit 4723526

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

oqs-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oqs-sys"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Thom Wiggers <[email protected]>"]
55
edition = "2018"
66
links = "oqs"

oqs-sys/build.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ fn main() {
5858
gen_bindings("sig", "OQS_SIG.*");
5959

6060
// https://docs.rs/build-deps/0.1.4/build_deps/fn.rerun_if_changed_paths.html
61-
build_deps::rerun_if_changed_paths("liboqs/src/**").unwrap();
62-
build_deps::rerun_if_changed_paths("liboqs").unwrap();
61+
build_deps::rerun_if_changed_paths("liboqs/src/**/*").unwrap();
62+
build_deps::rerun_if_changed_paths("liboqs/src").unwrap();
63+
build_deps::rerun_if_changed_paths("liboqs/src/*").unwrap();
6364
}

oqs-sys/liboqs

Submodule liboqs updated 1198 files

oqs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ serde = { version = "1.0", optional = true, default-features = false, features =
1616

1717
[dependencies.oqs-sys]
1818
path = "../oqs-sys"
19-
version = "0.2.0"
19+
version = "0.3.0"
2020
default-features = false
2121

2222
[features]

oqs/src/kem.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,9 @@ implement_kems! {
9494
ClassicMcEliece6960119f: OQS_KEM_alg_classic_mceliece_6960119f,
9595
ClassicMcEliece8192128: OQS_KEM_alg_classic_mceliece_8192128,
9696
ClassicMcEliece8192128f: OQS_KEM_alg_classic_mceliece_8192128f,
97-
Hqc1281Cca2: OQS_KEM_alg_hqc_128_1_cca2,
98-
Hqc1921Cca2: OQS_KEM_alg_hqc_192_1_cca2,
99-
Hqc1922Cca2: OQS_KEM_alg_hqc_192_2_cca2,
100-
Hqc2561Cca2: OQS_KEM_alg_hqc_256_1_cca2,
101-
Hqc2562Cca2: OQS_KEM_alg_hqc_256_2_cca2,
102-
Hqc2563Cca2: OQS_KEM_alg_hqc_256_3_cca2,
97+
Hqc128: OQS_KEM_alg_hqc_128,
98+
Hqc192: OQS_KEM_alg_hqc_192,
99+
Hqc256: OQS_KEM_alg_hqc_256,
103100
Kyber512: OQS_KEM_alg_kyber_512,
104101
Kyber768: OQS_KEM_alg_kyber_768,
105102
Kyber1024: OQS_KEM_alg_kyber_1024,
@@ -110,6 +107,12 @@ implement_kems! {
110107
NTRUHPS2048677: OQS_KEM_alg_ntru_hps2048677,
111108
NTRUHPS4096812: OQS_KEM_alg_ntru_hps4096821,
112109
NTRUHRSS701: OQS_KEM_alg_ntru_hrss701,
110+
NTRUPrimeNtrulpr653: OQS_KEM_alg_ntruprime_ntrulpr653,
111+
NTRUPrimeNtrulpr761: OQS_KEM_alg_ntruprime_ntrulpr761,
112+
NTRUPrimeNtrulpr857: OQS_KEM_alg_ntruprime_ntrulpr857,
113+
NTRUPrimeNtruSntrup653: OQS_KEM_alg_ntruprime_sntrup653,
114+
NTRUPrimeNtruSntrup761: OQS_KEM_alg_ntruprime_sntrup761,
115+
NTRUPrimeNtruSntrup857: OQS_KEM_alg_ntruprime_sntrup857,
113116
Lightsaber: OQS_KEM_alg_saber_lightsaber,
114117
Saber: OQS_KEM_alg_saber_saber,
115118
Firesaber: OQS_KEM_alg_saber_firesaber,

0 commit comments

Comments
 (0)