diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2019-08-05 15:34:38 -0300 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-09-01 00:34:30 +0200 |
commit | a552ababd4ff8e91d3f03f7496f12d080a71ba28 (patch) | |
tree | 6686d7751613d33f1ef7a3d4a6414b1253fb7245 /package/network/services/uhttpd/files | |
parent | f40262697f5aebed25313a1b2eb8f68d37c97e60 (diff) | |
download | upstream-a552ababd4ff8e91d3f03f7496f12d080a71ba28.tar.gz upstream-a552ababd4ff8e91d3f03f7496f12d080a71ba28.tar.bz2 upstream-a552ababd4ff8e91d3f03f7496f12d080a71ba28.zip |
px5g: support EC keys
This adds an 'eckey' command to generate an EC key, with an optional
curve name argument, with P-256 as default.
For the 'selfsigned' command, it adds an 'ec' algorithm argument to the
'-newkey' option, and a '-pkeyopt ec_paramgen_curve:<curvename>' option,
mirroring the way openssl specifies the curve name.
Notice that curve names are not necessarily the same in mbedtls and
openssl. In particular, secp256r1 works for mbedtls, but openssl uses
prime256v1 instead. px5g uses mbedtls, but short NIST curve names P-256
and P-384 are specifically supported.
Package size increased by about 900 bytes (arm).
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'package/network/services/uhttpd/files')
0 files changed, 0 insertions, 0 deletions