Welcome! Log In Create A New Profile

Advanced

[PHP-DEV] openssl_pkey_derive

Posted by Jakub Zelenka 
Jakub Zelenka
[PHP-DEV] openssl_pkey_derive
April 20, 2018 10:00PM
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
Re: [PHP-DEV] openssl_pkey_derive
April 22, 2018 09:00AM
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.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login