Commit 3c42a85
notnotraju
fix: use BB_ASSERT_EQ instead of BB_ASSERT for WNAF scalar sum check
BB_ASSERT(scalar_sum - entry.wnaf_skew, entry.scalar) checks whether
the first argument is non-zero (truthiness), silently ignoring the
second argument. The intent is to verify equality, so use BB_ASSERT_EQ
which actually compares the two values and reports both on failure.
Builder-only, not a constraint — no soundness impact.1 parent 28b8833 commit 3c42a85
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments