compressed ecdsa public keys

Matt Caswell matt at openssl.org
Mon Jun 5 13:49:49 UTC 2023



On 05/06/2023 14:17, Robert Moskowitz wrote:
> is there a way in genkey to create an ECDSA P-256 in compressed format 
> (now that the patent is well expired)?

You can do it like this:

$ openssl ecparam -genkey -name P-256 -noout | openssl ec -conv_form 
compressed -out key.pem

Matt



More information about the openssl-users mailing list