Add EC_KEY_oct2priv and EC_KEY_priv2oct
authorDr. Stephen Henson <steve@openssl.org>
Mon, 1 Feb 2016 15:34:13 +0000 (15:34 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 5 Feb 2016 00:33:33 +0000 (00:33 +0000)
commitcf2413955cafcfe98d8292f996a87ef55b777caa
tree81d4e423646462cbbad98563d0c77c92663a54a2
parent26c255fcf875d0272349c1221780dcd7e67b5d61
Add EC_KEY_oct2priv and EC_KEY_priv2oct

New functions EC_KEY_oct2priv and EC_KEY_priv2oct. These are private key
equivalents of EC_POINT_oct2point and EC_POINT_point2oct which convert
between the private key octet format and EC_KEY.

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