summary refs log tree commit diff
path: root/crypto/src/math (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* Optimize Reduce() methodPeter Dettman2014-02-011-8/+16
* Optimize Reduce() methodPeter Dettman2014-02-011-6/+17
* Fix Nat*.Gte methodsPeter Dettman2014-02-013-6/+6
* Make Dec/Inc/IncExt methods work at the full length and change assertions acc...Peter Dettman2014-01-313-57/+55
* Avoid modifying the input to the Reduce() methodsPeter Dettman2014-01-314-50/+48
* Improve reduction speed for secp192k1 and secp256k1 custom fieldsPeter Dettman2014-01-314-16/+126
* Add custom curves for secp192k1 and secp192r1 (P-192)Peter Dettman2014-01-319-0/+2169
* RefactoringPeter Dettman2014-01-315-10/+8
* Unroll MulWordAddExtPeter Dettman2014-01-311-8/+24
* Fix final step of Reduce()Peter Dettman2014-01-301-10/+9
* Fix GetBit range-checkPeter Dettman2014-01-301-1/+1
* FormattingPeter Dettman2014-01-301-10/+0
* Take advantage of special prime modulus to optimize sqrtPeter Dettman2014-01-302-4/+107
* Add SquareN to perform repeated modular squaringPeter Dettman2014-01-302-0/+30
* Cleanup various warnings, and reformattingPeter Dettman2014-01-292-2/+3
* Remove unnecessary using statementPeter Dettman2014-01-281-2/+0
* Several optimizations and make notes of possible delayed reductionsPeter Dettman2014-01-281-17/+28
* RefactoringPeter Dettman2014-01-281-2/+1
* Avoid division when decompressing a lambda-projective pointPeter Dettman2014-01-281-9/+5
* Implement multi-squaring in-place and use for F2m sqrt()Peter Dettman2014-01-282-40/+39
* Fix and re-enable twicePlus for lambda-projective coordinatesPeter Dettman2014-01-281-59/+73
* Port point-detaching stuff from JavaPeter Dettman2014-01-283-0/+27
* Port from Java order/cofactor for all curvesPeter Dettman2014-01-283-33/+50
* Port of latest EC multipliers from JavaPeter Dettman2014-01-2713-43/+255
* Make class internalPeter Dettman2014-01-261-1/+1
* Port custom curve for secp256r1 from JavaPeter Dettman2014-01-264-0/+710
* Tidy up commentsPeter Dettman2014-01-262-6/+2
* Port custom curve for secp256k1 from JavaPeter Dettman2014-01-265-0/+1434
* Add diagnosticsPeter Dettman2014-01-261-37/+42
* Fix coord access in Negate()Peter Dettman2014-01-261-36/+8
* Refactor DecompressPointPeter Dettman2014-01-261-8/+3
* Port of jacobian/-modified coordinates from JavaPeter Dettman2014-01-262-69/+354
* Make Barrett reduction available for more prime moduliPeter Dettman2014-01-261-12/+6
* Adjust first-digit optimization to not be so conservativePeter Dettman2014-01-261-12/+7
* Port latest Java fixes for lambda-projective and make it the default for F2mPeter Dettman2014-01-252-68/+92
* Implement Sqrt in F2mPeter Dettman2014-01-251-1/+9
* Add 0 guard in ModInversePeter Dettman2014-01-251-0/+4
* Implement homogeneous and lambda-projective coordinate systems in F2m curvesPeter Dettman2014-01-252-67/+428
* Port of AddOne method(s) from JavaPeter Dettman2014-01-251-0/+16
* Default to COORD_HOMOGENEOUS for FpPeter Dettman2014-01-241-1/+1
* Implement very basic Barrett reduction as alternative to very slow BigInteger...Peter Dettman2014-01-241-19/+41
* Implementation of homogeneous coordinates for FpPeter Dettman2014-01-243-966/+1324
* Optimization in ModReducePeter Dettman2014-01-241-3/+6
* Track carries for a, b to avoid unnecessary add/sub of prime modulusPeter Dettman2014-01-241-17/+42
* Fix return type in SubFromExtPeter Dettman2014-01-241-4/+4
* Track uvLen to reduce shifting for small operandsPeter Dettman2014-01-241-9/+18
* Move methodPeter Dettman2014-01-241-16/+16
* Port of several interrelated things from Java build:Peter Dettman2014-01-2311-578/+1056
* Use ImportPoint to make sure points are on same curvePeter Dettman2014-01-231-15/+49
* Use residue-based reduction for more curves, in particular P-256Peter Dettman2014-01-231-2/+8
* Add Nat/Mod classes and use instead of (slow) BigInteger.ModInverse implement...Peter Dettman2014-01-234-495/+636
* Avoid unnecessary multiplication in final ExtEuclid iterationPeter Dettman2014-01-231-32/+16
* Add foundations for supporting other coordinate systemsPeter Dettman2014-01-222-85/+226
* Make publicPeter Dettman2014-01-222-2/+2
* Override methods to optimize for LongArrayPeter Dettman2014-01-221-0/+20
* Use new Math.Field classes in EC curves, and avoid casting in client codePeter Dettman2014-01-222-162/+161
* Implement TwicePlus optimization in Fp curvesPeter Dettman2014-01-223-312/+439
* Port LongArray from Java and use in F2mFieldElementPeter Dettman2014-01-222-155/+2079
* Fix Equals methodsPeter Dettman2014-01-212-27/+28
* Add new classes in Math.Field and some other EC-related stuff from JavaPeter Dettman2014-01-218-0/+255
* Make typed Equals methods public (and virtual)Peter Dettman2014-01-211-3/+3
* Bring Fp field element code mostly up-to-date with Java versionPeter Dettman2014-01-212-778/+800
* Registerize top accumulator word in Montgomery multiplication/squaringPeter Dettman2014-01-031-6/+12
* Fix tabsPeter Dettman2014-01-031-2128/+2128
* Use Negate() to simplifyPeter Dettman2013-12-051-1/+1
* Add ECFieldElement.GetEncoded() methodPeter Dettman2013-12-051-2/+7
* Always apply sign guardPeter Dettman2013-12-031-4/+4
* Initial import of old CVS repositoryPeter Dettman2013-06-2817-0/+8286