From 9b34d3524bfeecb97449119ed130c7eb4be416d4 Mon Sep 17 00:00:00 2001 From: Eric Rosenberg Date: Thu, 1 May 2025 15:07:14 +0000 Subject: [PATCH] add SslCurve::X25519_MLKEM768 constant --- boring/src/ssl/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/boring/src/ssl/mod.rs b/boring/src/ssl/mod.rs index b75d6975..e1253e3b 100644 --- a/boring/src/ssl/mod.rs +++ b/boring/src/ssl/mod.rs @@ -738,6 +738,12 @@ impl SslCurve { ))] pub const P256_KYBER768_DRAFT00: SslCurve = SslCurve(ffi::SSL_CURVE_P256_KYBER768_DRAFT00 as _); + #[cfg(all( + not(any(feature = "fips", feature = "fips-precompiled")), + feature = "pq-experimental" + ))] + pub const X25519_MLKEM768: SslCurve = SslCurve(ffi::SSL_CURVE_X25519_MLKEM768 as _); + /// Returns the curve name #[corresponds(SSL_get_curve_name)] pub fn name(&self) -> Option<&'static str> {