comment
This commit is contained in:
parent
24893ca999
commit
82871eaa17
@ -795,6 +795,13 @@ CRYPTO_push_info("ec_wNAF_precompute_mult");
|
|||||||
}
|
}
|
||||||
|
|
||||||
bits = BN_num_bits(order);
|
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;
|
blocksize = 8;
|
||||||
w = 4;
|
w = 4;
|
||||||
if (EC_window_bits_for_scalar_size(bits) > w)
|
if (EC_window_bits_for_scalar_size(bits) > w)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user