From eb7916960bf50f436593abe3d5f2e0592d291017 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 30 Dec 2017 15:08:31 +0100 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/5001) --- crypto/ec/ec_err.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/ec/ec_err.c') 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), -- cgit v1.2.3