about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-03-25 21:04:36 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-03-25 21:04:36 +0100
commite0550b82057b420493949cabd7675766c3051289 (patch)
treebc20085b4032c75f82b6569da7ecaaaf8c2fdb69 /src
parentceb2e95cdb262272db8852955b59f73bd49f9c73 (diff)
downloadoutils-e0550b82057b420493949cabd7675766c3051289.tar.gz
outils-e0550b82057b420493949cabd7675766c3051289.tar.xz
outils-e0550b82057b420493949cabd7675766c3051289.zip
signify/smult_curve25519_ref.c: avoid POSIX-reserved identifier.
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/signify/smult_curve25519_ref.c6
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];