feat(boring): Add SSL_CURVE_X25519_MLKEM768 curve binding (#11)

This commit is contained in:
0x676e67 2024-11-03 21:12:28 +08:00 committed by GitHub
parent 3342c9dffe
commit ab7848d878
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -712,6 +712,9 @@ impl SslCurve {
pub const X25519_KYBER768_DRAFT00: SslCurve = pub const X25519_KYBER768_DRAFT00: SslCurve =
SslCurve(ffi::SSL_CURVE_X25519_KYBER768_DRAFT00 as _); 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")] #[cfg(feature = "pq-experimental")]
pub const X25519_KYBER768_DRAFT00_OLD: SslCurve = pub const X25519_KYBER768_DRAFT00_OLD: SslCurve =
SslCurve(ffi::SSL_CURVE_X25519_KYBER768_DRAFT00_OLD as _); SslCurve(ffi::SSL_CURVE_X25519_KYBER768_DRAFT00_OLD as _);