summary refs log tree commit diff
path: root/crypto/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Work on Stream classesPeter Dettman2022-05-2332-1182/+1022
| | | | | | | - consistent naming, ordering - CanRead/Seek/Write fixes - argument validation - some cases of blocking zero-byte Read calls
* Add ValidateBufferArgumentsPeter Dettman2022-05-193-65/+75
|
* Add previewing of pending output recordsPeter Dettman2022-05-192-0/+30
|
* ByteQueue improvementsPeter Dettman2022-05-191-3/+12
|
* Fix spellingPeter Dettman2022-05-151-2/+2
|
* Blocking zero-byte Read for TlsStreamPeter Dettman2022-05-131-7/+15
|
* Merge branch 'alpn-id'Peter Dettman2022-05-121-0/+11
|\
| * Add missing ALPN Protocol namesMatthew Sitton2022-05-121-0/+11
| |
* | Improve anon suitesPeter Dettman2022-05-115-7/+30
| |
* | Improve HMac resetPeter Dettman2022-05-111-5/+9
| |
* | Check EncryptionAlgorithm explicitlyPeter Dettman2022-05-111-4/+27
| |
* | (D)TLS: now defaults to offering (D)TLS 1.2, TLS 13Peter Dettman2022-05-117-13/+12
| |
* | Register DTLS 1.3 version numberPeter Dettman2022-05-111-0/+5
| |
* | ReformatPeter Dettman2022-05-111-27/+40
| |
* | RefactoringPeter Dettman2022-05-111-3/+2
| |
* | Test config for ClientHello sig algsPeter Dettman2022-05-101-1/+6
| |
* | Improve TLS handshake hash trackingPeter Dettman2022-05-107-40/+61
| |
* | Minor SignatureAlgorithm additionsPeter Dettman2022-05-103-8/+44
| |
* | Improve TLS handshake hash trackingPeter Dettman2022-05-106-183/+223
| |
* | Avoid duplicate callPeter Dettman2022-05-061-1/+1
| |
* | Mark method obsoletePeter Dettman2022-05-051-2/+3
| |
* | Rework TLS 1.3 verifiersPeter Dettman2022-05-0513-187/+314
| |
* | Change method to propertyPeter Dettman2022-05-056-14/+14
| |
* | Fix member namesPeter Dettman2022-05-051-9/+9
| |
* | Refactor client cert type checksPeter Dettman2022-05-051-19/+17
| |
* | Followup fix for PSS changesPeter Dettman2022-05-051-1/+9
| |
* | TLS PSS raw signaturesPeter Dettman2022-05-043-19/+34
|/
* Provide getter for native certificate instancePeter Dettman2022-05-031-0/+5
|
* Add HasHkdfAlgorithm method and use in testPeter Dettman2022-04-213-41/+62
|
* RefactoringPeter Dettman2022-04-218-32/+8
|
* Consistent namingPeter Dettman2022-04-208-26/+26
|
* No HMacDsaKCalculator for verificationPeter Dettman2022-04-204-12/+7
|
* RefactoringPeter Dettman2022-04-063-29/+40
|
* RefactoringPeter Dettman2022-04-041-8/+7
|
* Improve IsSupportedCipherSuitePeter Dettman2022-03-281-3/+16
|
* Fix TLS 1.3 Export Keying MaterialPeter Dettman2022-03-281-2/+15
| | | | - see https://github.com/bcgit/bc-java/issues/1133
* minor corrections, updated ECPointTestDavid Hook2022-03-232-4/+7
|
* added RSA/EC checksDavid Hook2022-03-237-34/+135
|
* Merge remote-tracking branch 'refs/remotes/origin/master'David Hook2022-03-2318-149/+327
|\
| * RefactoringPeter Dettman2022-03-173-11/+13
| |
| * Fix return typePeter Dettman2022-03-161-4/+2
| |
| * DTLS: delayed handshake hash updatePeter Dettman2022-03-166-105/+122
| | | | | | | | - avoid clone of handshake hash
| * RefactoringPeter Dettman2022-03-162-3/+35
| |
| * RefactoringPeter Dettman2022-03-124-30/+24
| |
| * RFC 8879 preliminariesPeter Dettman2022-03-027-0/+135
| |
* | fixed case of IV to upper github #353David Hook2022-03-231-1/+2
|/
* Further GCM updatesPeter Dettman2022-02-094-24/+86
|
* GCM perf. opts.Peter Dettman2022-02-084-60/+130
|
* FormattingPeter Dettman2022-02-081-1/+1
|
* Speed up BasicGcmMultiplierPeter Dettman2022-02-082-3/+39
|
* Minor optimizationPeter Dettman2022-02-081-6/+6
|
* Small performance optimization for important curvesPeter Dettman2022-02-0512-163/+281
|
* Improve curve registry lazinessPeter Dettman2022-02-0316-591/+1455
|
* Remove Obsolete methodsPeter Dettman2022-02-031-33/+14
|
* Support additional input in "deterministic (EC)DSA"Peter Dettman2022-01-271-0/+17
|
* Merge branch 'yla/fix/null-reference' of https://github.com/ylabade/bc-csharpPeter Dettman2022-01-171-1/+1
|\
| * fix: NullReferenceException in DerOctetString..ctorLABADE Youval2022-01-121-1/+1
| |
* | Add new utility methods from bc-javaPeter Dettman2022-01-131-1/+61
| |
* | Avoid stateful processing in Camellia enginesPeter Dettman2022-01-132-10/+14
| |
* | Update IsMasterKeyPeter Dettman2022-01-131-1/+6
| |
* | Handle RevocationKey and RevocationReasonPeter Dettman2022-01-131-27/+31
| |
* | Improve OAEP const-time decodingPeter Dettman2022-01-131-17/+17
| |
* | added key length checkPeter Dettman2022-01-131-0/+3
| |
* | added additional OIDs in line with draft-uni-qsckeys-00.txtPeter Dettman2022-01-131-0/+21
|/
* Tables8kGcmMultiplier performancePeter Dettman2021-12-302-17/+32
|
* Faster const-time inversionPeter Dettman2021-12-041-21/+21
|
* Rewrite ScalarMult methodsPeter Dettman2021-12-012-53/+52
|
* Add BitString parsersPeter Dettman2021-11-229-60/+396
|
* Perf. opts.Peter Dettman2021-11-221-2/+2
|
* CleanupPeter Dettman2021-11-2211-17/+0
|
* Use Meta for checked castsPeter Dettman2021-11-221-4/+2
|
* RenamingPeter Dettman2021-11-211-24/+23
|
* Fix return valuesPeter Dettman2021-11-211-2/+5
|
* ASN.1 perf. optsPeter Dettman2021-11-214-148/+69
|
* Use Seek when availablePeter Dettman2021-11-215-55/+82
|
* ASN.1: Tagged object parser improvementsPeter Dettman2021-11-2011-212/+381
| | | | | - add DLTaggedObjectParser - refactoring of Asn1InputStream/Asn1StreamParser
* ASN:1 tagged object parser updates from bc-javaPeter Dettman2021-11-1810-47/+329
|
* ASN.1: Port of bc-java TYPE instancesPeter Dettman2021-11-1834-926/+1622
| | | | | - we use Meta.Instance here due to syntax restrictions - also reworked some ASN.1 string types
* ASN.1: Staged encodingPeter Dettman2021-11-1650-1060/+535
|
* Make cast more specificPeter Dettman2021-11-121-1/+1
|
* Reimplement application-specific over tagged objectPeter Dettman2021-11-128-356/+506
|
* Add new Equals methodPeter Dettman2021-11-124-3/+8
|
* Refactor tagged object parsingPeter Dettman2021-11-113-38/+40
|
* Trim stack tracePeter Dettman2021-11-112-4/+8
|
* RefactoringPeter Dettman2021-11-111-15/+10
|
* Remove now-redundant workaroundPeter Dettman2021-11-111-15/+0
|
* Minor fixes for DLTaggedObjectPeter Dettman2021-11-111-2/+2
|
* Improved parsing of tagged objectsPeter Dettman2021-11-114-192/+196
|
* Add DLTaggedObject and use from parserPeter Dettman2021-11-112-3/+113
|
* ASN.1: Update encoding in line with bc-javaPeter Dettman2021-11-1143-370/+567
|
* Handle high tag numbersPeter Dettman2021-11-101-13/+21
|
* Add DLSequence, DLSet for internal usePeter Dettman2021-11-0916-146/+370
| | | | - improve sorting of sets
* Fix DER encoding of lazy objectsPeter Dettman2021-11-092-8/+24
|
* Fix deprecated callPeter Dettman2021-11-091-1/+1
|
* RefactoringPeter Dettman2021-11-092-8/+8
|
* ASN.1: Add support for relative OIDsPeter Dettman2021-11-084-160/+373
|
* Lazy ASN.1 enumeration and refactoringPeter Dettman2021-11-087-234/+298
|
* ASN.1 refactoringPeter Dettman2021-11-089-130/+123
|
* More tagged object work from bc-javaPeter Dettman2021-11-084-46/+248
|
* Change return type of GetExplicitBaseObjectPeter Dettman2021-11-082-3/+3
|
* Utility methods and guardsPeter Dettman2021-11-086-7/+95
|
* Remove unnecessary static referencesPeter Dettman2021-11-071-2/+2
|
* Add EncodeConstructed methodPeter Dettman2021-11-0730-19/+164
|
* Rewrite DerExternalPeter Dettman2021-11-065-135/+234
|
* Trim the stack tracePeter Dettman2021-11-061-2/+2
|
* Add TagClass property to Asn1TaggedObjectPeter Dettman2021-11-064-6/+10
|
* Add Asn1Utilities classPeter Dettman2021-11-061-0/+28
|
* Refactor GetStringPeter Dettman2021-11-061-6/+7
|
* Support parsing of Asn1ObjectDescriptorPeter Dettman2021-11-061-0/+2
|
* Add Asn1ObjectDescriptorPeter Dettman2021-11-061-0/+108
|
* DerGraphicString refactoringPeter Dettman2021-11-062-21/+26
| | | | - avoid extra copy of parsed contents
* ASN.1 tagged objectsPeter Dettman2021-11-064-96/+61
| | | | | - guard against null base objects - Obsolete IsEmpty
* Add null-safe GetHashCodePeter Dettman2021-11-061-0/+5
|
* RefactoringPeter Dettman2021-11-062-17/+8
|
* TLS: Improve ASN.1 parsingPeter Dettman2021-11-067-23/+67
|
* Update versions and release notes for 1.9.0 release-1.9.0Peter Dettman2021-10-181-3/+3
|
* PORTABLE fixesPeter Dettman2021-10-182-1/+10
|
* Experimental server-side TLS 1.3 PSKPeter Dettman2021-10-171-51/+89
|
* Server-side PSK selectionPeter Dettman2021-10-172-10/+97
|
* TLS 1.3 PSK server-side workPeter Dettman2021-10-176-7/+96
|
* BiString updates from bc-javaPeter Dettman2021-10-164-125/+358
|
* Preserve laziness in substreamsPeter Dettman2021-10-152-26/+40
|
* Use primitive encoding for short octet stringsPeter Dettman2021-10-152-50/+92
|
* Merge checksPeter Dettman2021-10-151-8/+8
|
* Refactor ASN.1 parsersPeter Dettman2021-10-155-68/+89
|
* Replace Obsolete tagPeter Dettman2021-10-154-7/+7
|
* RefactoringPeter Dettman2021-10-152-101/+87
|
* Update tag constantsPeter Dettman2021-10-151-1/+14
|
* Improve ASN.1 substream handlingPeter Dettman2021-10-152-77/+83
|
* ASN1InputStream updates from bc-javaPeter Dettman2021-10-151-33/+46
| | | | | - improve tag validation - improve handling of long form definite-length
* Add utility methodsPeter Dettman2021-10-152-0/+18
|
* SEQUENCE/SET can't contain java null valuesPeter Dettman2021-10-141-73/+37
|
* Initial pass at EncodedLength methodsPeter Dettman2021-10-1433-14/+258
|
* Add withID to Encode methodPeter Dettman2021-10-1437-232/+243
| | | | - refactor Asn1OutputStream utility methods
* Fix and Obsolete BerNullPeter Dettman2021-10-141-13/+3
|
* More ASN.1 updates from bc-javaPeter Dettman2021-10-146-132/+126
|
* Add WriteElements methodPeter Dettman2021-10-145-20/+12
|
* Null check and reformattingPeter Dettman2021-10-142-105/+109
|
* Some Obsolete cleanupPeter Dettman2021-10-146-20/+9
|
* Add Asn1Encodable.EncodeTo methodsPeter Dettman2021-10-149-49/+56
|
* Obsolete DerOutputStreamPeter Dettman2021-10-1443-153/+181
|
* Obsolete BerOutputStreamPeter Dettman2021-10-1411-20/+34
|
* ASN.1 Obsolete cleanupPeter Dettman2021-10-145-90/+14
|
* ASN.1 opts.Peter Dettman2021-10-146-7/+7
|
* Improve handling of signatures for duplicated user-id/attributesPeter Dettman2021-10-141-8/+17
|
* Ignore PGP signatures with invalid versionPeter Dettman2021-10-144-3/+25
|
* Improve ASN.1 set special handlingPeter Dettman2021-10-131-23/+27
|
* DER sequence/set encoding opts.Peter Dettman2021-10-132-28/+56
|
* Latest ArmoredInputStream stuff from bc-javaPeter Dettman2021-10-131-177/+194
|
* OID improvementsPeter Dettman2021-10-122-20/+24
|
* Marker packet skippingPeter Dettman2021-10-126-35/+50
|
* completed copy constructor in SignerInformation, fixed mutable issue for SET ↵David Hook2021-10-082-17/+20
| | | | in ASN1Encodable
* added explicit sorting of DER encoded SETDavid Hook2021-10-073-24/+13
|
* corrected DER encoding of SETDavid Hook2021-10-071-0/+18
|
* Fixes for new_session_ticketPeter Dettman2021-10-046-16/+53
| | | | - see https://github.com/bcgit/bc-csharp/issues/317
* format changes only - relates to github #68David Hook2021-10-047-86/+86
|
* CRL NextUpdate can be nullPeter Dettman2021-09-081-12/+8
| | | | - see https://github.com/bcgit/bc-csharp/issues/315
* Removed unused variable.mw2021-09-071-2/+0
|
* Merge branch 'master' of gitlab.cryptoworkshop.com:root/bc-csharpmw2021-09-031-2/+2
|\
| * minor refactoringDavid Hook2021-09-021-2/+2
| |
* | Updated PemReader to support differing whitespace assumptions.mw2021-09-032-38/+324
|/ | | | | Added tests. Issue #2
* Issue #1mw2021-09-012-337/+441
| | | | | | Added logic to handle duplicate extensions. New method on Pkcs10CertificationRequest for extracting X509Extensions Tests
* fixed typosDavid Hook2021-08-301-1/+1
|
* initial fix for #261David Hook2021-08-301-0/+10
|
* Add missing GetHashCode variantPeter Dettman2021-08-081-0/+18
|
* Cleanup after bc-fips-csharp updatesPeter Dettman2021-08-077-36/+55
|
* Fix Encode return valuesPeter Dettman2021-08-072-70/+46
|
* Allow IOException from NotifySelectedPskPeter Dettman2021-07-282-0/+2
|
* Enable only psk_dhe_ke by defaultPeter Dettman2021-07-281-1/+1
|
* Set psk_key_exchange_modes extensionPeter Dettman2021-07-281-0/+2
|
* Client message flow for PSK handshakePeter Dettman2021-07-283-27/+45
|
* ServeHello selected PSK handlingPeter Dettman2021-07-281-19/+36
|
* Filter PSK set for ClientHello retryPeter Dettman2021-07-274-27/+91
|
* Seal handshake hash externallyPeter Dettman2021-07-273-5/+6
|
* Add pre_shared_key to ClientHelloPeter Dettman2021-07-276-50/+119
|
* Use PSK early secret when negotiatedPeter Dettman2021-07-274-17/+15
|
* OfferedPsks.Config and methods to buildPeter Dettman2021-07-272-3/+134
|
* More work on PSK bindersPeter Dettman2021-07-268-38/+149
|
* ClientHello 'splitting' to handle PSK bindersPeter Dettman2021-07-263-1/+66
|
* PSK binder based on explicit PRF hashPeter Dettman2021-07-262-44/+29
|
* Initial fix for reneg issuePeter Dettman2021-07-262-2/+20
| | | | - see https://github.com/bcgit/bc-java/issues/990
* TLS 1.3 client API for external PSKsPeter Dettman2021-07-257-0/+84
|
* Fix Truncate methodPeter Dettman2021-07-251-1/+1
|
* Only GetSessionToResume if pre-1.3 offeredPeter Dettman2021-07-251-15/+19
|
* Store the PRF CryptoHashAlgorithmPeter Dettman2021-07-256-26/+28
|
* Refactoring around TLS HKDFPeter Dettman2021-07-255-36/+108
|
* Calculate HMAC without extracting TlsSecretPeter Dettman2021-07-243-6/+23
|
* RefactoringPeter Dettman2021-07-224-27/+4
|
* Hold boolean instead of the parserPeter Dettman2021-07-211-4/+5
|
* Use PackPeter Dettman2021-07-211-15/+3
|
* Followup OAEP changesPeter Dettman2021-07-212-3/+2
|
* AES perf. opt.Peter Dettman2021-07-213-147/+120
|
* Simplify HandleClosePeter Dettman2021-07-211-7/+7
|
* Avoid redundant CheckUsageInRole callsPeter Dettman2021-07-148-61/+25
|
* Refactoring around TlsEncryptorPeter Dettman2021-07-138-28/+39
|
* Some methods towards GMSSL supportPeter Dettman2021-07-134-20/+57
|
* Port of new TLS API from bc-javaPeter Dettman2021-07-12266-0/+36270
|
* ASN.1 updates from bc-javaPeter Dettman2021-07-088-59/+83
|
* Check key sizes strictlyPeter Dettman2021-06-251-63/+47
| | | | | - see https://github.com/bcgit/bc-csharp/issues/303 - also refactor to use Pack and Integers
* Fix portability issues around Socket classPeter Dettman2021-06-105-29/+80
|
* Portabiliity fixPeter Dettman2021-06-101-1/+1
|
* Portability fixPeter Dettman2021-06-101-2/+1
|
* Respect buffer size and use StreamsPeter Dettman2021-06-091-2/+2
|
* New PipeAll with explicit buffer sizePeter Dettman2021-06-091-4/+18
| | | | - increase default buffer size
* Overload AddObject for Asn1ObjectPeter Dettman2021-06-094-6/+26
|
* Update from bc-javaPeter Dettman2021-06-081-1/+1
|
* Update from bc-javaPeter Dettman2021-06-071-32/+23
|
* Improve EdDSA/XDH key validationPeter Dettman2021-06-0610-22/+118
|
* Merge remote-tracking branch 'origin/master'David Hook2021-06-032-4/+29
|\
| * NTZ for 0 should be 32/64 resp.Peter Dettman2021-06-012-4/+29
| | | | | | | | | | - add tests for NLZ, NTZ - round out methods for Longs class
* | github #172 - added blowfish init check on key sizeDavid Hook2021-05-311-2/+7
| |
* | github #83 - correct digest name fetch to check enc oidDavid Hook2021-05-311-7/+12
| |
* | github #262 added settable digest to OpenSSL PBE generatorDavid Hook2021-05-311-12/+28
|/
* CorrectionPeter Dettman2021-05-241-1/+1
|
* .NET 1.1 fixesPeter Dettman2021-05-241-1/+1
|
* Portability fixesPeter Dettman2021-05-242-2/+2
|
* Fix project files plus portability fixesPeter Dettman2021-05-2415-1575/+1557
|
* Add support for ARIAPeter Dettman2021-05-245-16/+611
|
* Noekeon improvementsPeter Dettman2021-05-241-54/+58
| | | | | - check key size in Init - perf. opts.
* Use DigestSinkPeter Dettman2021-05-241-22/+2
|
* github #222 addressed OAEP parameter setting, refactored ↵David Hook2021-05-249-98/+299
| | | | KeyTransRecipientInfoGenerator to allow deprecation of sub class
* Merge remote-tracking branch 'origin/master'David Hook2021-05-241-0/+10
|\
| * Merge branch 'master' of https://github.com/fabiogermann/bc-csharp into ↵David Hook2021-05-241-0/+10
| |\ | | | | | | | | | fabiogermann-master
| | * added an implementation of RSA/ECB/OAEPWithSHA-256AndMGF1Padding as it is ↵Fabio Germann2016-02-181-0/+10
| | | | | | | | | | | | implemented in java as: RSA/ECB/OAEPWithSHA-256AndMGF1WithSHA-1Padding
* | | Merge remote-tracking branch 'refs/remotes/origin/master'David Hook2021-05-241-1/+1
|\| |
| * | Use portable Stream closePeter Dettman2021-05-241-1/+1
| | |
* | | removed bogus codeDavid Hook2021-05-241-6/+0
|/ /
* | github #23 added method for handling signing subkeyDavid Hook2021-05-235-31/+127
| |
* | github #250 lookup table errorDavid Hook2021-05-231-2/+2
| |
* | github #283 added extra features fields, corrected parsing for new draftDavid Hook2021-05-231-36/+26
| |
* | allowed for null policy OIDDavid Hook2021-05-231-11/+13
| |
* | rewound case changeDavid Hook2021-05-022-13/+13
| |
* | minor refactor of Hkdf to HKdfDavid Hook2021-05-022-13/+13
| |
* | updates for working tests for FPE, TupleHash, ParallelHashDavid Hook2021-03-192-1/+2
| |
* | first cut FPE, TupleHash, ParallelHash, and GCM-SIVDavid Hook2021-03-1917-1/+2519
| |
* | Update versions and release notes for 1.8.10 release-1.8.10Peter Dettman2021-02-161-3/+3
| |
* | Use cached encodings for Equals/GetHashCodePeter Dettman2021-02-162-460/+595
| |
* | Add Nat448 KaratsubaPeter Dettman2021-02-111-0/+38
| |
* | Fix SHAKE 'digest' output sizePeter Dettman2021-02-112-7/+14
| |
* | EdDSA: Faster pub key validationPeter Dettman2021-02-112-71/+65
| |
* | Refactoring CShakePeter Dettman2021-02-112-40/+27
| |
* | EdDSA public key validationPeter Dettman2021-02-104-6/+217
| | | | | | | | - per NIST SP 800-186
* | Refactor nonce generator initPeter Dettman2021-02-101-9/+21
| |
* | Add ReverseInPlace methodsPeter Dettman2021-02-101-0/+32
| |
* | Tolerate null/empty seedPeter Dettman2021-02-101-3/+6
| |
* | Various SHA512/224, SHA512/256, SHA3 supportPeter Dettman2021-02-109-59/+253
| |
* | Copyright and Readme updatesPeter Dettman2021-02-091-1/+1
| |
* | Add more PSS algorithm namesPeter Dettman2021-02-091-1/+11
| |
* | Clear copy of decrypted dataPeter Dettman2021-02-091-0/+1
| |
* | Equals/GetHashCode for SignatureSubpacketPeter Dettman2021-02-091-0/+21
| |