From ab7848d878ca0519f530d476a083f284316fb4f8 Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Sun, 3 Nov 2024 21:12:28 +0800 Subject: [PATCH] feat(boring): Add SSL_CURVE_X25519_MLKEM768 curve binding (#11) --- boring/src/ssl/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boring/src/ssl/mod.rs b/boring/src/ssl/mod.rs index 9bd1fdec..cd8a59eb 100644 --- a/boring/src/ssl/mod.rs +++ b/boring/src/ssl/mod.rs @@ -712,6 +712,9 @@ impl SslCurve { pub const X25519_KYBER768_DRAFT00: SslCurve = SslCurve(ffi::SSL_CURVE_X25519_KYBER768_DRAFT00 as _); + #[cfg(feature = "pq-experimental")] + pub const X25519_MLKEM768: SslCurve = SslCurve(ffi::NID_X25519MLKEM768 as _); + #[cfg(feature = "pq-experimental")] pub const X25519_KYBER768_DRAFT00_OLD: SslCurve = SslCurve(ffi::SSL_CURVE_X25519_KYBER768_DRAFT00_OLD as _);