]> Git Repo - secp256k1.git/blobdiff - src/scalar_4x64_impl.h
Detailed comments for secp256k1_scalar_split_lambda
[secp256k1.git] / src / scalar_4x64_impl.h
index 7f3992786101cf0f603aa447deb673afcdde125f..3d8d2a581c4862db34cfe21b3d9a55991200d70a 100644 (file)
@@ -913,13 +913,13 @@ static void secp256k1_scalar_sqr(secp256k1_scalar *r, const secp256k1_scalar *a)
 }
 
 #ifdef USE_ENDOMORPHISM
-static void secp256k1_scalar_split_128(secp256k1_scalar *r1, secp256k1_scalar *r2, const secp256k1_scalar *a) {
-    r1->d[0] = a->d[0];
-    r1->d[1] = a->d[1];
+static void secp256k1_scalar_split_128(secp256k1_scalar *r1, secp256k1_scalar *r2, const secp256k1_scalar *k) {
+    r1->d[0] = k->d[0];
+    r1->d[1] = k->d[1];
     r1->d[2] = 0;
     r1->d[3] = 0;
-    r2->d[0] = a->d[2];
-    r2->d[1] = a->d[3];
+    r2->d[0] = k->d[2];
+    r2->d[1] = k->d[3];
     r2->d[2] = 0;
     r2->d[3] = 0;
 }
This page took 0.023682 seconds and 4 git commands to generate.