aboutsummaryrefslogtreecommitdiff
path: root/crypto/ec/ec_err.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-10-22 14:53:23 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-12-09 22:09:17 +0000
commit5a6a1029d2a610188d4a3112aae1d7b55ce3f7e6 (patch)
tree3f9209f608c717bc0370777ebd1358598620d12e /crypto/ec/ec_err.c
parentd2fa70d82b6e423baa472f0b3d75ef27d64a99c0 (diff)
downloadopenssl-5a6a1029d2a610188d4a3112aae1d7b55ce3f7e6.zip
openssl-5a6a1029d2a610188d4a3112aae1d7b55ce3f7e6.tar.gz
openssl-5a6a1029d2a610188d4a3112aae1d7b55ce3f7e6.tar.bz2
EC_KEY_METHOD keygen support.
Add keygen to EC_KEY_METHOD. Redirect EC_KEY_generate_key through method and set the current EC key generation function as the default. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/ec/ec_err.c')
-rw-r--r--crypto/ec/ec_err.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ec_err.c b/crypto/ec/ec_err.c
index 6c5ad4e..aa6ba45 100644
--- a/crypto/ec/ec_err.c
+++ b/crypto/ec/ec_err.c
@@ -300,6 +300,7 @@ static ERR_STRING_DATA EC_str_reasons[] = {
{ERR_REASON(EC_R_NOT_INITIALIZED), "not initialized"},
{ERR_REASON(EC_R_NO_FIELD_MOD), "no field mod"},
{ERR_REASON(EC_R_NO_PARAMETERS_SET), "no parameters set"},
+ {ERR_REASON(EC_R_OPERATION_NOT_SUPPORTED), "operation not supported"},
{ERR_REASON(EC_R_PASSED_NULL_PARAMETER), "passed null parameter"},
{ERR_REASON(EC_R_PEER_KEY_ERROR), "peer key error"},
{ERR_REASON(EC_R_PKPARAMETERS2GROUP_FAILURE),