Fix source where indent will not be able to cope
[openssl.git] / crypto / ec / ecp_nistp521.c
index 7ff3a0b1be8bc1e898a21758b1d57717b366e135..eec9f4220b3682b4c0f78a07048b4e69a9dd9b58 100644 (file)
@@ -207,8 +207,10 @@ static BIGNUM *felem_to_BN(BIGNUM *out, const felem in)
        }
 
 
-/* Field operations
- * ---------------- */
+/*-
+ * Field operations
+ * ----------------
+ */
 
 static void felem_one(felem out)
        {
@@ -622,8 +624,10 @@ static void felem_reduce(felem out, const largefelem in)
 
        out[1] += ((limb) in[0]) >> 58;
        out[1] += (((limb) (in[0] >> 64)) & bottom52bits) << 6;
-       /* out[1] < 2^58 + 2^6 + 2^58
-        *        = 2^59 + 2^6 */
+       /*-
+        * out[1] < 2^58 + 2^6 + 2^58
+        *        = 2^59 + 2^6
+        */
        out[2] += ((limb) (in[0] >> 64)) >> 52;
 
        out[2] += ((limb) in[1]) >> 58;
@@ -652,8 +656,10 @@ static void felem_reduce(felem out, const largefelem in)
 
        out[8] += ((limb) in[7]) >> 58;
        out[8] += (((limb) (in[7] >> 64)) & bottom52bits) << 6;
-       /* out[x > 1] < 2^58 + 2^6 + 2^58 + 2^12
-        *            < 2^59 + 2^13 */
+       /*-
+        * out[x > 1] < 2^58 + 2^6 + 2^58 + 2^12
+        *            < 2^59 + 2^13
+        */
        overflow1 = ((limb) (in[7] >> 64)) >> 52;
 
        overflow1 += ((limb) in[8]) >> 58;
@@ -667,9 +673,11 @@ static void felem_reduce(felem out, const largefelem in)
        out[1] += overflow2;  /* out[1] < 2^59 + 2^6 + 2^13 */
 
        out[1] += out[0] >> 58; out[0] &= bottom58bits;
-       /* out[0] < 2^58
+       /*-
+        * out[0] < 2^58
         * out[1] < 2^59 + 2^6 + 2^13 + 2^2
-        *        < 2^59 + 2^14 */
+        *        < 2^59 + 2^14
+        */
        }
 
 static void felem_square_reduce(felem out, const felem in)
@@ -1214,9 +1222,11 @@ static void point_add(felem x3, felem y3, felem z3,
        felem_scalar128(tmp2, 2);
        /* tmp2[i] < 17*2^121 */
        felem_diff128(tmp, tmp2);
-       /* tmp[i] < 2^127 - 2^69 + 17*2^122
+       /*-
+        * tmp[i] < 2^127 - 2^69 + 17*2^122
         *        = 2^126 - 2^122 - 2^6 - 2^2 - 1
-        *        < 2^127 */
+        *        < 2^127
+        */
        felem_reduce(y_out, tmp);
 
        copy_conditional(x_out, x2, z1_is_zero);