Browse Source

remove change which was used to work around test code limitations

master
Michael Hamburg 9 years ago
parent
commit
16f5679853
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/decaf_fast.c

+ 1
- 3
src/decaf_fast.c View File

@@ -1373,9 +1373,7 @@ decaf_bool_t API_NS(direct_scalarmul) (
int j;
decaf_bool_t pflip = 0;
for (j=SCALAR_BITS+1; j>=0; j--) {
/* FIXME: -1, but the test cases use too many bits */
for (j=SCALAR_BITS-1; j>=0; j--) {
/* Augmented Montgomery ladder */
decaf_bool_t flip = -((scalar->limb[j/WBITS]>>(j%WBITS))&1);


Loading…
Cancel
Save