aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/X25519/C64/scalarmult.c
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-09-27 10:15:00 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-09-27 10:15:00 -0400
commitbdcc7c30e374eb3aebb6de30c3fbf9e4555194c6 (patch)
tree49e7c8e6ecd1a208a1c018a37ac189f63f6ccf89 /src/Specific/X25519/C64/scalarmult.c
parentc7a0422b05fe0cf22724fe3b22c1cf1e8d0bd774 (diff)
Add src/Specific/X25519/C32/compiler.sh, update src/Specific/X25519/C64/scalarmult.c
Diffstat (limited to 'src/Specific/X25519/C64/scalarmult.c')
-rw-r--r--src/Specific/X25519/C64/scalarmult.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Specific/X25519/C64/scalarmult.c b/src/Specific/X25519/C64/scalarmult.c
index ba0d6338d..ffe015012 100644
--- a/src/Specific/X25519/C64/scalarmult.c
+++ b/src/Specific/X25519/C64/scalarmult.c
@@ -10,7 +10,7 @@
*
* http://code.google.com/p/curve25519-donna/
*
- * (modified by Andres Erbsen)
+ * (modified by Andres Erbsen and Jason Gross)
* Adam Langley <agl@imperialviolet.org>
* Parts optimised by floodyberry
* Derived from public domain C code by Daniel J. Bernstein <djb@cr.yp.to>
@@ -164,7 +164,7 @@ fmonty(limb *x2, limb *z2, /* output 2Q */
x2[2] = out[ 2];
x2[1] = out[ 3];
x2[0] = out[ 4];
- z2[4] = out[ 5];
+ z2[4] = out[ 5];
z2[3] = out[ 6];
z2[2] = out[ 7];
z2[1] = out[ 8];
@@ -178,7 +178,7 @@ fmonty(limb *x2, limb *z2, /* output 2Q */
z3[3] = out[16];
z3[2] = out[17];
z3[1] = out[18];
- z3[0] = out[19];
+ z3[0] = out[19];
}
// -----------------------------------------------------------------------------