summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_mult.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-11-22 11:08:38 +0000
committerBodo Möller <bodo@openssl.org>2001-11-22 11:08:38 +0000
commitc05940edc7ecce1787cc6588a3a99ca5d0bc7c64 (patch)
tree4259b85f4d2095aa16dcfb34ba6d70d9b7b3950c /crypto/ec/ec_mult.c
parentc507a16e49a789588e2b7e93e1fa9adf3ba16410 (diff)
comment
Diffstat (limited to 'crypto/ec/ec_mult.c')
-rw-r--r--crypto/ec/ec_mult.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c
index 0649df8609..2c430c85bd 100644
--- a/crypto/ec/ec_mult.c
+++ b/crypto/ec/ec_mult.c
@@ -171,7 +171,10 @@ static signed char *compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len, B
}
-/* TODO: table should be optimised for the wNAF-based implementation */
+/* TODO: table should be optimised for the wNAF-based implementation,
+ * sometimes smaller windows will give better performance
+ * (thus the boundaries should be increased)
+ */
#define EC_window_bits_for_scalar_size(b) \
((b) >= 2000 ? 6 : \
(b) >= 800 ? 5 : \