[PHP-DEV] [OpenSSL] Support for ECC public key generation

2016-06-14 Thread Dominic Luechinger
This is a short introduction of a feature I've been working on. Summary --- The current OpenSSL extension only supports generating RSA key pairs. The PR [1] adds support for ECC (Elliptic curve cryptography) key generation. The corresponding bug is 61204 [2]. --- Motivation -- Why

Re: [PHP-DEV] [OpenSSL] Support for ECC public key generation

2016-06-14 Thread Scott Arciszewski
On Tue, Jun 14, 2016 at 8:04 PM, Dominic Luechinger wrote: > This is a short introduction of a feature I've been working on. > > Summary > --- > The current OpenSSL extension only supports generating RSA key pairs. > The PR [1] adds support for ECC (Elliptic curve cryptography) key > generati

Re: [PHP-DEV] [OpenSSL] Support for ECC public key generation

2016-06-16 Thread Dominic Luechinger
On 15/06/16 03:51, Scott Arciszewski wrote: > While we're at it, can we also add a function to generate (ephemeral) > Elliptic Curve Diffie-Hellman keys, and then use openssl_dh_compute_key() > with ECDH keys? Because that would be a lot saner than having to > shell_exec() to the OpenSSL binary in