summary refs log tree commit diff
path: root/crypto/test/src/math (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make LongArray a struct, refactorPeter Dettman2022-11-041-7/+7
|
* Clenaup warningsPeter Dettman2022-11-031-0/+2
|
* Change method names in IXofPeter Dettman2022-10-111-2/+2
| | | | - distinct from IDigest methods and consistent with span-based methods
* Custom serializationPeter Dettman2022-07-011-1/+21
|
* Generics migration completePeter Dettman2022-06-294-11/+9
|
* RefactoringPeter Dettman2022-06-251-5/+5
|
* Update EC curve registry classesPeter Dettman2022-06-242-15/+12
|
* New build organizationPeter Dettman2022-06-234-5/+5
| | | | - TargetFrameworks netstandard2.0;net40
* Cleanup redundant test classesPeter Dettman2022-06-232-49/+0
|
* Remove Main methods from test classesPeter Dettman2022-06-234-216/+0
|
* Code cleanupPeter Dettman2022-06-222-2/+2
|
* Remove per-ECPoint compressionPeter Dettman2022-06-211-1/+1
|
* NUnit tweaksPeter Dettman2022-06-165-16/+16
|
* minor corrections, updated ECPointTestDavid Hook2022-03-231-2/+2
|
* EdDSA public key validationPeter Dettman2021-02-102-2/+182
| | | | - per NIST SP 800-186
* Avoid NUnit test adapter running perf testPeter Dettman2020-04-061-1/+1
|
* Add new X448 test cases from bc-javaPeter Dettman2019-08-291-0/+190
|
* EC updates from bc-javaPeter Dettman2019-08-011-7/+138
| | | | | | | - 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
* Adapt test to access restrictionsPeter Dettman2019-07-291-16/+35
|
* Remove unused importsPeter Dettman2019-07-291-4/+0
|
* Fix field reduction for custom secp128r1 curvePeter Dettman2019-07-291-0/+46
| | | | - see https://github.com/bcgit/bc-java/issues/566
* Update ECPointTest.csKristian Rastrup2019-06-121-2/+2
| | | Updated to test all points and not just the first
* Higher-level API support for Ed25519/Ed448/X25519/X448Peter Dettman2018-09-212-9/+9
|
* RFC 8032: Implement Ed25519ctx, Ed25519ph, Ed448ph variantsPeter Dettman2018-09-142-13/+446
|
* RFC 7748: Export size constants for scalars, pointsPeter Dettman2018-09-142-42/+60
|
* EC-related updates from bc-javaPeter Dettman2018-07-101-0/+18
|
* Add Ed25519 and Ed448 from RFC 8032Peter Dettman2018-07-082-0/+631
|
* Add X25519 and X448 from RFC 7748Peter Dettman2018-04-172-0/+367
| | | | - includes optimized ladders for base points
* Cache-safety for EC lookup tablesPeter Dettman2018-04-152-0/+67
| | | | | | - creation of cache-safe lookup tables delegated to ECCurve - FixedPointCombMultiplier uses cache-safe lookup table - FixedPointCombMultiplier avoids BigInteger.TestBit
* Fix various issues trying to build for .NET 1.1Peter Dettman2017-08-132-10/+62
|
* Fix carry propagation bug in Nat???.Square methodsPeter Dettman2016-11-302-0/+327
|
* RefactoringPeter Dettman2016-02-022-28/+15
|
* Optimized Sqrt and Trace for custom binary curvesPeter Dettman2015-12-281-0/+13
|
* Add DOTNET and LIB preprocessor flags as per BouncyCastle-PCLPeter Dettman2015-11-092-0/+4
|
* Port PrimesTest from JavaPeter Dettman2015-10-292-0/+180
|
* Avoid duplicate testsPeter Dettman2015-10-291-3/+3
|
* Mark expensive tests with ExplicitAttribute and add faster alternativesPeter Dettman2015-10-281-36/+62
|
* Add consistency checks with custom curves and regularPeter Dettman2015-08-141-6/+45
|
* F2mCurve cleanupPeter Dettman2015-03-261-1/+1
|
* Only test each named curve oncePeter Dettman2015-03-241-1/+3
|
* Port of TlsTestSuite from Java, and misc. TLS codePeter Dettman2015-03-092-23/+21
| | | | - Upgrade to NUnit 2.6.4 and adjust various test code
* Add automatic EC point validation for decoded points and for multiplier outputsPeter Dettman2014-07-231-31/+2
|
* Reduce the number of test casesPeter Dettman2014-07-211-1/+1
|
* Asterisk the default coordinates for each curvePeter Dettman2014-07-021-3/+5
|
* Port ECAlgorithmsTest from JavaPeter Dettman2014-07-013-5/+157
|
* Port of latest Curve25519 stuff from Java buildPeter Dettman2014-03-172-5/+24
|
* Change primary measurement to multiplication rate using fixed-duration roundsPeter Dettman2014-03-141-24/+47
|
* Weight the performance test more towards random pointsPeter Dettman2014-03-121-3/+9
|
* Adapt performance test to exclude outliers form averagePeter Dettman2014-03-101-15/+32
|
* Fix infinite loop issue when there is no sqrtPeter Dettman2014-03-041-0/+25
| | | | Add test case to check that Sqrt returns null for non-squares
* Check a few more points in the encoding testPeter Dettman2014-02-251-1/+7
|
* Use GetEncoded(boolean) instead of deprecated constructorPeter Dettman2014-02-091-7/+3
|
* Add order/cofactor to the small test curvesPeter Dettman2014-02-061-10/+18
|
* Increase number of roundsPeter Dettman2014-01-261-3/+2
|
* Change F2m test curve to match Java version more clearlyPeter Dettman2014-01-251-18/+14
|
* FormattingPeter Dettman2014-01-241-8/+4
|
* Some more EC point normalizationPeter Dettman2014-01-241-1/+1
|
* Run point test on all supported coordinate systemsPeter Dettman2014-01-241-13/+36
|
* Implementation of homogeneous coordinates for FpPeter Dettman2014-01-242-76/+99
| | | | | Various changes to point methods to deal with non-affine points Changes in client code and tests to apply point normalization
* Rewrite some tests to avoid (obsoleted) explicit field element constructionPeter Dettman2014-01-231-4/+2
|
* FormattingPeter Dettman2014-01-231-987/+987
|
* Add foundations for supporting other coordinate systemsPeter Dettman2014-01-222-12/+34
| | | | | Add curve configuration Multipliers now live on the curve instead of points
* Use new Math.Field classes in EC curves, and avoid casting in client codePeter Dettman2014-01-221-13/+2
|
* Implement TwicePlus optimization in Fp curvesPeter Dettman2014-01-221-0/+19
|
* Bring EC performance test up-to-date with Java versionPeter Dettman2014-01-211-53/+109
|
* Use ECCurve.CreatePointPeter Dettman2014-01-211-430/+428
| | | | Formatting
* Initial import of old CVS repositoryPeter Dettman2013-06-287-0/+1985