Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102069 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41233 invoked from network); 22 Apr 2018 06:55:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Apr 2018 06:55:42 -0000 Authentication-Results: pb1.pair.com header.from=alice@librelamp.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=alice@librelamp.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain librelamp.com designates 45.79.96.192 as permitted sender) X-PHP-List-Original-Sender: alice@librelamp.com X-Host-Fingerprint: 45.79.96.192 librelamp.com Received: from [45.79.96.192] ([45.79.96.192:35554] helo=librelamp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/F0-33084-6E13CDA5 for ; Sun, 22 Apr 2018 02:55:35 -0400 Received: from localhost.localdomain (unknown [IPv6:2600:1010:b06b:8d62:b30e:1cd2:a6cc:41ae]) by librelamp.com (Postfix) with ESMTPSA id 80CE8FE; Sun, 22 Apr 2018 06:55:31 +0000 (UTC) To: Jakub Zelenka , PHP internals list , libressl References: Message-ID: Date: Sat, 21 Apr 2018 23:55:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] openssl_pkey_derive From: alice@librelamp.com (Alice Wonder) 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.