فهرست منبع

minor cosmetic changes.

Ugochukwu Mmaduekwe 7 سال پیش
والد
کامیت
4068a9cda7

+ 2 - 2
CryptoLib/src/Interfaces/ClpIWTauNafMultiplier.pas

@@ -33,7 +33,7 @@ type
     ['{B71E75E5-FB6D-4A54-BE8A-820FC9A1E509}']
     ['{B71E75E5-FB6D-4A54-BE8A-820FC9A1E509}']
 
 
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code> using
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code> using
     // * the <code>&#964;</code>-adic NAF (TNAF) method.
     // * the <code>&#964;</code>-adic NAF (TNAF) method.
     // * @param p The AbstractF2mPoint to multiply.
     // * @param p The AbstractF2mPoint to multiply.
@@ -47,7 +47,7 @@ type
       a, mu: ShortInt): IAbstractF2mPoint;
       a, mu: ShortInt): IAbstractF2mPoint;
 
 
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by <code>k</code> using the reduced <code>&#964;</code>-adic NAF (RTNAF)
     // * by <code>k</code> using the reduced <code>&#964;</code>-adic NAF (RTNAF)
     // * method.
     // * method.
     // * @param p The AbstractF2mPoint to multiply.
     // * @param p The AbstractF2mPoint to multiply.

+ 3 - 5
CryptoLib/src/Math/EC/Abc/ClpTnaf.pas

@@ -235,7 +235,7 @@ type
       : IZTauElement; static;
       : IZTauElement; static;
 
 
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code>
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code>
     // * using the <code>&#964;</code>-adic NAF (TNAF) method.
     // * using the <code>&#964;</code>-adic NAF (TNAF) method.
     // * @param p The AbstractF2mPoint to Multiply.
     // * @param p The AbstractF2mPoint to Multiply.
@@ -247,7 +247,7 @@ type
       const lambda: IZTauElement): IAbstractF2mPoint; static; inline;
       const lambda: IZTauElement): IAbstractF2mPoint; static; inline;
 
 
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code>
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code>
     // * using the <code>&#964;</code>-adic NAF (TNAF) method, given the TNAF
     // * using the <code>&#964;</code>-adic NAF (TNAF) method, given the TNAF
     // * of <code>&#955;</code>.
     // * of <code>&#955;</code>.
@@ -287,7 +287,7 @@ type
       : TCryptoLibGenericArray<IAbstractF2mPoint>; static;
       : TCryptoLibGenericArray<IAbstractF2mPoint>; static;
 
 
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by a <code>BigInteger</code> using the reduced <code>&#964;</code>-adic
     // * by a <code>BigInteger</code> using the reduced <code>&#964;</code>-adic
     // * NAF (RTNAF) method.
     // * NAF (RTNAF) method.
     // * @param p The AbstractF2mPoint to Multiply.
     // * @param p The AbstractF2mPoint to Multiply.
@@ -397,8 +397,6 @@ begin
   i := 1;
   i := 1;
 
 
   while i < k do
   while i < k do
-
-  // for (int i = 1; i < k; i++)
   begin
   begin
     // u2 = mu*u1 - 2*u0;
     // u2 = mu*u1 - 2*u0;
     s := Default (TBigInteger);
     s := Default (TBigInteger);

+ 3 - 3
CryptoLib/src/Math/EC/Multiplier/ClpWTauNafMultiplier.pas

@@ -51,7 +51,7 @@ type
     PRECOMP_NAME = 'bc_wtnaf';
     PRECOMP_NAME = 'bc_wtnaf';
 
 
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code> using
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code> using
     // * the <code>&#964;</code>-adic NAF (TNAF) method.
     // * the <code>&#964;</code>-adic NAF (TNAF) method.
     // * @param p The AbstractF2mPoint to multiply.
     // * @param p The AbstractF2mPoint to multiply.
@@ -65,7 +65,7 @@ type
       a, mu: ShortInt): IAbstractF2mPoint; inline;
       a, mu: ShortInt): IAbstractF2mPoint; inline;
 
 
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code>
     // * by an element <code>&#955;</code> of <code><b>Z</b>[&#964;]</code>
     // * using the window <code>&#964;</code>-adic NAF (TNAF) method, given the
     // * using the window <code>&#964;</code>-adic NAF (TNAF) method, given the
     // * WTNAF of <code>&#955;</code>.
     // * WTNAF of <code>&#955;</code>.
@@ -79,7 +79,7 @@ type
 
 
   strict protected
   strict protected
     // /**
     // /**
-    // * Multiplies a {@link org.bouncycastle.math.ec.AbstractF2mPoint AbstractF2mPoint}
+    // * Multiplies an AbstractF2mPoint
     // * by <code>k</code> using the reduced <code>&#964;</code>-adic NAF (RTNAF)
     // * by <code>k</code> using the reduced <code>&#964;</code>-adic NAF (RTNAF)
     // * method.
     // * method.
     // * @param p The AbstractF2mPoint to multiply.
     // * @param p The AbstractF2mPoint to multiply.

+ 2 - 2
CryptoLib/src/Math/EC/Multiplier/ClpWTauNafPreCompInfo.pas

@@ -44,8 +44,8 @@ type
     // /**
     // /**
     // * Array holding the precomputed <code>AbstractF2mPoint</code>s used for the
     // * Array holding the precomputed <code>AbstractF2mPoint</code>s used for the
     // * WTNAF multiplication in <code>
     // * WTNAF multiplication in <code>
-    // * {@link org.bouncycastle.math.ec.multiplier.WTauNafMultiplier.multiply()
-    // * WTauNafMultiplier.multiply()}</code>.
+    // * math.ec.multiplier.WTauNafMultiplier.multiply()
+    // * WTauNafMultiplier.multiply()</code>.
     // */
     // */
     Fm_preComp: TCryptoLibGenericArray<IAbstractF2mPoint>;
     Fm_preComp: TCryptoLibGenericArray<IAbstractF2mPoint>;