aztec-2.0 icon indicating copy to clipboard operation
aztec-2.0 copied to clipboard

A potential bug in scalar_multiplication.cpp

Open BoyuanFeng opened this issue 3 years ago • 0 comments

Hi,

Thanks for the great optimizations on batch affine!

When reading the implementation for add_affine_points_with_edge_cases(...), I found the following for loop which seems to iterate forever.

for (size_t i = (num_points)-2; i < num_points; i -= 2) { ... }

Any suggestions? Thanks!

BoyuanFeng avatar Mar 24 '22 00:03 BoyuanFeng