diff options
Diffstat (limited to 'src/usr.bin')
-rw-r--r-- | src/usr.bin/signify/smult_curve25519_ref.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr.bin/signify/smult_curve25519_ref.c b/src/usr.bin/signify/smult_curve25519_ref.c index 0ed7ffa..0c6a62b 100644 --- a/src/usr.bin/signify/smult_curve25519_ref.c +++ b/src/usr.bin/signify/smult_curve25519_ref.c @@ -107,7 +107,7 @@ static void square(unsigned int out[32],const unsigned int a[32]) squeeze(out); } -static void select(unsigned int p[64],unsigned int q[64],const unsigned int r[64],const unsigned int s[64],unsigned int b) +static void select_(unsigned int p[64],unsigned int q[64],const unsigned int r[64],const unsigned int s[64],unsigned int b) { unsigned int j; unsigned int t; @@ -152,7 +152,7 @@ static void mainloop(unsigned int work[64],const unsigned char e[32]) for (pos = 254;pos >= 0;--pos) { b = e[pos / 8] >> (pos & 7); b &= 1; - select(xzmb,xzm1b,xzm,xzm1,b); + select_(xzmb,xzm1b,xzm,xzm1,b); add(a0,xzmb,xzmb + 32); sub(a0 + 32,xzmb,xzmb + 32); add(a1,xzm1b,xzm1b + 32); @@ -171,7 +171,7 @@ static void mainloop(unsigned int work[64],const unsigned char e[32]) mult(xznb + 32,s,u); square(xzn1b,c1); mult(xzn1b + 32,r,work); - select(xzm,xzm1,xznb,xzn1b,b); + select_(xzm,xzm1,xznb,xzn1b,b); } for (j = 0;j < 64;++j) work[j] = xzm[j]; |