summary refs log tree commit diff
path: root/crypto/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-04Use GetInstance instead of castPeter Dettman1-2/+1
2019-08-04Misc. ASN.1 updatesPeter Dettman7-33/+31
2019-08-04Refactoring in PublicKeyFactoryPeter Dettman3-55/+73
- add SubjectPublicKeyInfo.ParsePublicKey and use where applicable - validate GOST3410 public key lengths
2019-08-03Improve caching behaviour for algorithms using endomorphismsPeter Dettman9-19/+187
2019-08-02Use fixed-point comb when multiplying basepointPeter Dettman2-5/+11
2019-08-02Handle x400Address as sequence in GeneralNamePeter Dettman1-14/+17
- add 'default' tag handler (instead of falling out of if-block)
2019-08-02EC wNAF-related updates from bc-javaPeter Dettman11-539/+659
- better control of window size limits - callers take advantage of available larger precomps - provide ConfigureBasepoint to mark points for larger precomp - mark built-in curve basepoints for larger default wNAF width
2019-08-02Add experimental support for GLV Type A endomorphismsPeter Dettman15-111/+398
2019-08-02Provide a constant-time zero testPeter Dettman2-4/+18
2019-08-02Updates to raw math classes from bc-javaPeter Dettman6-42/+148
2019-08-02Refactor Equals/GetHashCode in X509 objectsPeter Dettman3-34/+107
- cache public key in X509Certificate
2019-08-01SHA-256 performance tweakPeter Dettman1-30/+18
2019-08-01Rewrite Asn1Sequence/Set to store elements as Asn1Encodable[]Peter Dettman8-264/+170
2019-08-01Don't create a SecureRandom unnecessarilyPeter Dettman1-4/+20
2019-08-01Refactor ToString()Peter Dettman1-11/+6
2019-08-01PCL fixesPeter Dettman4-6/+7
2019-08-01Inline BuildEncodableVector to shrink recursive call stacksPeter Dettman1-13/+10
2019-08-01Cast to remove warningPeter Dettman1-1/+1
2019-08-01EC updates from bc-javaPeter Dettman24-34/+553
- 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
2019-08-01Fix warningsPeter Dettman2-10/+10
2019-08-01Misc. ASN.1 updates from bc-javaPeter Dettman7-104/+232
2019-07-31Rework some of the ImplSquare methods in custom binary curvesPeter Dettman7-25/+22
2019-07-31Accept only properly-sized BigInteger (no auto-reduction)Peter Dettman10-27/+25
2019-07-31Fix CMP tests failing to set bodyPeter Dettman2-4/+12
2019-07-30Work on EC parameters classesPeter Dettman5-43/+42
- make fields private/readonly where possible - add public validation methods to ECDomainParameters - add validation to ECPrivateKeyParameters - ECDomainParameters equality/GetHashCode ignore (optional) cofactor
2019-07-29Adapt test to access restrictionsPeter Dettman1-16/+35
2019-07-29Fix a corner-case for DER set-value sortingPeter Dettman1-15/+22
2019-07-29Add several copy64 methodsPeter Dettman1-0/+17
2019-07-29Make main SMix array 1-dimensionalPeter Dettman1-12/+16
2019-07-29Remove unused importsPeter Dettman1-4/+0
2019-07-29Fix field reduction for custom secp128r1 curvePeter Dettman4-0/+57
- see https://github.com/bcgit/bc-java/issues/566
2019-06-15fixed typoDavid Hook1-1/+1
2019-06-15updateDavid Hook1-4/+4
2019-06-12Update ECPointTest.csKristian Rastrup1-2/+2
Updated to test all points and not just the first
2019-06-04RefactoringPeter Dettman90-1049/+371
2019-06-04Port LinkedCertificate from bc-javaPeter Dettman10-1/+230
2019-06-01Name constraint validation updates from bc-javaPeter Dettman13-206/+1104
2019-06-01Remove extraneous outputPeter Dettman1-1/+1
2019-06-01Support SM2 in SignerUtilitiesPeter Dettman5-109/+240
- including support for non-standard SHA256withSM2
2019-05-23Update Arrays.csKristian Rastrup1-1/+1
Changed to string since char in StringBuilder constructor gets converted into int for capacity
2019-05-14Default saltLength to 20Peter Dettman1-2/+1
2019-05-14Increase zlib default buffer sizePeter Dettman2-2/+2
2019-05-14Refactor to not need pending_buf_sizePeter Dettman1-7/+1
2019-05-13Update DHValidationParms.csKristian Rastrup1-1/+1
Correcting type check in DHValidationParms
2019-05-13Update PssSigner.csKristian Rastrup1-1/+1
Passing through parameter in constructor of PssSigner
2019-05-10Cleanup around OfferInput methodsPeter Dettman2-11/+16
2019-05-10Update KDF test project files and .NET 1.1 compat.Peter Dettman9-341/+311
2019-05-09Update TlsProtocol.csdeniszykov1-1/+6
added `TlsProtocol.OfferInput()` overload which specify _offset_ and _length_ of input buffer like in java source https://www.bouncycastle.org/docs/tlsdocs1.5on/org/bouncycastle/tls/TlsProtocol.html
2019-05-07KDF Related tests.mw6-2/+3417
2019-05-06Add .rsp as text in .gitattributesPeter Dettman1-0/+1
2019-05-06.NET 1.1 fixes for KDF changesPeter Dettman1-1/+0
2019-05-06Fix errors and names in KDF changesPeter Dettman6-42/+35
2019-05-06Update project files for recent KDF additionsPeter Dettman6-3/+94
2019-05-06TLS: Clone in GetPsk since TlsPskKeyExchange will clear after usePeter Dettman8-5/+105
- use not-all-zeroes test psk to ensure coverage
2019-05-01Additional KDF operations and tests.mw14-0/+189102
2019-04-30EdDSA verifiers now reject overly long signaturesPeter Dettman8-23/+85
- see https://github.com/bcgit/bc-java/issues/508
2019-03-26Update PkixBuilderParameters.csKristian Rastrup1-1/+1
Due to hidden member a this. has been forgotten
2019-03-26Update CMSSignedHelper.csKristian Rastrup1-1/+1
Change to Id Field for TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm
2019-03-26Update PkixCertPath.csKristian Rastrup1-1/+1
The Equals method compares to the wrong list
2019-03-09DTLS: Guard against epoch wrappingPeter Dettman1-3/+8
2019-03-09Update comment in line with Java versionPeter Dettman1-6/+6
2019-03-09Don't ignore indexPeter Dettman1-1/+1
2019-02-07Fix setting of buffer positionPeter Dettman1-1/+1
2019-02-05fixed ECGOST co-factors for 2012 setsDavid Hook2-4/+6
2019-02-04updateDavid Hook1-0/+5
2019-01-31Update versions and release notes for 1.8.5 release-1.8.5Peter Dettman4-7/+7
2019-01-31Fixes and tidying up for releasePeter Dettman78-1750/+1758
2019-01-24removed unnecessary extra ECGOST3410 classDavid Hook2-154/+14
2019-01-20updateDavid Hook1-0/+7
2019-01-20name fixDavid Hook1-1/+1
2019-01-20name issue