projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c507a16
)
comment
author
Bodo Möller
<bodo@openssl.org>
Thu, 22 Nov 2001 11:08:38 +0000
(11:08 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 22 Nov 2001 11:08:38 +0000
(11:08 +0000)
crypto/ec/ec_mult.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_mult.c
b/crypto/ec/ec_mult.c
index 0649df860993ca94c670bfbb8ec11695cb626f5f..2c430c85bdff898408fc8d0ca20587f1c4c457c9 100644
(file)
--- 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 : \