group: Hard-code a w-NAF window size of 4

We were already ignoring the actual bit length of the scalar, and
selecting the window size based on the maximum bit length, which
effectively hard-coded a window size of 4.
This commit is contained in:
Jack Grigg 2020-08-12 08:12:48 +01:00
parent 6875667f1d
commit 74c7d4914d
1 changed files with 0 additions and 4 deletions

View File

@ -417,10 +417,6 @@ impl Curve for Fr {
}
impl WnafGroup for Fr {
fn recommended_wnaf_for_scalar(_: &Self::Scalar) -> usize {
3
}
fn recommended_wnaf_for_num_scalars(_: usize) -> usize {
3
}