Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge branch 'master' of https://github.com/avanpo/bc-csharp into avanpo-master | Peter Dettman | 2015-10-17 | 7 | -0/+1327 | |
|\ \ | |/ |/| | ||||||
| * | more commenting fixes | Alex van Poppelen | 2015-10-17 | 1 | -8/+10 | |
| | | ||||||
| * | cleaned up commenting a bit | Alex van Poppelen | 2015-10-17 | 2 | -316/+263 | |
| | | ||||||
| * | ported jpake library and tests from java | Alex van Poppelen | 2015-10-17 | 7 | -0/+1378 | |
| | | ||||||
* | | Fix whitespace and remove Dispose method | Peter Dettman | 2015-10-17 | 2 | -93/+53 | |
| | | ||||||
* | | Merge branch 'keyhasing' of https://github.com/darkoperator/bc-csharp into ↵ | Peter Dettman | 2015-10-17 | 4 | -6/+195 | |
|\ \ | | | | | | | | | | darkoperator-keyhasing | |||||
| * | | Add support to specifying Hash Algo when adding a subkey and generating a ↵ | Carlos Perez | 2014-06-08 | 4 | -6/+195 | |
| | | | | | | | | | | | | | | | | | | keyring. DSA2 and in the future EC keys requiere hashing higher than SHA1. | |||||
* | | | Merge branch 'master' of bcgit@git.bouncycastle.org:bc-csharp.git | David Hook | 2015-10-17 | 7 | -32/+413 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Port of non-blocking TLS API from Java | Peter Dettman | 2015-10-16 | 5 | -29/+390 | |
| | | | ||||||
| * | | Avoid Interlocked.Increment(Int64) on .NET CF | Peter Dettman | 2015-10-16 | 2 | -3/+23 | |
| | | | | | | | | | | | | - https://github.com/bcgit/bc-csharp/issues/20 | |||||
* | | | Initial cut of SignerInfoGenerator for CMS | David Hook | 2015-10-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Initial cut of SignerInfoGenerator | David Hook | 2015-10-17 | 5 | -212/+506 | |
|/ / | ||||||
* | | Further work of signature/verification calculators. | David Hook | 2015-10-16 | 14 | -232/+430 | |
| | | | | | | | | | | Added IBlockResult and IVerifier Added verifier provider verify methods to X.509 PKCS#10 classes. | |||||
* | | Port latest X9 EC stuff from Java API | Peter Dettman | 2015-10-14 | 8 | -214/+224 | |
| | | ||||||
* | | Support "CMS" header | Peter Dettman | 2015-10-14 | 1 | -0/+1 | |
| | | ||||||
* | | Consolidate all F2m decompression methods into AbstractF2m | Peter Dettman | 2015-10-14 | 19 | -1735/+96 | |
| | | ||||||
* | | Add ECCDH as valid alias | Peter Dettman | 2015-10-14 | 1 | -5/+5 | |
| | | ||||||
* | | Added "Lenstra" check | Peter Dettman | 2015-10-14 | 1 | -97/+101 | |
| | | ||||||
* | | Added extra OIDs. | David Hook | 2015-10-14 | 1 | -2/+28 | |
| | | ||||||
* | | Port of latest PGP tests and supporting code changes | Peter Dettman | 2015-10-12 | 36 | -355/+1205 | |
| | | ||||||
* | | removed bogus imports (old FilterStream) | David Hook | 2015-10-12 | 3 | -84/+87 | |
| | | | | | | | | added ISignatureGenerator to Pkcs10. | |||||
* | | Introduced Utilities.IO.FilterStream | David Hook | 2015-10-12 | 4 | -2/+70 | |
| | | ||||||
* | | Fixed generics | David Hook | 2015-10-12 | 8 | -30/+24 | |
| | | ||||||
* | | Initial cut of signature generation operators. | David Hook | 2015-10-12 | 9 | -117/+717 | |
| | | ||||||
* | | Port of recent ISO trailer updates from Java | Peter Dettman | 2015-10-02 | 4 | -102/+129 | |
| | | ||||||
* | | Add NIST OIDs and DigestUtilities entries for SHA3 | Peter Dettman | 2015-10-01 | 2 | -2/+28 | |
| | | ||||||
* | | Fix class declaration | Peter Dettman | 2015-09-06 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' of git.bouncycastle.org:bc-csharp | Peter Dettman | 2015-09-06 | 5 | -551/+1018 | |
|\ \ | ||||||
| * | | Port of Keccak, SHA-3, SHAKE from Java | Peter Dettman | 2015-09-06 | 4 | -506/+699 | |
| | | | ||||||
| * | | Add Miller-Rabin methods | Peter Dettman | 2015-08-14 | 1 | -45/+319 | |
| | | | ||||||
* | | | Merge branch 'master' of git.bouncycastle.org:bc-csharp | Peter Dettman | 2015-08-14 | 34 | -116/+2042 | |
|\| | | | | | | | | | | | | | | Conflicts: crypto/src/asn1/x9/X9ECParametersHolder.cs | |||||
| * | | Refactor NextPacketTag() | Peter Dettman | 2015-08-14 | 1 | -11/+7 | |
| | | | ||||||
| * | | Optimize (Inv_)Mcol methods in AES engines | Peter Dettman | 2015-08-14 | 3 | -20/+55 | |
| | | | ||||||
| * | | Fix 64-bit multiply (not used) | Peter Dettman | 2015-08-14 | 2 | -5/+73 | |
| | | | | | | | | | | | | - correct weird shift lengths in 32-bit multiply (no bug) | |||||
| * | | Use Itoh-Tsujii inversion (with extended bases for some cases) | Peter Dettman | 2015-08-13 | 18 | -18/+376 | |
| | | | ||||||
| * | | Switch from lookup table to bit twiddling | Peter Dettman | 2015-08-13 | 1 | -42/+67 | |
| | | | ||||||
| * | | Move lazy initialization under lock | Peter Dettman | 2015-06-26 | 1 | -16/+19 | |
| | | | ||||||
| * | | Latest custom EC updates from Java API | Peter Dettman | 2015-06-19 | 14 | -12/+1454 | |
| | | | ||||||
| * | | Merge branch 'master' of https://github.com/FancyFon/bc-csharp into ↵ | Peter Dettman | 2015-06-17 | 1 | -3/+1 | |
| |\ \ | | | | | | | | | | | | | FancyFon-master | |||||
| | * | | Changed PkixCertPathChecker Check method signature, so chosen unsupported ↵ | Marcin Paszylk | 2015-06-16 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | certificate extensions can be removed from collection in Check method implementation. Change-Id: I2041e4dc7be1b041bbe3a4ff0537be921b1f317b | |||||
* | | | | Add locking to lazy factory property | Peter Dettman | 2015-06-12 | 1 | -6/+9 | |
|/ / / | ||||||
* | | | Performance optimization | Peter Dettman | 2015-06-12 | 1 | -14/+42 | |
| | | | ||||||
* | | | Improve limit-testing to avoid overflow problems | Peter Dettman | 2015-06-11 | 1 | -3/+3 | |
| | | | ||||||
* | | | Add new class Primes | Peter Dettman | 2015-06-11 | 1 | -0/+282 | |
|/ / | | | | | | | - Initial implementation of Shawe-Taylor (FIPS 186-4 C.6) | |||||
* | | Add range checks to F2m field elements | Peter Dettman | 2015-06-09 | 9 | -8/+11 | |
| | | ||||||
* | | Code cleanup | Peter Dettman | 2015-05-27 | 1 | -59/+69 | |
| | | ||||||
* | | Merge branch 'pkcs5v2sha2' of https://github.com/bartland/bc-csharp into ↵ | Peter Dettman | 2015-05-27 | 1 | -13/+59 | |
|\ \ | | | | | | | | | | bartland-pkcs5v2sha2 | |||||
| * | | Support (low-level) for non-default PRFs for PKCS5v2 | bartland | 2015-04-10 | 1 | -13/+59 | |
| | | | ||||||
* | | | Change default DH group chosen by TLS server to 2048 bits | Peter Dettman | 2015-05-25 | 5 | -16/+36 | |
| | | | | | | | | | | | | TLS client will not accept < 1024 bits DH group by default | |||||
* | | | Port recent Java updates | Peter Dettman | 2015-04-18 | 8 | -5/+311 | |
| | | | ||||||
* | | | Remove overly strict check on ECC extensions | Peter Dettman | 2015-04-11 | 1 | -2/+6 | |
|/ / | ||||||
* | | ValidDays only returns 0 if there is no expiry, and is Obsolete | Peter Dettman | 2015-03-27 | 1 | -21/+26 | |
| | | | | | | | | - Thanks to Severin Friede for reporting (see JIRA BMA-127) | |||||
* | | Improved docs and code cleanup | Peter Dettman | 2015-03-26 | 1 | -46/+11 | |
| | | ||||||
* | | Provide a KeyContainerName when creating an RSACryptoServiceProvider | Peter Dettman | 2015-03-26 | 1 | -1/+3 | |
| | | | | | | | | - Thanks to Frederik Carlier for reporting and providing a fix (see JIRA BMA-130) | |||||
* | | Retain the OID actually used when initialized by keysize | Peter Dettman | 2015-03-26 | 1 | -0/+1 | |
| | | | | | | | | - Thanks to Kyle Hamilton for the patch (see bcgit/bc-csharp#16) | |||||
* | | Added AES, IDEA, and CAST5 CBC S/MIME Capability identifiers | Jeffrey Stedfast | 2015-03-26 | 1 | -0/+6 | |
| | | ||||||
* | | F2mCurve cleanup | Peter Dettman | 2015-03-26 | 2 | -5/+29 | |
| | | ||||||
* | | Merge branch 'mpsinfo-duplicatedigest' | Peter Dettman | 2015-03-25 | 1 | -8/+14 | |
|\ \ | ||||||
| * | | Formatting | Peter Dettman | 2015-03-25 | 1 | -1/+2 | |
| | | | ||||||
| * | | Merge branch 'duplicatedigest' of https://github.com/mpsinfo/bc-csharp into ↵ | Peter Dettman | 2015-03-25 | 1 | -8/+13 | |
| |\ \ | | | | | | | | | | | | | mpsinfo-duplicatedigest | |||||
| | * | | Correct duplicate key exception when more than one signer use the same ↵ | Carlos Alberto Costa Beppler | 2015-03-24 | 1 | -8/+13 | |
| | | | | | | | | | | | | | | | | digest algorithm. | |||||
* | | | | Include ANSSI curves in getByOID lookup | Peter Dettman | 2015-03-25 | 1 | -1/+6 | |
| | | | | ||||||
* | | | | Add custom implementations of SEC binary curves | Peter Dettman | 2015-03-24 | 49 | -1/+11800 | |
| | | | | ||||||
* | | | | Add GetHashCode methods for ulong[] | Peter Dettman | 2015-03-24 | 1 | -0/+42 | |
| | | | | ||||||
* | | | | Custom curves for secp128r1 and secp160r1/r2/k1 | Peter Dettman | 2015-03-24 | 15 | -32/+2750 | |
|/ / / | ||||||
* | | | F2m changes in preparation for custom binary curves | Peter Dettman | 2015-03-23 | 5 | -376/+354 | |
| | | | ||||||
* | | | Fix case-handling for custom curve names | Peter Dettman | 2015-03-23 | 1 | -16/+26 | |
| | | | ||||||
* | | | Math.Raw support for custom binary curves | Peter Dettman | 2015-03-23 | 42 | -11/+2365 | |
| | | | | | | | | | | | | - Also migrate the 'raw' stuff into Math.Raw following Java build | |||||
* | | | Improve handling of extensions for session resumption | Peter Dettman | 2015-03-23 | 7 | -224/+273 | |
| | | | ||||||
* | | | Reduce memory usage of INTERLEAVE2_TABLE | Peter Dettman | 2015-03-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add SquarePow method to ECFieldElement | Peter Dettman | 2015-03-23 | 1 | -8/+16 | |
| | | | ||||||
* | | | Add ANSSI curve FRP256v1 and refactor curve registries | Peter Dettman | 2015-03-23 | 8 | -70/+203 | |
|/ / | ||||||
* | | Update TLS for draft-ietf-tls-session-hash-04 | Peter Dettman | 2015-03-10 | 7 | -46/+45 | |
| | | ||||||
* | | Port of DTLS tests from Java | Peter Dettman | 2015-03-09 | 1 | -4/+4 | |
| | | ||||||
* | | Remove extraneous class reference | Peter Dettman | 2015-03-09 | 1 | -1/+1 | |
| | | ||||||
* | | Add constants for GNU protection modes | Peter Dettman | 2015-03-09 | 1 | -0/+2 | |
| | | ||||||
* | | Add SignerUtilities handling for X931Signer | Peter Dettman | 2015-03-09 | 2 | -2/+21 | |
| | | ||||||
* | | Port X931Signer and tests from Java | Peter Dettman | 2015-03-09 | 11 | -47/+281 | |
| | | ||||||
* | | Refactor TLS ciphersuite processing | Peter Dettman | 2015-03-09 | 9 | -1493/+652 | |
| | | ||||||
* | | Porting from Java build | Peter Dettman | 2015-03-09 | 34 | -171/+1291 | |
| | | | | | | | | | | | | | | - SRP6 evidence messages and standard groups - TLS_SRP server-side support added - TLS_DHE server-side fixes - Improved support for DSA/ECDSA signing in TLS | |||||
* | | Spelling fixes | Peter Dettman | 2015-03-08 | 5 | -6/+6 | |
| | | ||||||
* | | Clear the shared secret after use | Peter Dettman | 2015-03-08 | 1 | -4/+10 | |
| | | ||||||
* | | Guard against small private keys, and optimize for common public exponents | Peter Dettman | 2015-03-08 | 1 | -18/+18 | |
| | | ||||||
* | | Various updates from Java build | Peter Dettman | 2015-03-07 | 54 | -582/+611 | |
| | | ||||||
* | | Tighten ChangeCipherSpec ordering checks | Peter Dettman | 2015-03-06 | 1 | -0/+8 | |
| | | ||||||
* | | Refuse client-initiated renegotiation gracefully | Peter Dettman | 2015-03-06 | 3 | -9/+18 | |
| | | ||||||
* | | Improved handling for out-of-order Finished message | Peter Dettman | 2015-03-06 | 1 | -2/+10 | |
| | | ||||||
* | | Fix parsing of implicit tagged object | Peter Dettman | 2015-02-23 | 1 | -2/+2 | |
| | | ||||||
* | | Port of WNaf precomp optimization from Java | Peter Dettman | 2015-02-08 | 3 | -36/+140 | |
| | | ||||||
* | | Update copyright year | Peter Dettman | 2015-02-08 | 1 | -1/+1 | |
| | | ||||||
* | | Spelling fixes | Peter Dettman | 2015-02-05 | 1 | -2/+2 | |
| | | ||||||
* | | Port of recent TLS-PSK work from Java build | Peter Dettman | 2015-01-22 | 11 | -85/+590 | |
| | | ||||||
* | | TLS update from Java | Peter Dettman | 2014-12-31 | 1 | -9/+17 | |
| | | ||||||
* | | Various updates to GCM from Java build | Peter Dettman | 2014-12-16 | 5 | -197/+217 | |
| | | ||||||
* | | Add ECDHE_ECDSA CCM ciphersuites from RFC 7251 | Peter Dettman | 2014-12-11 | 6 | -0/+44 | |
| | | ||||||
* | | Add some more Verisign OIDs | Peter Dettman | 2014-12-11 | 1 | -28/+33 | |
| | | ||||||
* | | Port of unexpected server extension mechanism, including special case for ↵ | Peter Dettman | 2014-12-11 | 1 | -8/+36 | |
| | | | | | | | | Supported Elliptic Curves | |||||
* | | Port of a few Java updates | Peter Dettman | 2014-12-11 | 5 | -472/+509 | |
| | | ||||||
* | | Update draft references after rename | Peter Dettman | 2014-10-18 | 6 | -12/+12 | |
| | | ||||||
* | | Initial port of DTLS client/server from Java | Peter Dettman | 2014-10-17 | 11 | -0/+2879 | |
| | | ||||||
* | | Implement draft-bmoeller-tls-downgrade-scsv-02 | Peter Dettman | 2014-10-15 | 8 | -4/+77 | |
| | | ||||||
* | | Use platform RNG as master, where available release-1.8.0-beta.4 | Peter Dettman | 2014-09-28 | 2 | -111/+136 | |
| | | | | | | | | Obsolete seeded constructor in favour of GetInstance variant | |||||
* | | Formatting | Peter Dettman | 2014-09-28 | 1 | -205/+205 | |
| | | ||||||
* | | Merge branch 'master' of github.com:rahvee/bc-csharp into rahvee-master | Peter Dettman | 2014-09-28 | 1 | -16/+18 | |
|\ \ | ||||||
| * | | In SecureRandom, the usage of ReversedWindowGenerator only reordered the ↵ | Edward Ned Harvey | 2014-08-05 | 1 | -3/+1 | |
| | | | | | | | | | | | | output of sha256Generator. It added computation overhead and zero cryptographic value. Removed. | |||||
| * | | GetInstance() returns a seeded instance. If you want an unseeded instance, ↵ | Edward Ned Harvey | 2014-08-05 | 1 | -10/+6 | |
| | | | | | | | | | | | | you must use the unseeded ctor in which you supply your own generator | |||||
| * | | SecureRandom ctor: given this is a sha1Generator, seed with 20 bytes instead ↵ | Edward Ned Harvey | 2014-08-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | of 8 | |||||
| * | | use CryptoApiRandomGenerator in addition to other entropy sources | Edward Ned Harvey | 2014-08-05 | 1 | -1/+6 | |
| | | | ||||||
| * | | after seeding, pointlessly threw away the first few bytes. Removed. | Edward Ned Harvey | 2014-08-05 | 1 | -1/+0 | |
| | | | ||||||
| * | | use 32 bytes instead of 24 for seed material from ThreadedSeedGenerator | Edward Ned Harvey | 2014-08-05 | 1 | -1/+5 | |
| | | | ||||||
* | | | Port of GenericSIgner fix from Java | Peter Dettman | 2014-09-28 | 1 | -114/+115 | |
| | | | ||||||
* | | | Early code-point assignment for draft-ietf-tls-session-hash | Peter Dettman | 2014-09-27 | 1 | -6/+6 | |
| | | | ||||||
* | | | Update comments now that encrypt-then-MAC is out of draft (RFC 7366) | Peter Dettman | 2014-09-27 | 3 | -10/+12 | |
| | | | ||||||
* | | | Constants and support functions for draft-ietf-tls-negotiated-ff-dhe-01 | Peter Dettman | 2014-08-28 | 3 | -2/+403 | |
| | | | ||||||
* | | | Small refactoring | Peter Dettman | 2014-08-28 | 1 | -7/+7 | |
| | | | ||||||
* | | | Minor improvements to MaxFragmentLength handling | Peter Dettman | 2014-08-28 | 2 | -11/+5 | |
| | | | ||||||
* | | | Formatting | Peter Dettman | 2014-08-28 | 1 | -12/+2 | |
| | | | ||||||
* | | | Refactor redundant blocks | Peter Dettman | 2014-08-27 | 1 | -296/+169 | |
| | | | | | | | | | | | | Support no-password operation (as best we can) | |||||
* | | | Improve sorting for SETs | Peter Dettman | 2014-08-27 | 1 | -53/+47 | |
| | | | ||||||
* | | | Extended master secret uses a different label in PRF | Peter Dettman | 2014-08-26 | 2 | -10/+13 | |
| | | | ||||||
* | | | Initial implementation of draft-ietf-tls-session-hash-01 | Peter Dettman | 2014-08-26 | 6 | -31/+99 | |
| | | | ||||||
* | | | Add methods to give readable text for alerts | Peter Dettman | 2014-08-26 | 3 | -1/+93 | |
| | | | ||||||
* | | | Cleanup obsolete code warnings | Peter Dettman | 2014-08-26 | 2 | -3/+2 | |
| | | | ||||||
* | | | Rework the nonce-random initialisation and avoid GenerateSeed | Peter Dettman | 2014-08-25 | 1 | -5/+8 | |
| | | | ||||||
* | | | Port TLS server impl/test from Java API | Peter Dettman | 2014-08-25 | 2 | -2/+746 | |
| | | | ||||||
* | | | Fix initial bugs revealed by new TLS test | Peter Dettman | 2014-08-24 | 2 | -4/+8 | |
| | | | ||||||
* | | | Finish initial porting of TLS 1.2 client from Java API | Peter Dettman | 2014-08-24 | 13 | -1370/+3032 | |
| | | | ||||||
* | | | Obsolete class/method cleanup | Peter Dettman | 2014-08-24 | 13 | -168/+7 | |
| | | | ||||||
* | | | Port latest TLS key exchange stuff from Java API | Peter Dettman | 2014-08-23 | 13 | -702/+1432 | |
| | | | ||||||
* | | | More TLS porting from Java API | Peter Dettman | 2014-08-22 | 14 | -157/+691 | |
| | | | ||||||
* | | | More TLS porting from Java API | Peter Dettman | 2014-08-22 | 19 | -558/+1822 | |
| | | | ||||||
* | | | Add support for a 'cause' Exception to TlsFatalAlert and use | Peter Dettman | 2014-08-22 | 11 | -36/+40 | |
| | | | ||||||
* | | | Cater for possibly null ecPointFormats | Peter Dettman | 2014-08-21 | 1 | -1/+4 | |
| | | | ||||||
* | | | More TLS ported from Java API | Peter Dettman | 2014-08-21 | 22 | -710/+1923 | |
| | | | ||||||
* | | | A few minor followups to the previous batch of TLS updates | Peter Dettman | 2014-08-20 | 5 | -8/+16 | |
| | | | ||||||
* | | | A round of TLS updates from Java API | Peter Dettman | 2014-08-20 | 36 | -325/+907 | |
| | | | ||||||
* | | | Bring RsaDigestSigner uptodate with Java API | Peter Dettman | 2014-08-20 | 2 | -102/+92 | |
| | | | ||||||
* | | | Add Times utility class | Peter Dettman | 2014-08-20 | 1 | -0/+14 | |
| | | | ||||||
* | | | Port of Deterministic-DSA from Java API | Peter Dettman | 2014-08-20 | 5 | -20/+306 | |
| | | | ||||||
* | | | Fix warning | Peter Dettman | 2014-08-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | BMA-125 Remove duplicate/wrong RIPEMD160/ECDSA entries | Peter Dettman | 2014-08-20 | 1 | -364/+361 | |
|/ / | ||||||
* | | Check point against cofactor after decompression | Peter Dettman | 2014-07-25 | 2 | -5/+10 | |
| | | ||||||
* | | Add GetCipherType method and refactor | Peter Dettman | 2014-07-24 | 1 | -41/+41 | |
| | | ||||||
* | | Another round of TLS porting from Java | Peter Dettman | 2014-07-24 | 12 | -97/+885 | |
| | | ||||||
* | | Add more variations of Check/IsValid | Peter Dettman | 2014-07-24 | 1 | -0/+34 | |
| | | ||||||
* | | Apply low-hamming-weight NAF check for more generators | Peter Dettman | 2014-07-24 | 3 | -90/+135 | |
| | | ||||||
* | | More porting from Java TLS | Peter Dettman | 2014-07-23 | 3 | -85/+871 | |
| | | ||||||
* | | Update cipher suites from Java | Peter Dettman | 2014-07-23 | 2 | -73/+127 | |
| | | ||||||
* | | Port of new TlsEccUtilities class from Java | Peter Dettman | 2014-07-23 | 16 | -71/+896 | |
| | | | | | | | | | | Various support methods in TlsUtilities and Arrays Fix short->byte for several enumeration types | |||||
* | | Add automatic EC point validation for decoded points and for multiplier outputs | Peter Dettman | 2014-07-23 | 23 | -463/+373 | |
| | | ||||||
* | | Update encrypt_then_mac entry | Peter Dettman | 2014-07-23 | 1 | -4/+2 | |
| | | ||||||
* | | Port of encoding fix from Java | Peter Dettman | 2014-07-22 | 1 | -2/+2 | |
| | | ||||||
* | | BMA-105 | Peter Dettman | 2014-07-21 | 3 | -121/+148 | |
| | | | | | | | | | | Support for parsing Gost3410x2001 private keys encoded as DER Integer Miscellaneous support methods ported from Java | |||||
* | | Port of PrivateKeyInfo changes from Java | Peter Dettman | 2014-07-21 | 4 | -515/+524 | |
| | | ||||||
* | | Port update from Java | Peter Dettman | 2014-07-21 | 1 | -2/+3 | |
| | | ||||||
* | | [BMA-117] | Peter Dettman | 2014-07-21 | 1 | -41/+41 | |
| | | | | | | | | Cope with redundant ExtendedKeyUsage entries | |||||
* | | Port a few Java openpgp updates | Peter Dettman | 2014-07-21 | 6 | -264/+274 | |
| | | ||||||
* | | Port constant-time extensions from Java | Peter Dettman | 2014-07-21 | 1 | -221/+371 | |
| | | ||||||
* | | Use AddTo/SubFrom and add a generic modular-addition method | Peter Dettman | 2014-07-21 | 1 | -7/+17 | |
| | | ||||||
* | | Port a few more GCM/GMac updates | Peter Dettman | 2014-07-21 | 2 | -94/+100 | |
| | | ||||||
* | | De-tabify | Peter Dettman | 2014-07-21 | 1 | -176/+176 | |
| | | ||||||
* | | Port of latest GCM/OCB changes | Peter Dettman | 2014-07-21 | 1 | -15/+13 | |
| | | ||||||
* | | Registerize inner loops | Peter Dettman | 2014-07-21 | 3 | -226/+184 | |
| | | ||||||
* | | De-tabify | Peter Dettman | 2014-07-21 | 3 | -1302/+1302 | |
| | | ||||||
* | | De-tabify | Peter Dettman | 2014-07-21 | 1 | -88/+88 | |
| | | ||||||
* | | Use higher precision approximations for g1/g2 (GLV Type B) | Peter Dettman | 2014-07-02 | 2 | -21/+21 | |
| | | ||||||
* | | Fix inverted sense of "negs" in ImplSumOfMultiplies (porting error) | Peter Dettman | 2014-06-30 | 1 | -1/+1 | |
|/ | ||||||
* | Check the low-bit of y is consistent with the header byte in hybrid EC point ↵ | Peter Dettman | 2014-05-19 | 1 | -6/+20 | |
| | | | | encodings | |||||
* | Port some minor updates from Java | Peter Dettman | 2014-04-17 | 1 | -4/+4 | |
| | ||||||
* | Set the SecureRandom more intelligently | Peter Dettman | 2014-04-16 | 2 | -144/+141 | |
| | | | | Change access modifiers to support subclassing | |||||
* | Add low-weight guard to ECKeyPairGenerator | Peter Dettman | 2014-04-16 | 1 | -2/+16 | |
| | ||||||
* | Check for low-weight numbers in DH parameter generation and RSA key generation | Peter Dettman | 2014-04-11 | 3 | -167/+207 | |
| | ||||||
* | Fixed-point-comb uses existing precomputation info if it's for the same _or ↵ release-1.8.0-beta.3 | Peter Dettman | 2014-04-10 | 3 | -9/+24 | |
| | | | | greater_ width as requested | |||||
* | Port from Java many of the new TLS classes and a few minor changes | Peter Dettman | 2014-04-06 | 25 | -45/+389 | |
| | ||||||
* | Move NullOutputStream to util/io | Peter Dettman | 2014-04-06 | 1 | -3/+1 | |
| | ||||||
* | Remove redundant Mac.Init calls | Peter Dettman | 2014-04-04 | 1 | -3/+1 | |
| | ||||||
* | Use the TLS 1.0 PRF for the random block | Peter Dettman | 2014-04-04 | 7 | -3/+118 | |
| | ||||||
* | Optimize Curve25519 point operations | Peter Dettman | 2014-03-21 | 2 | -111/+214 | |
| | ||||||
* | Port of latest Curve25519 stuff from Java build | Peter Dettman | 2014-03-17 | 6 | -24/+670 | |
| | ||||||
* | Take advantage of GLV (when available) in sum-of-multiplies methods | Peter Dettman | 2014-03-14 | 1 | -7/+89 | |
| | ||||||
* | Optimize squaring by inlining the ShiftUpBit | Peter Dettman | 2014-03-14 | 3 | -118/+262 | |
| | ||||||
* | GlvMultiplier.cs missed in last commit | Peter Dettman | 2014-03-14 | 1 | -0/+40 | |
| | ||||||
* | Port GLV implementation from Java | Peter Dettman | 2014-03-13 | 12 | -18/+404 | |
| | ||||||
* | Fix bug in DoFinal introduced by last change | Peter Dettman | 2014-03-13 | 1 | -18/+25 | |
| | ||||||
* | Add ScaleX, ScaleY methods to ECPoint | Peter Dettman | 2014-03-13 | 1 | -0/+74 | |
| | ||||||
* | Add new CreateRawPoint method on ECCurve that includes the Z coords | Peter Dettman | 2014-03-13 | 9 | -0/+52 | |
| | ||||||
* | All subclasses to control the choice of width to use | Peter Dettman | 2014-03-12 | 1 | -2/+6 | |
| | ||||||
* | Allow subclasses to override the ECMultiplier used for base-point multiplication | Peter Dettman | 2014-03-12 | 3 | -8/+21 | |
| | ||||||
* | Add new method | Peter Dettman | 2014-03-12 | 1 | -0/+9 | |
| | ||||||
* | Optimization (faster at all input lengths, but especially for long ↵ | Peter Dettman | 2014-03-11 | 1 | -17/+39 | |
| | | | | block-aligned inputs) | |||||
* | Optimize some of the addition/doubling internals | Peter Dettman | 2014-03-10 | 8 | -92/+114 | |
| | ||||||
* | Add MultiplyAddToExt method to fields | Peter Dettman | 2014-03-10 | 6 | -2/+71 | |
| | ||||||
* | Refactor temporary variables in reductions | Peter Dettman | 2014-03-10 | 3 | -28/+30 | |
| | ||||||
* | Inline Reduce32 calls and registerize some values to avoid extra writes | Peter Dettman | 2014-03-10 | 2 | -12/+53 | |
| | ||||||
* | Use more specific Nat methods | Peter Dettman | 2014-03-10 | 1 | -2/+2 | |
| | ||||||
* | Minor improvement to reduction release-1.8.0-beta.2 | Peter Dettman | 2014-03-06 | 3 | -9/+15 | |
| | ||||||
* | Avoid redundant subtraction | Peter Dettman | 2014-03-06 | 1 | -43/+43 | |
| | ||||||
* | Improved reduction | Peter Dettman | 2014-03-05 | 4 | -63/+101 | |
| | ||||||
* | Reduction optimization for secp256r1 | Peter Dettman | 2014-03-05 | 1 | -5/+73 | |
| | ||||||
* | Use Nat methods instead of specific Nat*.*Ext methods | Peter Dettman | 2014-03-05 | 10 | -84/+44 | |
| | | | | Reduction improvements in curve25519 and secp256r1 | |||||
* | Fix infinite loop issue when there is no sqrt | Peter Dettman | 2014-03-04 | 1 | -30/+55 | |
| | | | | Add test case to check that Sqrt returns null for non-squares | |||||
* | Remove some length-specific methods in favour of the Nat class | Peter Dettman | 2014-03-04 | 12 | -558/+487 | |
| | | | | | Add more method variations to Nat Use customized reductions in various fields | |||||
* | Just use shift methods from Nat class evverywhere | Peter Dettman | 2014-03-04 | 10 | -271/+25 | |
| | ||||||
* | Refactoring in the Nat* classes and some new method variations | Peter Dettman | 2014-03-03 | 15 | -187/+634 | |
| | | | | Improved reduction in some fields | |||||
* | Share single temp variable across calls in Sqrt() | Peter Dettman | 2014-03-03 | 1 | -10/+9 | |
| | ||||||
* | Refactor reduction methods and change scope of PExt fields | Peter Dettman | 2014-03-03 | 7 | -115/+103 | |
| | ||||||
* | Add/rename MulAddTo variations | Peter Dettman | 2014-03-03 | 3 | -2/+167 | |
| | ||||||
* | Allow for (very rare) cases where the Sqrt() algorithm needs to retry | Peter Dettman | 2014-03-02 | 1 | -36/+40 | |
| | ||||||
* | Avoid a few negations in Sqrt() | Peter Dettman | 2014-02-28 | 1 | -7/+8 | |
| | ||||||
* | Optimized Sqrt() for custom secp224r1 | Peter Dettman | 2014-02-27 | 2 | -2/+112 | |
| | ||||||
* | Equality/hashcode should ignore "excess" words | Peter Dettman | 2014-02-27 | 12 | -23/+107 | |
| | ||||||
* | Optimize Sqrt() for custom secp384r1 | Peter Dettman | 2014-02-27 | 1 | -2/+56 | |
| | ||||||
* | Optimize final adjustments in Reduce() | Peter Dettman | 2014-02-27 | 1 | -13/+4 | |
| | ||||||
* | Simplify Twice() | Peter Dettman | 2014-02-27 | 1 | -7/+3 | |
| | ||||||
* | Add custom curve for secp384r1 (P-384) | Peter Dettman | 2014-02-27 | 6 | -0/+833 | |
| | ||||||
* | Optimize final adjustments in Reduce() | Peter Dettman | 2014-02-27 | 1 | -11/+8 | |
| | ||||||
* | Round out the Nat192 methods | Peter Dettman | 2014-02-26 | 7 | -20/+275 | |
| | | | | Use Nat*.Copy methods in fields | |||||
* | Add extra arg to AddWord() and add variant of Copy() | Peter Dettman | 2014-02-26 | 2 | -6/+12 | |
| | ||||||
* | Optimization for custom curve reduction when only a few bits need reducing; ↵ | Peter Dettman | 2014-02-26 | 15 | -30/+205 | |
| | | | | used to delay reduction in point doubling. | |||||
* | Optimize Sqrt() for custom curve secp224k1 | Peter Dettman | 2014-02-26 | 1 | -2/+87 | |
| | ||||||
* | Refactoring in Sqrt() | Peter Dettman | 2014-02-26 | 1 | -14/+6 | |
| | ||||||
* | Add custom curve for secp224k1 | Peter Dettman | 2014-02-26 | 5 | -0/+697 | |
| | ||||||
* | Special handling for zero-valued scalars | Peter Dettman | 2014-02-26 | 1 | -20/+38 | |
| | | | | Some optimizations for NAF generation | |||||
* | Refactoring in Sqrt() | Peter Dettman | 2014-02-25 | 1 | -13/+12 | |
| | ||||||
* | Add custom curve for secp224r1 (P-224) | Peter Dettman | 2014-02-25 | 6 | -0/+2003 | |
| | ||||||
* | Tabs -> spaces | Peter Dettman | 2014-02-25 | 1 | -4/+4 | |
| | ||||||
* | Port some openpgp updates from Java build for secret keys | Peter Dettman | 2014-02-25 | 3 | -206/+262 | |
| | ||||||
* | Implement the 8m + 5 case from Pocklington's sqrt algorithm (seems to be ↵ | Peter Dettman | 2014-02-25 | 1 | -7/+45 | |
| | | | | only used by secp224k1) | |||||
* | Refactoring in Nat* classes | Peter Dettman | 2014-02-24 | 6 | -101/+99 | |
| | ||||||
* | Tabs -> spaces | Peter Dettman | 2014-02-19 | 1 | -372/+372 | |
| | ||||||
* | [BMA-87] | Peter Dettman | 2014-02-19 | 1 | -8/+19 | |
| | | | | Fix for UTC-type GeneralizedTime instances | |||||
* | Tabs -> spaces | Peter Dettman | 2014-02-19 | 1 | -168/+168 | |
| | ||||||
* | Use ToBigInteger() for A/B comparison in curve equality | Peter Dettman | 2014-02-19 | 1 | -4/+4 | |
| | ||||||
* | Changes to build system in preparation for beta release release-1.8.0-beta.1 | Peter Dettman | 2014-02-18 | 1 | -1/+1 | |
| | ||||||
* | Fix encoding... again | Peter Dettman | 2014-02-18 | 1 | -0/+0 | |
| | ||||||
* | Convert to UTF-8 (thanks Jeff Stedfast) | Peter Dettman | 2014-02-18 | 1 | -0/+0 | |
| | ||||||
* | Delete old commented-out code | Peter Dettman | 2014-02-09 | 1 | -476/+0 | |
| | ||||||
* | Provide SumOfMultiplies as an arbitrary-length generalization of ↵ | Peter Dettman | 2014-02-09 | 1 | -0/+91 | |
| | | | | SumOfTwoMultiplies | |||||
* | Update encoders from Java version, including catching invalid data instead ↵ | Peter Dettman | 2014-02-07 | 2 | -418/+448 | |
| | | | | of ignoring it | |||||
* | Fix casts to satisfy .NET 1.1 | Peter Dettman | 2014-02-07 | 1 | -2/+2 | |
| | ||||||
* | Fix dodgy character in curve seed | Peter Dettman | 2014-02-07 | 1 | -1/+1 | |
| | ||||||
* | Use parallel wNAF for sumOfTwoMultiplies | Peter Dettman | 2014-02-07 | 1 | -4/+69 | |
| | ||||||
* | Small optimization for width 4 | Peter Dettman | 2014-02-07 | 1 | -17/+19 | |
| | ||||||
* | Index precomputation info by name | Peter Dettman | 2014-02-07 | 5 | -14/+36 | |
| | ||||||
* | Update OCB draft references | Peter Dettman | 2014-02-07 | 1 | -1/+1 | |
| | ||||||
* | Use FixedPointCombMultiplier for most base-point multiplications | Peter Dettman | 2014-02-06 | 2 | -15/+16 | |
| | ||||||
* | Fix incomplete port | Peter Dettman | 2014-02-06 | 1 | -1/+1 | |
| | ||||||
* | Use fixed-point comb for multiplying by the base-point | Peter Dettman | 2014-02-06 | 1 | -13/+11 | |
| | ||||||
* | A few improvements to the fixed-point comb | Peter Dettman | 2014-02-06 | 2 | -10/+28 | |
| | ||||||
* | Initial work on the Curve25519 field implementation | Peter Dettman | 2014-02-06 | 3 | -19/+299 | |
| |