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
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.