Skip to content

Commit

Permalink
CVPN-1554 Add patch to use WolfSSL Kyber and ML-KEM
Browse files Browse the repository at this point in the history
We would use a patch to use WolfSSL's implementation of both Kyber and ML-KEM so that we can remove liboqs while maintaing support for Kyber at the moment. This patch uses commits and code changes from the following PR in WolfSSL:
- wolfSSL/wolfssl#8143
- wolfSSL/wolfssl#8172
- wolfSSL/wolfssl#8183
- wolfSSL/wolfssl#8185
  • Loading branch information
kp-thomas-yau committed Nov 15, 2024
1 parent f86b090 commit a75cbe1
Show file tree
Hide file tree
Showing 2 changed files with 3,326 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fn copy_wolfssl(dest: &Path) -> std::io::Result<PathBuf> {
}

const PATCH_DIR: &str = "patches";
const PATCHES: &[&str] = &["disable-falcon-dilithium.patch"];
const PATCHES: &[&str] = &["disable-falcon-dilithium.patch", "use-wolfssl-mlkem-kyber.patch"];

/**
* Apply patch to wolfssl-src
Expand Down
Loading

0 comments on commit a75cbe1

Please sign in to comment.