openssl_pkey_derive

php.internals

Jakub Zelenka

8 years ago
Hi, There is a PR to add a new function called openssl_pkey_derive to openssl extension: https://github.com/php/php-src/pull/3197 The purpose is to derive public key algorithm shared secret. I think it's a reasonable addition and if there are no objections, I will merge it in the next two weeks. More info can be found in the PR or in the OpenSSL documentation for EVP_PKEY_derive: https://www.openssl.org/docs/man1.1.0/crypto/EVP_PKEY_derive.html Cheers Jakub

Alice Wonder

8 years ago
On 04/20/2018 12:55 PM, Jakub Zelenka wrote:
> Hi, > > There is a PR to add a new function called openssl_pkey_derive to openssl > extension: > > https://github.com/php/php-src/pull/3197 > > The purpose is to derive public key algorithm shared secret. I think it's a > reasonable addition and if there are no objections, I will merge it in the > next two weeks. > > More info can be found in the PR or in the OpenSSL documentation for > EVP_PKEY_derive: > > https://www.openssl.org/docs/man1.1.0/crypto/EVP_PKEY_derive.html > > Cheers > > Jakub >
In the next few days I will test it building against LibreSSL - I most it might need an ifdef but LibreSSL might support that call, I don't know right now. My LibreSSL is actually a tad bit out of date, I will update it and try against latest because I know they added some OpenSSL stuff to latest. PHP continuing to build against LibreSSL is very important to me. Cross-posting reply to their list, hope that is kosher.