px5g: Add Elliptic curve support
authorHauke Mehrtens <[email protected]>
Sat, 2 Jun 2018 20:26:35 +0000 (22:26 +0200)
committerHauke Mehrtens <[email protected]>
Sat, 20 Oct 2018 17:01:47 +0000 (19:01 +0200)
commit16c112db0075ba6cbb3f4aa2f792f6abc8d72a8b
treeef6f7c45792566e7650239935e024f3dc8991b49
parent735ff0d1808ca7d49e5557e2bc9d58ccff1f49aa
px5g: Add Elliptic curve support

This renames the gen_key() function into gen_rsa_key() to indicate that
this only generates an RSA key and removes the unused parameter pem.
Then a new function called gen_ec_key() is added.

The application can now be called with "-newkey ec:secp256r1" like it is
possible for OpenSSL to generate a new elliptic curve key.

Signed-off-by: Hauke Mehrtens <[email protected]>
package/utils/px5g/px5g.c