From: Bodo Möller Date: Fri, 7 Feb 2003 11:54:57 +0000 (+0000) Subject: comment X-Git-Tag: BEN_FIPS_TEST_1~38^2~330 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82871eaa177142f6d420bf7fabf6502e5a13166f;p=oweals%2Fopenssl.git comment --- diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c index 42cd98181c..937004ac45 100644 --- a/crypto/ec/ec_mult.c +++ b/crypto/ec/ec_mult.c @@ -795,6 +795,13 @@ CRYPTO_push_info("ec_wNAF_precompute_mult"); } bits = BN_num_bits(order); + /* The following parameters mean we precompute (approximately) + * one point per bit. + * + * TBD: The combination 8, 4 is perfect for 160 bits; for other + * bit lengths, other parameter combinations might provide better + * efficiency. + */ blocksize = 8; w = 4; if (EC_window_bits_for_scalar_size(bits) > w)