feat(boring): Add SSL_CURVE_X25519_MLKEM768 curve binding (#11)
This commit is contained in:
parent
3342c9dffe
commit
ab7848d878
|
|
@ -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 _);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue