summary refs log tree commit diff
path: root/crypto/src/math/ec/ECFieldElement.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make LongArray a struct, refactorPeter Dettman2022-11-041-4/+4
|
* Support encoding without allocationPeter Dettman2022-10-021-1/+18
|
* Refactoring around PlatformPeter Dettman2022-06-291-1/+1
|
* ObsoleteAttribute cleanupPeter Dettman2022-06-221-74/+0
|
* 'safegcd' modular inversionPeter Dettman2020-09-041-8/+1
|
* EC updates from bc-javaPeter Dettman2019-08-011-11/+42
| | | | | | | - use half-trace when possible (odd m) for decompression/validation - provide field-specific half-trace methods for custom curves - clarify the logic of point-order testing for binary curves - expand test cases for invalid points
* EC-related updates from bc-javaPeter Dettman2018-07-101-24/+70
|
* Cache-safety for EC lookup tablesPeter Dettman2018-04-151-2/+2
| | | | | | - creation of cache-safe lookup tables delegated to ECCurve - FixedPointCombMultiplier uses cache-safe lookup table - FixedPointCombMultiplier avoids BigInteger.TestBit
* http://www.bouncycastle.org/jira/browse/BMA-82Peter Dettman2015-10-181-2/+1
| | | | - use SecureRandom to generate "arbitrary" values
* Add range checks to F2m field elementsPeter Dettman2015-06-091-0/+3
|
* Math.Raw support for custom binary curvesPeter Dettman2015-03-231-0/+1
| | | | - Also migrate the 'raw' stuff into Math.Raw following Java build
* Add SquarePow method to ECFieldElementPeter Dettman2015-03-231-8/+16
|
* Refactoring in Sqrt()Peter Dettman2014-02-261-14/+6
|
* Refactoring in Sqrt()Peter Dettman2014-02-251-13/+12
|
* Implement the 8m + 5 case from Pocklington's sqrt algorithm (seems to be ↵Peter Dettman2014-02-251-7/+45
| | | | only used by secp224k1)
* Delete old commented-out codePeter Dettman2014-02-091-476/+0
|
* Add custom curve for secp521r1 (P-521)Peter Dettman2014-02-011-5/+4
|
* Add support for delayed modular reductionPeter Dettman2014-02-011-1/+108
|
* Implement multi-squaring in-place and use for F2m sqrt()Peter Dettman2014-01-281-7/+6
|
* Make Barrett reduction available for more prime moduliPeter Dettman2014-01-261-12/+6
|
* Implement Sqrt in F2mPeter Dettman2014-01-251-1/+9
|
* Port of AddOne method(s) from JavaPeter Dettman2014-01-251-0/+16
|
* Implement very basic Barrett reduction as alternative to very slow ↵Peter Dettman2014-01-241-19/+41
| | | | BigInteger.Mod
* Optimization in ModReducePeter Dettman2014-01-241-3/+6
|
* 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 ↵Peter Dettman2014-01-231-10/+26
| | | | implementation for FpFieldElement
* Override methods to optimize for LongArrayPeter Dettman2014-01-221-0/+20
|
* Port LongArray from Java and use in F2mFieldElementPeter Dettman2014-01-221-155/+56
|
* Fix Equals methodsPeter Dettman2014-01-211-13/+7
|
* 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-211-776/+797
|
* Add ECFieldElement.GetEncoded() methodPeter Dettman2013-12-051-2/+7
|
* Initial import of old CVS repositoryPeter Dettman2013-06-281-0/+1253