mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-07 20:50:39 +00:00
Update src/backend/serial/scalar_mul/pippenger.rs
Co-Authored-By: Henry de Valence <hdevalence@hdevalence.ca>
This commit is contained in:
parent
9836d6622c
commit
eb82a9d8b6
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ impl VartimeMultiscalarMul for Pippenger {
|
||||||
// Iterate over pairs of (point, scalar)
|
// Iterate over pairs of (point, scalar)
|
||||||
// and add/sub the point to the corresponding bucket.
|
// and add/sub the point to the corresponding bucket.
|
||||||
// Note: if we add support for precomputed lookup tables,
|
// Note: if we add support for precomputed lookup tables,
|
||||||
// we'll be adding/subtractiong point premultiplied by `digits[i]` to buckets[0].
|
// we'll be adding/subtracting point premultiplied by `digits[i]` to buckets[0].
|
||||||
for (digits, pt) in scalars_points.iter() {
|
for (digits, pt) in scalars_points.iter() {
|
||||||
let digit = digits[digit_index];
|
let digit = digits[digit_index];
|
||||||
if digit > 0 {
|
if digit > 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue