summary refs log tree commit diff
path: root/crypto (unfollow)
Commit message (Expand)AuthorFilesLines
2015-10-18More SIC changes for consistency with Java APIPeter Dettman1-4/+6
2015-10-18Port extra test case from Java APIPeter Dettman1-3/+19
2015-10-18http://www.bouncycastle.org/jira/browse/BMA-82Peter Dettman4-7/+13
2015-10-18BMA-132 added support for ISignatureCalculator interfaceDavid Hook1-39/+34
2015-10-18http://www.bouncycastle.org/jira/browse/BMA-113Peter Dettman4-25/+17
2015-10-18http://www.bouncycastle.org/jira/browse/BMA-128Peter Dettman3-3/+3
2015-10-18Followups for the SicBlockCipher changesPeter Dettman2-3/+5
2015-10-18Add CalculateMac utility methodPeter Dettman1-0/+8
2015-10-18Switch to Strings.ToByteArray as is used in the Java APIPeter Dettman1-2/+2
2015-10-18SIC renamed to CTR, minimum IV length check addedPeter Dettman1-24/+24
2015-10-18http://www.bouncycastle.org/jira/browse/BMA-90Peter Dettman4-29/+24
2015-10-18Added missing key generation codePeter Dettman1-0/+4
2015-10-17https://github.com/bcgit/bc-csharp/issues/37Peter Dettman11-89/+588
2015-10-17Fix various warnings from recent commitsPeter Dettman7-35/+35
2015-10-17Fix case of JPAKE filenamesPeter Dettman7-0/+0
2015-10-17Can't use var keyword in .NET 1.1Peter Dettman1-1/+1
2015-10-17Various JPAKE changes to fit existing code conventionsPeter Dettman13-375/+416
2015-10-17RefactoringPeter Dettman1-12/+12
2015-10-17Fix whitespace and remove Dispose methodPeter Dettman2-93/+53
2015-10-17more commenting fixesAlex van Poppelen1-8/+10
2015-10-17added DSA tests for SHA-2David Hook1-1/+27
2015-10-17cleaned up commenting a bitAlex van Poppelen2-316/+263
2015-10-17Added test of SignerInfoGeneratorDavid Hook1-2/+97
2015-10-17Initial cut of SignerInfoGenerator for CMSDavid Hook1-1/+1
2015-10-17Initial cut of SignerInfoGeneratorDavid Hook5-212/+506
2015-10-17ported jpake library and tests from javaAlex van Poppelen10-0/+2367
2015-10-16Port of non-blocking TLS API from JavaPeter Dettman8-29/+665
2015-10-16RefactoringPeter Dettman4-464/+237
2015-10-16Avoid Interlocked.Increment(Int64) on .NET CFPeter Dettman2-3/+23
2015-10-16RefactoringPeter Dettman1-265/+116
2015-10-16Add new files to projectPeter Dettman1-0/+15
2015-10-16Further work of signature/verification calculators.David Hook14-232/+430
2015-10-14Close files after readingPeter Dettman1-2/+10
2015-10-14Port latest X9 EC stuff from Java APIPeter Dettman8-214/+224
2015-10-14Fixed single line file handlingPeter Dettman2-44/+77
2015-10-14Support "CMS" headerPeter Dettman1-0/+1
2015-10-14Consolidate all F2m decompression methods into AbstractF2mPeter Dettman19-1735/+96
2015-10-14Add ECCDH as valid aliasPeter Dettman1-5/+5
2015-10-14Added "Lenstra" checkPeter Dettman1-97/+101
2015-10-14Added extra OIDs.David Hook1-2/+28
2015-10-12Port of latest PGP tests and supporting code changesPeter Dettman52-358/+17347
2015-10-12Add new file entriesPeter Dettman1-0/+25
2015-10-12removed bogus imports (old FilterStream)David Hook3-84/+87
2015-10-12added EC MQV disclaimerDavid Hook1-0/+13
2015-10-12Introduced Utilities.IO.FilterStreamDavid Hook5-3/+71
2015-10-12Fixed genericsDavid Hook8-30/+24
2015-10-12Initial cut of signature generation operators.David Hook10-120/+746
2015-10-02Port of recent ISO trailer updates from JavaPeter Dettman5-102/+134
2015-10-01Add NIST OIDs and DigestUtilities entries for SHA3Peter Dettman2-2/+28
2015-09-10updateDavid Hook1-1/+1
2015-09-10updateDavid Hook1-1/+9
2015-09-07Correct 1605-bit test vector for SHA3-512Peter Dettman2-14/+8
2015-09-06Avoid duplicate test executionPeter Dettman2-2/+0
2015-09-06Fix class declarationPeter Dettman1-1/+1
2015-09-06Port of Keccak, SHA-3, SHAKE from JavaPeter Dettman11-784/+3203
2015-08-14Add Miller-Rabin methodsPeter Dettman1-45/+319
2015-08-14Add consistency checks with custom curves and regularPeter Dettman1-6/+45
2015-08-14Refactor NextPacketTag()Peter Dettman1-11/+7
2015-08-14Optimize (Inv_)Mcol methods in AES enginesPeter Dettman3-20/+55
2015-08-14Fix 64-bit multiply (not used)Peter Dettman2-5/+73
2015-08-13Use Itoh-Tsujii inversion (with extended bases for some cases)Peter Dettman18-18/+376
2015-08-13Switch from lookup table to bit twiddlingPeter Dettman1-42/+67
2015-06-26Move lazy initialization under lockPeter Dettman1-16/+19
2015-06-19Latest custom EC updates from Java APIPeter Dettman15-12/+1484
2015-06-16Changed PkixCertPathChecker Check method signature, so chosen unsupported cer...Marcin Paszylk2-4/+2
2015-06-12Add locking to lazy factory propertyPeter Dettman1-6/+9
2015-06-12Performance optimizationPeter Dettman1-14/+42
2015-06-11Improve limit-testing to avoid overflow problemsPeter Dettman1-3/+3
2015-06-11Add new class PrimesPeter Dettman2-0/+287
2015-06-09Add range checks to F2m field elementsPeter Dettman9-8/+11
2015-05-27Code cleanupPeter Dettman1-59/+69
2015-05-25Change default DH group chosen by TLS server to 2048 bitsPeter Dettman5-16/+36
2015-04-18Port recent Java updatesPeter Dettman9-5/+331
2015-04-11Remove overly strict check on ECC extensionsPeter Dettman1-2/+6
2015-04-10Support (low-level) for non-default PRFs for PKCS5v2bartland1-13/+59
2015-03-30Update version to 1.8.0-RC.1 prior to release release-1.8.0-RC.1Peter Dettman1-1/+1
2015-03-27ValidDays only returns 0 if there is no expiry, and is ObsoletePeter Dettman1-21/+26
2015-03-26Improved docs and code cleanupPeter Dettman1-46/+11
2015-03-26Provide a KeyContainerName when creating an RSACryptoServiceProviderPeter Dettman1-1/+3
2015-03-26Retain the OID actually used when initialized by keysizePeter Dettman1-0/+1
2015-03-26Added AES, IDEA, and CAST5 CBC S/MIME Capability identifiersJeffrey Stedfast1-0/+6
2015-03-26F2mCurve cleanupPeter Dettman3-6/+30
2015-03-25FormattingPeter Dettman1-1/+2
2015-03-25Include ANSSI curves in getByOID lookupPeter Dettman1-1/+6
2015-03-24Delete spurious filePeter Dettman1-1985/+0
2015-03-24Add custom implementations of SEC binary curvesPeter Dettman50-1/+12040
2015-03-24Add GetHashCode methods for ulong[]Peter Dettman1-0/+42
2015-03-24Correct duplicate key exception when more than one signer use the same digest...Carlos Alberto Costa Beppler1-8/+13
2015-03-24Custom curves for secp128r1 and secp160r1/r2/k1Peter Dettman16-32/+2820
2015-03-24Only test each named curve oncePeter Dettman1-1/+3
2015-03-23F2m changes in preparation for custom binary curvesPeter Dettman5-376/+354
2015-03-23Fix case-handling for custom curve namesPeter Dettman1-16/+26
2015-03-23Math.Raw support for custom binary curvesPeter Dettman43-46/+2430
2015-03-23Improve handling of extensions for session resumptionPeter Dettman8-224/+2258
2015-03-23Reduce memory usage of INTERLEAVE2_TABLEPeter Dettman1-1/+1
2015-03-23Add SquarePow method to ECFieldElementPeter Dettman1-8/+16
2015-03-23Add ANSSI curve FRP256v1 and refactor curve registriesPeter Dettman9-70/+213
2015-03-10Update TLS for draft-ietf-tls-session-hash-04Peter Dettman9-50/+47
2015-03-09Port of DTLS tests from JavaPeter Dettman13-14/+775
2015-03-09Port of TlsTestSuite from Java, and misc. TLS codePeter Dettman27-178/+1325
2015-03-09Remove extraneous class referencePeter Dettman1-1/+1
2015-03-09Add constants for GNU protection modesPeter Dettman1-0/+2
2015-03-09Add SignerUtilities handling for X931SignerPeter Dettman2-2/+21
2015-03-09Port X931Signer and tests from JavaPeter Dettman14-48/+438
2015-03-09Refactor TLS ciphersuite processingPeter Dettman9-1493/+652
2015-03-09Porting from Java buildPeter Dettman41-263/+1693
2015-03-08Port TLS-PSK tests from JavaPeter Dettman4-0/+332
2015-03-08Don't override default ciphersuites in testPeter Dettman1-12/+12
2015-03-08Spelling fixesPeter Dettman5-6/+6
2015-03-08Clear the shared secret after usePeter Dettman1-4/+10
2015-03-08Add newer TLS test data from Java buildPeter Dettman10-3/+176
2015-03-08Guard against small private keys, and optimize for common public exponentsPeter Dettman1-18/+18
2015-03-08Add explicit delegate type to keep .NET 1.1 happyPeter Dettman1-1/+1
2015-03-07Port of some of the TLS tests from JavaPeter Dettman5-0/+342
2015-03-07Various updates from Java buildPeter Dettman56-584/+666
2015-03-06Tighten ChangeCipherSpec ordering checksPeter Dettman1-0/+8
2015-03-06Refuse client-initiated renegotiation gracefullyPeter Dettman3-9/+18
2015-03-06Improved handling for out-of-order Finished messagePeter Dettman1-2/+10
2015-02-23Fix parsing of implicit tagged objectPeter Dettman1-2/+2
2015-02-08Port of WNaf precomp optimization from JavaPeter Dettman3-36/+140
2015-02-08Update copyright yearPeter Dettman2-2/+2
2015-02-05Spelling fixesPeter Dettman1-2/+2
2015-01-22Port of recent TLS-PSK work from Java buildPeter Dettman12-85/+605
2014-12-31TLS update from JavaPeter Dettman1-9/+17
2014-12-16Various updates to GCM from Java buildPeter Dettman5-197/+217
2014-12-11Add ECDHE_ECDSA CCM ciphersuites from RFC 7251Peter Dettman6-0/+44
2014-12-11Add some more Verisign OIDsPeter Dettman1-28/+33
2014-12-11Port of unexpected server extension mechanism, including special case for Sup...Peter Dettman1-8/+36
2014-12-11Port of a few Java updatesPeter Dettman5-472/+509
2014-10-18Update draft references after renamePeter Dettman6-12/+12
2014-10-17Initial port of DTLS client/server from JavaPeter Dettman12-0/+2934
2014-10-15Implement draft-bmoeller-tls-downgrade-scsv-02Peter Dettman8-4/+77
2014-09-28Update version to beta.5 following beta.4 releasePeter Dettman1-1/+1
2014-09-28Use platform RNG as master, where available release-1.8.0-beta.4Peter Dettman3-115/+154
2014-09-28FormattingPeter Dettman1-205/+205
2014-09-28Port of GenericSIgner fix from JavaPeter Dettman1-114/+115
2014-09-27Early code-point assignment for draft-ietf-tls-session-hashPeter Dettman1-6/+6
2014-09-27Update comments now that encrypt-then-MAC is out of draft (RFC 7366)Peter Dettman3-10/+12
2014-09-17RefactoringPeter Dettman1-138/+139
2014-08-28Constants and support functions for draft-ietf-tls-negotiated-ff-dhe-01Peter Dettman4-2/+408
2014-08-28Small refactoringPeter Dettman1-7/+7
2014-08-28Minor improvements to MaxFragmentLength handlingPeter Dettman2-11/+5
2014-08-28FormattingPeter Dettman1-12/+2
2014-08-27Refactor redundant blocksPeter Dettman1-296/+169
2014-08-27Improve sorting for SETsPeter Dettman1-53/+47
2014-08-26Extended master secret uses a different label in PRFPeter Dettman2-10/+13
2014-08-26Initial implementation of draft-ietf-tls-session-hash-01Peter Dettman7-31/+101
2014-08-26Add methods to give readable text for alertsPeter Dettman5-9/+101
2014-08-26Cleanup obsolete code warningsPeter Dettman3-5/+4
2014-08-25Rework the nonce-random initialisation and avoid GenerateSeedPeter Dettman1-5/+8
2014-08-25Port TLS server impl/test from Java APIPeter Dettman5-2/+976
2014-08-24Fix NAnt build issuePeter Dettman1-1/+2
2014-08-24Exclude some files in the TLS test dataPeter Dettman1-0/+1
2014-08-24Fix initial bugs revealed by new TLS testPeter Dettman2-4/+8
2014-08-24Fix TLS test namespacePeter Dettman3-4/+4
2014-08-24Finish initial porting of TLS 1.2 client from Java APIPeter Dettman17-1370/+3423
2014-08-24Add TLS test data from Java APIPeter Dettman11-0/+207
2014-08-24Obsolete class/method cleanupPeter Dettman14-193/+7
2014-08-23Port latest TLS key exchange stuff from Java APIPeter Dettman14-702/+1437
2014-08-22More TLS porting from Java APIPeter Dettman15-157/+721
2014-08-22More TLS porting from Java APIPeter Dettman20-558/+1882
2014-08-22Add support for a 'cause' Exception to TlsFatalAlert and usePeter Dettman11-36/+40
2014-08-21Cater for possibly null ecPointFormatsPeter Dettman1-1/+4
2014-08-21More TLS ported from Java APIPeter Dettman24-711/+1944
2014-08-20A few minor followups to the previous batch of TLS updatesPeter Dettman5-8/+16
2014-08-20A round of TLS updates from Java APIPeter Dettman37-325/+957
2014-08-20Bring RsaDigestSigner uptodate with Java APIPeter Dettman2-102/+92
2014-08-20Add Times utility classPeter Dettman2-0/+19
2014-08-20Port of Deterministic-DSA from Java APIPeter Dettman8-20/+838
2014-08-20Fix warningPeter Dettman1-1/+1
2014-08-20BMA-125 Remove duplicate/wrong RIPEMD160/ECDSA entriesPeter Dettman1-364/+361
2014-08-05In SecureRandom, the usage of ReversedWindowGenerator only reordered the outp...Edward Ned Harvey1-3/+1
2014-08-05GetInstance() returns a seeded instance. If you want an unseeded instance, yo...Edward Ned Harvey1-10/+6
2014-08-05SecureRandom ctor: given this is a sha1Generator, seed with 20 bytes instead ...Edward Ned Harvey1-1/+1
2014-08-05use CryptoApiRandomGenerator in addition to other entropy sourcesEdward Ned Harvey1-1/+6
2014-08-05after seeding, pointlessly threw away the first few bytes. Removed.Edward Ned Harvey1-1/+0
2014-08-05use 32 bytes instead of 24 for seed material from ThreadedSeedGeneratorEdward Ned Harvey1-1/+5
2014-07-25Check point against cofactor after decompressionPeter Dettman2-5/+10
2014-07-24Add GetCipherType method and refactorPeter Dettman1-41/+41
2014-07-24Another round of TLS porting from JavaPeter Dettman13-97/+930
2014-07-24Add more variations of Check/IsValidPeter Dettman1-0/+34
2014-07-24Apply low-hamming-weight NAF check for more generatorsPeter Dettman3-90/+135
2014-07-24Improve git ignore listPeter Dettman1-3/+12
2014-07-23More porting from Java TLSPeter Dettman4-85/+876
2014-07-23Update cipher suites from JavaPeter Dettman2-73/+127
2014-07-23Port of new TlsEccUtilities class from JavaPeter Dettman17-71/+901
2014-07-23Add automatic EC point validation for decoded points and for multiplier outputsPeter Dettman24-494/+375
2014-07-23Update encrypt_then_mac entryPeter Dettman1-4/+2
2014-07-22Port of encoding fix from JavaPeter Dettman1-2/+2
2014-07-21BMA-105Peter Dettman3-121/+148
2014-07-21Port of PrivateKeyInfo changes from JavaPeter Dettman5-1293/+1302
2014-07-21Port update from JavaPeter Dettman1-2/+3
2014-07-21[BMA-117]Peter Dettman1-41/+41
2014-07-21Port a few Java openpgp updatesPeter Dettman7-971/+1265
2014-07-21Port constant-time extensions from JavaPeter Dettman1-221/+371
2014-07-21Use AddTo/SubFrom and add a generic modular-addition methodPeter Dettman1-7/+17
2014-07-21Port a few more GCM/GMac updatesPeter Dettman4-266/+275
2014-07-21Reduce the number of test casesPeter Dettman1-1/+1
2014-07-21De-tabifyPeter Dettman1-176/+176
2014-07-21Port of latest GCM/OCB changesPeter Dettman5-74/+389
2014-07-21Registerize inner loopsPeter Dettman3-226/+184
2014-07-21De-tabifyPeter Dettman3-1302/+1302
2014-07-21De-tabifyPeter Dettman1-88/+88
2014-07-21De-tabifyPeter Dettman1-458/+458
2014-07-02Asterisk the default coordinates for each curvePeter Dettman1-3/+5
2014-07-02Use higher precision approximations for g1/g2 (GLV Type B)Peter Dettman2-21/+21
2014-07-01Port ECAlgorithmsTest from JavaPeter Dettman4-5/+162
2014-06-30Fix inverted sense of "negs" in ImplSumOfMultiplies (porting error)Peter Dettman1-1/+1
2014-06-08Add support to specifying Hash Algo when adding a subkey and generating a key...Carlos Perez4-6/+195
2014-05-19Check the low-bit of y is consistent with the header byte in hybrid EC point ...Peter Dettman1-6/+20
2014-04-17Port some minor updates from JavaPeter Dettman1-4/+4
2014-04-16Set the SecureRandom more intelligentlyPeter Dettman2-144/+141
2014-04-16Add low-weight guard to ECKeyPairGeneratorPeter Dettman1-2/+16
2014-04-11Check for low-weight numbers in DH parameter generation and RSA key generationPeter Dettman3-167/+207
2014-04-10Update version to beta.4 following beta.3 releasePeter Dettman1-1/+1
2014-04-10Fixed-point-comb uses existing precomputation info if it's for the same _or g... release-1.8.0-beta.3Peter Dettman3-9/+24
2014-04-06Port from Java many of the new TLS classes and a few minor changesPeter Dettman26-45/+479
2014-04-06Move NullOutputStream to util/ioPeter Dettman2-8/+6
2014-04-04Remove redundant Mac.Init callsPeter Dettman1-3/+1
2014-04-04Use the TLS 1.0 PRF for the random blockPeter Dettman8-3/+128
2014-03-21Optimize Curve25519 point operationsPeter Dettman2-111/+214
2014-03-17Port of latest Curve25519 stuff from Java buildPeter Dettman9-30/+710
2014-03-14Take advantage of GLV (when available) in sum-of-multiplies methodsPeter Dettman1-7/+89
2014-03-14Change primary measurement to multiplication rate using fixed-duration roundsPeter Dettman1-24/+47
2014-03-14Optimize squaring by inlining the ShiftUpBitPeter Dettman3-118/+262
2014-03-14GlvMultiplier.cs missed in last commitPeter Dettman2-0/+45
2014-03-13Port GLV implementation from JavaPeter Dettman13-18/+439
2014-03-13Fix bug in DoFinal introduced by last changePeter Dettman1-18/+25
2014-03-13Add ScaleX, ScaleY methods to ECPointPeter Dettman1-0/+74
2014-03-13Add new CreateRawPoint method on ECCurve that includes the Z coordsPeter Dettman9-0/+52
2014-03-12All subclasses to control the choice of width to usePeter Dettman1-2/+6
2014-03-12Allow subclasses to override the ECMultiplier used for base-point multiplicationPeter Dettman3-8/+21
2014-03-12Weight the performance test more towards random pointsPeter Dettman1-3/+9
2014-03-12Add new methodPeter Dettman1-0/+9
2014-03-12Add extra random tests for SipHash to check consistency across different upda...Peter Dettman1-0/+34
2014-03-11Optimization (faster at all input lengths, but especially for long block-alig...Peter Dettman1-17/+39
2014-03-11Improve SipHashTest to cover varying update methodsPeter Dettman1-4/+50
2014-03-10Optimize some of the addition/doubling internalsPeter Dettman8-92/+114
2014-03-10Adapt performance test to exclude outliers form averagePeter Dettman1-15/+32
2014-03-10Add MultiplyAddToExt method to fieldsPeter Dettman6-2/+71
2014-03-10Refactor temporary variables in reductionsPeter Dettman3-28/+30
2014-03-10Inline Reduce32 calls and registerize some values to avoid extra writesPeter Dettman2-12/+53
2014-03-10Use more specific Nat methodsPeter Dettman1-2/+2
2014-03-06Change version to beta.3 after release of beta.2Peter Dettman1-1/+1
2014-03-06Minor improvement to reduction release-1.8.0-beta.2Peter Dettman3-9/+15
2014-03-06Avoid redundant subtractionPeter Dettman1-43/+43
2014-03-05Improved reductionPeter Dettman4-63/+101
2014-03-05Reduction optimization for secp256r1Peter Dettman1-5/+73
2014-03-05Use Nat methods instead of specific Nat*.*Ext methodsPeter Dettman10-84/+44
2014-03-04Fix infinite loop issue when there is no sqrtPeter Dettman2-30/+80