Skip to content

Commit 9b34d35

Browse files
ehaydenrkornelski
authored andcommitted
add SslCurve::X25519_MLKEM768 constant
1 parent 9c4ea22 commit 9b34d35

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

boring/src/ssl/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,12 @@ impl SslCurve {
738738
))]
739739
pub const P256_KYBER768_DRAFT00: SslCurve = SslCurve(ffi::SSL_CURVE_P256_KYBER768_DRAFT00 as _);
740740

741+
#[cfg(all(
742+
not(any(feature = "fips", feature = "fips-precompiled")),
743+
feature = "pq-experimental"
744+
))]
745+
pub const X25519_MLKEM768: SslCurve = SslCurve(ffi::SSL_CURVE_X25519_MLKEM768 as _);
746+
741747
/// Returns the curve name
742748
#[corresponds(SSL_get_curve_name)]
743749
pub fn name(&self) -> Option<&'static str> {

0 commit comments

Comments
 (0)