boring2/boring/src
Bas Westerbaan 6d3639f173 Add post-quantum key agreement X25519MLKEM768
This is the successor of X25519Kyber768Draft00.

Spec:

https://datatracker.ietf.org/doc/draft-kwiatkowski-tls-ecdhe-mlkem/02/

IANA has assigned the codepoint.

https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8

Upstream BoringSSL support landed in.

7fb4d3da50

The version of BoringSSL we patch does not include it, so we add it manually.

Chrome and Firefox are planning to enable in October.

This PR is based on the IPD-Wing patch reviewed here:

https://github.com/cloudflare/boring/pull/243

There are two changes. First we simplify the patch a bit as we do not
need IPD-Wing. Secondly, we perform the encapsulation key check, which
was a last minute addition of NIST. We perform this check also for Kyber.
2024-09-18 12:00:27 +02:00
..
ssl Add post-quantum key agreement X25519MLKEM768 2024-09-18 12:00:27 +02:00
x509 Use ForeignType::into_ptr wherever applicable 2024-09-04 04:04:30 -07:00
aes.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
asn1.rs Resolve an injection vulnerability in EKU creation 2023-05-05 11:10:10 +02:00
base64.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
bio.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
bn.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
conf.rs Remove unused `*Ref` parameters to macro 2021-08-17 10:44:50 -05:00
derive.rs boring: Fix memory leak in `Deriver` 2022-07-01 12:44:04 -05:00
dh.rs Run `cargo fix --edition 2021-08-13 15:22:56 -05:00
dsa.rs Use ForeignType::into_ptr wherever applicable 2024-09-04 04:04:30 -07:00
ec.rs Fix typos 2023-12-14 02:28:11 +01:00
ecdsa.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
error.rs Fix lints 2023-03-27 13:15:12 +02:00
ex_data.rs Rename stuff 2020-11-11 17:47:30 +00:00
fips.rs Remove boring::fips::enable (fixes #150) 2023-10-10 15:34:56 +01:00
hash.rs Expose hmac_sha1 function 2024-06-28 10:51:46 +01:00
lib.rs Add post-quantum key agreement X25519MLKEM768 2024-09-18 12:00:27 +02:00
macros.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
memcmp.rs Fix typos 2023-12-14 02:28:11 +01:00
nid.rs Add NIDs for cipher authentication types 2024-06-26 16:13:58 +01:00
pkcs5.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
pkcs12.rs Remove unused `*Ref` parameters to macro 2021-08-17 10:44:50 -05:00
pkey.rs Expose RSAPSS public key Id type 2024-08-19 15:54:22 -07:00
rand.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
rsa.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
sha.rs Expose SHA512-256 2023-10-11 09:53:30 +02:00
sign.rs Run `cargo fix --edition 2021-08-13 15:22:56 -05:00
srtp.rs Remove unused `*Ref` parameters to macro 2021-08-17 10:44:50 -05:00
stack.rs Fix lints 2023-03-27 13:15:12 +02:00
string.rs Fix clippy warnings 2022-09-16 12:13:55 -05:00
symm.rs clippy: *::max_value() -> *::MAX 2024-06-26 16:13:58 +01:00
util.rs Introduce ForeignTypeExt and ForeignTypeRefExt 2024-08-15 15:09:02 -07:00
version.rs Run `cargo fix --edition 2021-08-13 15:22:56 -05:00