Skip to content

Commit 0dadd66

Browse files
Eno-CNbukka
authored andcommitted
Improve openssl ext to generate EC keys with custom EC parameters
This change extends supported parameter when generating EC keys. Specifically following parameters are now supported: p, a, b, order, generator, seed, cofactory, g_x, g_y, x, y and d. Those parameters can be passed to ec field in openssl_pkey_new options. It also fixes some issues openssl_pkey_get_details related to SM2 support. Closes GH-9991
1 parent b0a2727 commit 0dadd66

File tree

5 files changed

+495
-121
lines changed

5 files changed

+495
-121
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ PHP NEWS
1010
. Fixed line number of JMP instruction over else block. (ilutov)
1111
. Fixed use-of-uninitialized-value with ??= on assert. (ilutov)
1212

13+
- OpenSSL
14+
. Added support for additional EC parameters in openssl_pkey_new. (Eno-CN)
15+
1316
06 Jul 2023, PHP 8.3.0alpha3
1417

1518
- Core:

0 commit comments

Comments
 (0)