[php-src] PR #23420: ext/sodium: Add crypto_kem (X-Wing) and crypto_kem_mlkem768 bindings
| From: | ZacharyDuBois | Date: | Sun, 23 Aug 2026 15:27:58 +0000 |
| Subject: | [php-src] PR #23420: ext/sodium: Add crypto_kem (X-Wing) and crypto_kem_mlkem768 bindings | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38090@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23420
Author: ZacharyDuBois
libsodium 1.0.22 introduced a KEM API: X-Wing (hybrid ML-KEM768+X25519, upstream's recommended
KEM) and ML-KEM768 (FIPS 203). This exposes both:
-
sodium_crypto_kem_{keypair,seed_keypair,secretkey,publickey,enc,dec}
- sodium_crypto_kem_mlkem768_{keypair,seed_keypair,secretkey,publickey,enc,dec} +
SODIUM_CRYPTO_KEM[_MLKEM768]_*BYTES constants