[php-src] Issue #23421: OpenSSL: Expose Post-Quantum Cryptography (PQC) functionality
| From: | timo-poppinga | Date: | Sun, 23 Aug 2026 17:17:25 +0000 |
| Subject: | [php-src] Issue #23421: OpenSSL: Expose Post-Quantum Cryptography (PQC) functionality | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-252651@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/23421
Author: timo-poppinga
### Description
# OpenSSL: Add support for PQC functionality
## Description
Modern OpenSSL versions provide support for Post-Quantum Cryptography (PQC), including algorithms
such as **ML-KEM** and **ML-DSA**.
PHP's
ext/openssl should expose this functionality where supported by the
underlying OpenSSL version.
Currently, PHP applications cannot easily use these newer OpenSSL capabilities through the standard
OpenSSL extension.
## Proposal
Add support for OpenSSL's PQC algorithms to ext/openssl.
Where possible, existing PHP OpenSSL functions and APIs should support PQC algorithms instead of
introducing separate algorithm-specific functions.
Support should depend on the capabilities of the OpenSSL version PHP is compiled against.
## Motivation
This would allow PHP applications and libraries to use post-quantum cryptography directly through
PHP's standard OpenSSL extension.
It would also keep PHP aligned with new cryptographic functionality provided by OpenSSL and avoid
the need for FFI or custom PHP extensions.