]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/ec/ec_key.c
Add set methods.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 25 Oct 2015 13:09:50 +0000 (13:09 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 9 Dec 2015 22:09:18 +0000 (22:09 +0000)
commit3475bc9675fd7b575b260c62424d2ac1547dd251
tree95d5c70bb248a189df4be69b602e7518f38216a1
parentea0392b921598e415c754dcf4b5c61c7fa337a59
Add set methods.

Add set_group, set_public and set_private methods. An EC_KEY_METHOD can use
these to perform any appropriate operation when the key components are set,
such as caching data in some more convenient ENGINE specific format or
returning an error if the parameters are invalid or the operation is
not supported.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/ec/ec_key.c
crypto/ec/ec_kmeth.c
crypto/ec/ec_lcl.h