Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port of jacobian/-modified coordinates from Java | Peter Dettman | 2014-01-26 | 2 | -69/+354 |
| | | | | Make jacobian-modified the default coordinates for Fp | ||||
* | Make Barrett reduction available for more prime moduli | Peter Dettman | 2014-01-26 | 1 | -12/+6 |
| | |||||
* | Adjust first-digit optimization to not be so conservative | Peter Dettman | 2014-01-26 | 1 | -12/+7 |
| | |||||
* | Port latest Java fixes for lambda-projective and make it the default for F2m | Peter Dettman | 2014-01-25 | 2 | -68/+92 |
| | |||||
* | Implement Sqrt in F2m | Peter Dettman | 2014-01-25 | 1 | -1/+9 |
| | |||||
* | Add 0 guard in ModInverse | Peter Dettman | 2014-01-25 | 1 | -0/+4 |
| | |||||
* | Implement homogeneous and lambda-projective coordinate systems in F2m curves | Peter Dettman | 2014-01-25 | 2 | -67/+428 |
| | |||||
* | Port of AddOne method(s) from Java | Peter Dettman | 2014-01-25 | 1 | -0/+16 |
| | |||||
* | Default to COORD_HOMOGENEOUS for Fp | Peter Dettman | 2014-01-24 | 1 | -1/+1 |
| | |||||
* | Implement very basic Barrett reduction as alternative to very slow ↵ | Peter Dettman | 2014-01-24 | 1 | -19/+41 |
| | | | | BigInteger.Mod | ||||
* | Implementation of homogeneous coordinates for Fp | Peter Dettman | 2014-01-24 | 3 | -966/+1324 |
| | | | | | Various changes to point methods to deal with non-affine points Changes in client code and tests to apply point normalization | ||||
* | Optimization in ModReduce | Peter Dettman | 2014-01-24 | 1 | -3/+6 |
| | |||||
* | Track carries for a, b to avoid unnecessary add/sub of prime modulus | Peter Dettman | 2014-01-24 | 1 | -17/+42 |
| | |||||
* | Fix return type in SubFromExt | Peter Dettman | 2014-01-24 | 1 | -4/+4 |
| | |||||
* | Track uvLen to reduce shifting for small operands | Peter Dettman | 2014-01-24 | 1 | -9/+18 |
| | |||||
* | Move method | Peter Dettman | 2014-01-24 | 1 | -16/+16 |
| | |||||
* | Port of several interrelated things from Java build: | Peter Dettman | 2014-01-23 | 11 | -578/+1056 |
| | | | | | | | | - Z coordinates for points - More point normalization code - Curve management of point precomp info - Add WNafUtilities and use in multipliers/ECAlgorithms - Make various fields/classes protected/public | ||||
* | Use ImportPoint to make sure points are on same curve | Peter Dettman | 2014-01-23 | 1 | -15/+49 |
| | | | | Add MontgomeryTrick method | ||||
* | Use residue-based reduction for more curves, in particular P-256 | Peter Dettman | 2014-01-23 | 1 | -2/+8 |
| | |||||
* | Add Nat/Mod classes and use instead of (slow) BigInteger.ModInverse ↵ | Peter Dettman | 2014-01-23 | 4 | -495/+636 |
| | | | | implementation for FpFieldElement | ||||
* | Avoid unnecessary multiplication in final ExtEuclid iteration | Peter Dettman | 2014-01-23 | 1 | -32/+16 |
| | |||||
* | Add foundations for supporting other coordinate systems | Peter Dettman | 2014-01-22 | 2 | -85/+226 |
| | | | | | Add curve configuration Multipliers now live on the curve instead of points | ||||
* | Make public | Peter Dettman | 2014-01-22 | 2 | -2/+2 |
| | |||||
* | Override methods to optimize for LongArray | Peter Dettman | 2014-01-22 | 1 | -0/+20 |
| | |||||
* | Use new Math.Field classes in EC curves, and avoid casting in client code | Peter Dettman | 2014-01-22 | 2 | -162/+161 |
| | |||||
* | Implement TwicePlus optimization in Fp curves | Peter Dettman | 2014-01-22 | 3 | -312/+439 |
| | |||||
* | Port LongArray from Java and use in F2mFieldElement | Peter Dettman | 2014-01-22 | 2 | -155/+2079 |
| | |||||
* | Fix Equals methods | Peter Dettman | 2014-01-21 | 2 | -27/+28 |
| | |||||
* | Add new classes in Math.Field and some other EC-related stuff from Java | Peter Dettman | 2014-01-21 | 8 | -0/+255 |
| | |||||
* | Make typed Equals methods public (and virtual) | Peter Dettman | 2014-01-21 | 1 | -3/+3 |
| | |||||
* | Bring Fp field element code mostly up-to-date with Java version | Peter Dettman | 2014-01-21 | 2 | -778/+800 |
| | |||||
* | Registerize top accumulator word in Montgomery multiplication/squaring | Peter Dettman | 2014-01-03 | 1 | -6/+12 |
| | |||||
* | Fix tabs | Peter Dettman | 2014-01-03 | 1 | -2128/+2128 |
| | |||||
* | Use Negate() to simplify | Peter Dettman | 2013-12-05 | 1 | -1/+1 |
| | |||||
* | Add ECFieldElement.GetEncoded() method | Peter Dettman | 2013-12-05 | 1 | -2/+7 |
| | |||||
* | Always apply sign guard | Peter Dettman | 2013-12-03 | 1 | -4/+4 |
| | |||||
* | Initial import of old CVS repository | Peter Dettman | 2013-06-28 | 17 | -0/+8286 |