Add EC_KEY_priv2buf()
authorDr. Stephen Henson <steve@openssl.org>
Thu, 4 Feb 2016 23:18:57 +0000 (23:18 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 5 Feb 2016 00:33:33 +0000 (00:33 +0000)
commit7fc7d1a7bdeda7e448c13e6fecce96a53b7a62d2
tree617025d4cebdd22a19d36618cfd7f69b17d3e9c2
parentac3e3665016e4441475276461d5f910eb9e9ea15
Add EC_KEY_priv2buf()

Add new function EC_KEY_priv2buf() to allocated and encode private
key octet in one call. Update and simplify ASN.1 and print routines.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
crypto/ec/ec_ameth.c
crypto/ec/ec_asn1.c
crypto/ec/ec_key.c
include/openssl/ec.h