Re: com php-src: Adds initial support to generate and work with ECC public key pair: ext/openssl/openssl.c ext/openssl/tests/029.phpt
ext/openssl/tests/ecc.phpt ext/openssl/tests/openssl_pkey_export_basic.phpt ext/openssl/tests/openssl_pkey_get_
| From: | Dmitry Stogov | Date: | Tue, 28 Jun 2016 08:30:27 +0000 |
| Subject: | Re: com php-src: Adds initial support to generate and work with ECC public key pair: ext/openssl/openssl.c ext/openssl/tests/029.phpt ext/openssl/tests/ecc.phpt ext/openssl/tests/openssl_pkey_export_basic.phpt ext/openssl/tests/openssl_pkey_get_ |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-92695@lists.php.net to get a copy of this message | ||
Hi Jakob,
The following tests are broken (tested on Linux 32-bit).
> openssl_pkey_new() with EC key [ext/openssl/tests/029.phpt]
> openssl_*() with OPENSSL_KEYTYPE_EC [ext/openssl/tests/ecc.phpt]
Thanks. Dmitry.
________________________________
From: Jakub Zelenka <bukka@php.net>
Sent: Sunday, June 26, 2016 6:15:25 PM
To: php-cvs@lists.php.net
Subject: [PHP-CVS] com php-src: Adds initial support to generate and work with ECC public key pair:
ext/openssl/openssl.c ext/openssl/tests/029.phpt ext/openssl/tests/ecc.phpt
ext/openssl/tests/openssl_pkey_export_basic.phpt ext/openssl/tests/openssl_pkey_get_d...
Commit: 9688138d38034c9558af45f1ebcd77c3ff88c420
Author: Dominic Luechinger <dol@cyon.ch> Wed, 15 Jun 2016 22:31:42 +0200
Committer: Jakub Zelenka <bukka@php.net> Sun, 26 Jun 2016 16:15:25 +0100
Parents: 8de8636a2b6dc331486284f1f037259bb7347768
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9688138d38034c9558af45f1ebcd77c3ff88c420
Log:
Adds initial support to generate and work with ECC public key pair
New features:
- openssl_get_curve_names => list ECC curve names
- generate a ECC public key pair
- generate an CSR with an ECC key
- export x,y,d params of ECC public/private key
Thanks to @bukka for the review and feedback
Changed paths:
M ext/openssl/openssl.c
A ext/openssl/tests/029.phpt
A ext/openssl/tests/ecc.phpt
M ext/openssl/tests/openssl_pkey_export_basic.phpt
M ext/openssl/tests/openssl_pkey_get_details_basic.phpt