summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_err.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-12-30 15:08:31 +0100
committerAndy Polyakov <appro@openssl.org>2018-01-07 21:31:37 +0100
commiteb7916960bf50f436593abe3d5f2e0592d291017 (patch)
tree3ad36bd09f212dccca8bb59fdedb223cdab8786e /crypto/ec/ec_err.c
parent617b49db14fa4c1211bfc5d0e88294d0f159c9a9 (diff)
ec/ecp_nistz256.c: improve ECDSA sign by 30-40%.
This is based on RT#3810, which added dedicated modular inversion. ECDSA verify results improves as well, but not as much. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5001)
Diffstat (limited to 'crypto/ec/ec_err.c')
-rw-r--r--crypto/ec/ec_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ec/ec_err.c b/crypto/ec/ec_err.c
index 9f82b4ef7e..efec5a7112 100644
--- a/crypto/ec/ec_err.c
+++ b/crypto/ec/ec_err.c
@@ -48,6 +48,8 @@ static const ERR_STRING_DATA EC_str_functs[] = {
"ECPKParameters_print_fp"},
{ERR_PACK(ERR_LIB_EC, EC_F_ECP_NISTZ256_GET_AFFINE, 0),
"ecp_nistz256_get_affine"},
+ {ERR_PACK(ERR_LIB_EC, EC_F_ECP_NISTZ256_INV_MOD_ORD, 0),
+ "ecp_nistz256_inv_mod_ord"},
{ERR_PACK(ERR_LIB_EC, EC_F_ECP_NISTZ256_MULT_PRECOMPUTE, 0),
"ecp_nistz256_mult_precompute"},
{ERR_PACK(ERR_LIB_EC, EC_F_ECP_NISTZ256_POINTS_MUL, 0),