summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Add order/cofactor to Fp curvesPeter Dettman2014-02-048-802/+917
|
* Initial work on a fixed-point comb multiplierPeter Dettman2014-02-044-0/+141
|
* For repeated doublings, use jacobian-modified coordinates internally ↵Peter Dettman2014-02-041-1/+83
| | | | irrespective of curve coordinates
* Implement Karatsuba multiply/square on 512-bit numbers and use as basis for ↵Peter Dettman2014-02-035-63/+582
| | | | P-521 multiply/square
* Minor optimization for secp521r1 point doublingPeter Dettman2014-02-023-5/+48
|
* Bring OCB test vectors up-to-date with draft v06Peter Dettman2014-02-022-81/+132
|
* Add custom curve for secp521r1 (P-521)Peter Dettman2014-02-019-109/+777
|
* Add support for delayed modular reductionPeter Dettman2014-02-013-35/+314
|
* ReformattingPeter Dettman2014-02-011-2/+0
|
* ReformatPeter Dettman2014-02-013-6/+0
|
* Fix IncExtPeter Dettman2014-02-011-1/+1
|
* Rename locals in Reduce() methodsPeter Dettman2014-02-012-33/+33
|
* 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 ↵Peter Dettman2014-01-313-57/+55
| | | | accordingly
* 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-3111-0/+2259
|
* RefactoringPeter Dettman2014-01-315-10/+8
|
* Unroll MulWordAddExtPeter Dettman2014-01-311-8/+24
|
* Use BigInteger.One instead of BigInteger.ValueOf(1)Peter Dettman2014-01-311-25/+25
|
* 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-2913-1112/+1104
|
* Update copyrights and add missing Inc.Peter Dettman2014-01-282-3/+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-284-41/+52
|
* Port of latest EC multipliers from JavaPeter Dettman2014-01-2714-45/+292
|
* Use custom curve if availablePeter Dettman2014-01-263-220/+189
|
* FormattingPeter Dettman2014-01-262-359/+359
|
* Add new test case for 96 bit tag from CFRGPeter Dettman2014-01-261-31/+31
|
* When OCB is used with incrementing nonces, the cipher processing during ↵Peter Dettman2014-01-262-23/+67
| | | | initialization is only needed once every 64 inits.
* Make class internalPeter Dettman2014-01-261-1/+1
|
* Port custom curve for secp256r1 from JavaPeter Dettman2014-01-266-1/+758
|
* Tidy up commentsPeter Dettman2014-01-262-6/+2
|
* Port custom curve for secp256k1 from JavaPeter Dettman2014-01-267-15/+1499
|
* Add methods working with uint[]Peter Dettman2014-01-261-2/+44
|
* Add diagnosticsPeter Dettman2014-01-261-37/+42
|
* Fix coord access in Negate()Peter Dettman2014-01-261-36/+8
| | | | Reformatting
* Refactor DecompressPointPeter Dettman2014-01-261-8/+3
|
* Port of jacobian/-modified coordinates from JavaPeter Dettman2014-01-262-69/+354
| | | | Make jacobian-modified the default coordinates for Fp
* Make Barrett reduction available for more prime moduliPeter Dettman2014-01-261-12/+6
|
* Increase number of roundsPeter Dettman2014-01-261-3/+2
|
* 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
|
* Change F2m test curve to match Java version more clearlyPeter Dettman2014-01-251-18/+14
|
* 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
|
* Use AesEngine by defaultPeter Dettman2014-01-251-3/+8
|
* FormattingPeter Dettman2014-01-242-74/+70
|
* Some more EC point normalizationPeter Dettman2014-01-246-104/+103
|
* Default to COORD_HOMOGENEOUS for FpPeter Dettman2014-01-241-1/+1
|
* Implement very basic Barrett reduction as alternative to very slow ↵Peter Dettman2014-01-241-19/+41
| | | | BigInteger.Mod
* Run point test on all supported coordinate systemsPeter Dettman2014-01-241-13/+36
|
* Implementation of homogeneous coordinates for FpPeter Dettman2014-01-2420-5626/+6012
| | | | | Various changes to point methods to deal with non-affine points Changes in client code and tests to apply point normalization
* 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
|
* Make class abstractPeter Dettman2014-01-241-32/+24
|
* 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-2312-578/+1061
| | | | | | | | - 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 curvePeter Dettman2014-01-231-15/+49
| | | | Add MontgomeryTrick method
* Update test dataPeter Dettman2014-01-231-3/+3
|
* Rewrite some tests to avoid (obsoleted) explicit field element constructionPeter Dettman2014-01-233-438/+423
|
* FormattingPeter Dettman2014-01-231-45/+45
|
* 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-235-497/+643
| | | | implementation for FpFieldElement
* Avoid unnecessary multiplication in final ExtEuclid iterationPeter Dettman2014-01-231-32/+16
|
* FormattingPeter Dettman2014-01-231-987/+987
|
* Add foundations for supporting other coordinate systemsPeter Dettman2014-01-224-97/+260
| | | | | Add curve configuration Multipliers now live on the curve instead of points
* 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-226-362/+387
|
* Implement TwicePlus optimization in Fp curvesPeter Dettman2014-01-224-312/+458
|
* Port LongArray from Java and use in F2mFieldElementPeter Dettman2014-01-224-157/+2091
|
* BMA-119Peter Dettman2014-01-212-1202/+1097
| | | | | Make GetValueList methods consistent Remove obsolete X509Name methods
* Fix up openssl test casesPeter Dettman2014-01-212-690/+689
|
* Remove DerUnknownTag classPeter Dettman2014-01-212-85/+0
|
* Stop using DerUnknownTag (throw exceptions during parsing instead)Peter Dettman2014-01-214-464/+457
|
* BMA-118Peter Dettman2014-01-211-95/+88
| | | | Handle null properly in AuthorityInformationAccess.GetInstance
* ReformatPeter Dettman2014-01-211-44/+42
|
* BMA-116Peter Dettman2014-01-213-249/+266
| | | | Update some Asn1.X509 classes from Java
* Fix Equals methodsPeter Dettman2014-01-212-27/+28
|
* Fix digest test constructorsPeter Dettman2014-01-2115-261/+261
| | | | Formatting
* Update for timwPeter Dettman2014-01-211-1/+1
|
* Add new files to project, rename Sm3 to SM3Peter Dettman2014-01-214-17/+92
|
* Fix up mergePeter Dettman2014-01-212-12/+29
|
* Merge branch 'feature/threefish-skein-memoable-sm3' of ↵Peter Dettman2014-01-2153-1947/+5149
|\ | | | | | | | | | | | | | | git://github.com/timw/bc-csharp into timw-feature/threefish-skein-memoable-sm3 Conflicts: crypto/crypto.mdp crypto/src/util/Arrays.cs
| * Port HMac optimisation using Memoable digests from bc-java.Tim Whittington2013-10-201-7/+37
| |
| * Refactor digest tests to subclass DigestTest, the same as bc-java.Tim Whittington2013-10-2014-1869/+644
| |
| * Port SM3 digest implementation and tests from bc-java.Tim Whittington2013-10-204-0/+405
| |
| * Port Memoable digest support from bc-java.Tim Whittington2013-10-2025-96/+536
| |
| * Port SkeinDigest and SkeinMac from bc-java.Tim Whittington2013-10-209-0/+1847
| | | | | | | | Skein digest and Mac in 256/512/1024 bit state sizes (and arbitrary byte level output size), with unit tests.
| * Port of Threefish implementation from bc-java.Tim Whittington2013-10-208-1/+1737
| | | | | | | | All block sizes (256/5124/1024) and unit tests.
* | Merge branch 'pkix-validator-throw' of git://github.com/jstedfast/bc-csharp ↵Peter2014-01-211-5/+5
|\ \ | | | | | | | | | into jstedfast-pkix-validator-throw
| * | Need to throw the new exceptions rather than leaving them to fall into the voidJeffrey Stedfast2013-11-241-5/+5
| | |
* | | Bring EC performance test up-to-date with Java versionPeter Dettman2014-01-211-53/+109
| | |
* | | Add new classes in Math.Field and some other EC-related stuff from JavaPeter Dettman2014-01-2112-0/+540
| | |
* | | Use ECCurve.CreatePointPeter Dettman2014-01-211-430/+428
| | | | | | | | | | | | Formatting
* | | FormattingPeter Dettman2014-01-211-714/+714
| | |
* | | FormattingPeter Dettman2014-01-211-1173/+1173
| | |
* | | Add target frameworks for mono-3.5 and -4.0Peter2014-01-211-0/+14
| | |
* | | Make typed Equals methods public (and virtual)Peter Dettman2014-01-211-3/+3
| | |
* | | Merge branch 'master' of git.bouncycastle.org:bc-csharpPeter Dettman2014-01-212-13/+25
|\ \ \
| * | | added Camellia tagsDavid Hook2014-01-151-2/+11
| | | |
| * | | added Camellia tagsDavid Hook2014-01-151-11/+14
| | | |
* | | | Remove old MonoDevelop project files, since MonoDevelop now supports the ↵Peter Dettman2014-01-213-2371/+0
| | | | | | | | | | | | | | | | Visual Studio formats
* | | | Make static utility classes abstract instead of sealedPeter Dettman2014-01-216-298/+288
| | | | | | | | | | | | | | | | | | | | Add Arrays.GetHashCode for int[] Formatting
* | | | Bring Fp field element code mostly up-to-date with Java versionPeter Dettman2014-01-212-778/+800
| | | |
* | | | Fix XML commentsPeter Dettman2014-01-212-5/+5
|/ / /
* | | Registerize top accumulator word in Montgomery multiplication/squaringPeter Dettman2014-01-031-6/+12
| | |
* | | Fix tabsPeter Dettman2014-01-031-2128/+2128
| | |
* | | Make date format consistent with Java testsPeter Dettman2013-12-293-9/+9
| | |
* | | Use Platform.ToUpperInvariantPeter Dettman2013-12-181-1/+1
| | |
* | | Port of PrfAlgorithm and ProtocolVersion from Java TLSPeter Dettman2013-12-184-0/+196
| | |
* | | Factor out variation of MacUtilities.DoFinalPeter Dettman2013-12-182-4/+8
| | |
* | | Clean up all the special handling for IDEA stuff, back to a single release ↵Peter Dettman2013-12-1714-3115/+3035
| | | | | | | | | | | | assembly.
* | | More porting from Java TLS, mainly enum replacementPeter Dettman2013-12-1728-821/+1100
| | |
* | | A round of porting from Java TLSPeter Dettman2013-12-1729-1196/+1748
| | |
* | | Add methods for converting from BC RSAPrivateKeyStructurePeter Dettman2013-12-071-13/+34
| | |
* | | 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
|/ /
* | Use 1/n-1 record splitting instead of 0/nPeter Dettman2013-11-201-13/+24
| |
* | Auto-initialize random if necessaryPeter Dettman2013-11-111-0/+5
| |
* | Don't require there to be any digests, to allow in particular for a ↵Peter Dettman2013-11-102-5/+20
| | | | | | | | certs-only SignedData
* | Port from Java of improvements to DerBoolean and DerEnumeratedPeter Dettman2013-11-033-61/+97
| |
* | Add Poly1305 contributors entryPeter Dettman2013-11-021-1/+1
| |
* | Fix commentsPeter Dettman2013-11-021-4/+5
| |
* | Merge branch 'feature/poly1305' of git://github.com/timw/bc-csharpPeter Dettman2013-11-026-0/+808
|\ \ | | | | | | | | | | | | Conflicts: crypto/crypto.mdp
| * | Port Poly1305 Mac implementation and tests from bc-java.Tim Whittington2013-10-205-0/+793
| |/
* | Add contributor entries for recent patchesPeter Dettman2013-11-021-0/+6
| |
* | Fix namespacePeter Dettman2013-11-011-5/+7
| |
* | Clone bytes in constructor since it may be using a temp buffer in the ASN.1 ↵Peter Dettman2013-11-011-1/+1
| | | | | | | | parser
* | Add EnumeratedTest classPeter Dettman2013-11-013-0/+119
| |
* | Minor edit to commentPeter Dettman2013-11-011-1/+1
| |
* | Add GMac classes to project filePeter Dettman2013-11-011-0/+10
| |
* | Merge branch 'feature/gmac' of git://github.com/timw/bc-csharpPeter Dettman2013-11-017-0/+311
|\ \ | | | | | | | | | | | | Conflicts: crypto/crypto.mdp
| * | Port GMac implementation and tests from bc-java.Tim Whittington2013-10-207-0/+311
| |/
* | Fix XML commentPeter Dettman2013-11-011-306/+307
| | | | | | | | Detabify
* | Add new classes for ChaCha and XSalsa20Peter Dettman2013-11-011-0/+20
| |
* | Fix length in ShiftLeftPeter Dettman2013-11-011-1/+1
| |
* | Restore dodgy filePeter Dettman2013-11-011-0/+0
| |
* | Remove dodgy filePeter Dettman2013-11-011-0/+0
| |
* | Merge branch 'feature/latin-dances' of git://github.com/timw/bc-csharpPeter Dettman2013-11-018-109/+1006
|\ \
| * | Use xmldoc for documentation of Salsa20/XSalsa20/ChaChaTim Whittington2013-10-193-45/+37
| | |
| * | Make ChaCha and Salsa20 engines CLSCompliant.Tim Whittington2013-10-182-7/+5
| | |
| * | Port reduced round Salsa20, registerised Salsa20 core, XSalsa20 and ChaCha ↵Tim Whittington2013-10-108-98/+1005
| |/ | | | | | | from bc-java.
* / added obligatory Inc.David Hook2013-10-281-1/+1
|/
* fixed line endingsDavid Hook2013-08-071-0/+0
|
* Don't ignore the input offset argumentPeter Dettman2013-07-311-3/+3
|
* Attempt to perform doubling operation in constant timePeter Dettman2013-07-101-13/+23
|
* Guard against passing IV thru CMacPeter Dettman2013-07-072-418/+440
|
* Fix Platform references in testsPeter Dettman2013-07-072-161/+163
|
* Initial import of old CVS repositoryPeter Dettman2013-06-282279-0/+281992
|
* Set up text/binary handling for existing file typesPeter Dettman2013-06-281-0/+37