summary refs log tree commit diff
path: root/crypto/src (unfollow)
Commit message (Expand)AuthorFilesLines
2018-12-03Fix some commentsPeter Dettman1-2/+2
2018-11-06TLS: Update to RFC 7627 from draft-ietf-tls-session-hash-04Peter Dettman15-105/+183
2018-10-27Update versions and release notes for 1.8.4 release-1.8.4Peter Dettman3-9/+28
2018-10-27Set the acInfoGen signature algorithm from ISignatureFactoryPeter Dettman1-8/+8
2018-10-27Provide the option to pass a different RSA enginePeter Dettman1-1/+6
2018-10-24Reverted short nonce on decryption changePeter Dettman2-38/+4
2018-10-22Use Edwards internals for X25519/X448 public key calculationsPeter Dettman4-249/+49
2018-10-22Add GeneratePublicKey method for completenessPeter Dettman4-2/+12
2018-10-22Don't try to track unrecognized hash algorithmsPeter Dettman2-2/+21
2018-10-22DH_anon cipher suites are considered ephemeral DHPeter Dettman1-0/+19
2018-10-22Apply CCM nonce length check for encryption onlyPeter Dettman2-33/+66
2018-10-22Remove unnecessary ClonePeter Dettman1-1/+1
2018-10-22Include public key in EC encodingPeter Dettman3-15/+8
2018-10-18Env. prop.: Org.BouncyCastle.Asn1.AllowUnsafeIntegerPeter Dettman8-20/+387
2018-10-14Move generic "...withRSA" handler after PSSwithRSAPeter Dettman1-9/+6
2018-10-14Handle CVC-ECDSA and PLAIN-ECDSA in test casePeter Dettman1-1/+3
2018-10-14Port of CVC-ECDSA and PLAIN-ECDSA from JavaPeter Dettman23-211/+559
2018-10-14Move XDH/EdDSA key generation into low-levelPeter Dettman9-5/+36
2018-10-11Port PGP utility fix from JavaPeter Dettman3-2/+7
2018-10-11Add missing file entry from previous commitPeter Dettman4-0/+8
2018-10-11Refactoring to support custom ISignatureFactoryPeter Dettman29-337/+406
2018-10-11More PORTABLE fixesPeter Dettman2-1/+5
2018-10-09Fix unmarked key regressionPeter Dettman1-0/+4
2018-10-09Clean up usage of AutoResetEvent (PORTABLE only)Peter Dettman1-19/+34
2018-10-09Restore previous constructors (as Obsolete) for backward compatibilityPeter Dettman3-0/+21
2018-10-09Replace MethodImpl with lockPeter Dettman9-280/+301
2018-10-08ReformattingPeter Dettman2-120/+120
2018-10-06RFC 7748: Exclude all-zeroes agreement valuePeter Dettman5-2/+30
2018-10-05Update a documentation comment in Build methodFilippo Biondi1-2/+2
2018-10-05Add a new constructor which accepts RsaPrivateKeyStructureFilippo Biondi1-1/+15
2018-10-05Fix initialization checksPeter Dettman5-10/+10
2018-10-05Fix some TODOs for PORTABLE and StreamsPeter Dettman5-18/+52
2018-10-05Add new SignerInformation protected constructorPeter Dettman1-0/+24
2018-10-04TLS: Don't check CCS status for hello_requestPeter Dettman1-15/+14
2018-09-25RFC 8032: Avoid unnecessary doublings in precomputationPeter Dettman2-4/+10
2018-09-25Port of SM4 from Java APIPeter Dettman14-2/+475
2018-09-21Fix ed25519 ignoring the public key offsetPeter Dettman1-1/+1
2018-09-21Higher-level API support for Ed25519/Ed448/X25519/X448Peter Dettman49-91/+2259
2018-09-20RefactoringPeter Dettman2-6/+9
2018-09-18Code cleanup (from Java build)Peter Dettman3-4/+10
2018-09-18Add missing default and improve extensions handlingPeter Dettman1-2/+6
2018-09-18Code cleanupPeter Dettman1-22/+11
2018-09-18Add additional constructor to EncryptionSchemePeter Dettman1-1/+7
2018-09-18Link to "Prime and Prejudice" paperPeter Dettman1-1/+2
2018-09-16Blake2b/s: relax length-only constructor constraintsPeter Dettman6-253/+435
2018-09-16Fixed Rfc3211WrapEngine processing of messages over 127 bytes.Peter Dettman3-25/+45
2018-09-14Reduce single-bit extractions from scalarsPeter Dettman2-5/+8
2018-09-14RFC 5958: Update PrivateKeyInfoPeter Dettman2-62/+139
2018-09-14RFC 8032: Implement Ed25519ctx, Ed25519ph, Ed448ph variantsPeter Dettman4-163/+783
2018-09-14RFC 7748: Export size constants for scalars, pointsPeter Dettman4-42/+66
2018-09-14Add asymmetric multiplicationPeter Dettman1-4/+14
2018-08-11Further work to improve constant time in OAEP. release-1.8.3Peter Dettman4-9/+89
2018-08-07Update versions and release notes for 1.8.3Peter Dettman3-5/+5
2018-08-07Refactoring around Pkcs10CertificationRequestPeter Dettman2-45/+60
2018-08-07Add entry explaining DH changesPeter Dettman1-0/+10
2018-08-07TLS: Disable DHE_* ciphersuites in default clientsPeter Dettman2-8/+0
2018-08-06Add UseDerForCerts, UseDerForCrls propertiesPeter Dettman3-5/+27
2018-08-06Add IgnoreX509NameOrdering propertyPeter Dettman1-3/+12
2018-08-03Add public constructors to PollRepContentAlex Reynolds1-0/+19
2018-07-24TLS: Use DH group whitelistingPeter Dettman15-143/+196
2018-07-15IDEA: Update patent informationPeter Dettman1-13/+3
2018-07-10EC-related updates from bc-javaPeter Dettman67-672/+959
2018-07-10Make members privatePeter Dettman1-1/+1
2018-07-09Clear buffer after literal data copyPeter Dettman1-7/+14
2018-07-08Add Ed25519 and Ed448 from RFC 8032Peter Dettman16-42/+3078
2018-05-31Improved performance for BigInteger.ToString(int)Peter Dettman1-23/+31
2018-04-17BCrypt: Add method for explicitly including trailing zero on passwordPeter Dettman2-0/+13
2018-04-17SCrypt: N parameters must be a power of 2Peter Dettman1-4/+12
2018-04-17Update TSP digest tables from bc-javaPeter Dettman1-3/+11
2018-04-17Update TSP algorithms from bc-javaPeter Dettman1-2/+8
2018-04-17Remove debugging codePeter Dettman1-12/+0
2018-04-17PKIX: Allow a V0 TA to appear at end of the cert path.Peter Dettman5-3/+45
2018-04-17PKIX: explicit validation of version number and extension repeatsPeter Dettman3-17/+75
2018-04-17Updated OpenBsdBCrypt to support version 2y.Peter Dettman2-13/+91
2018-04-17Change CCM test to use IV of 12 bytes (from bc-java).Peter Dettman1-2/+2
2018-04-17Add entry for RFC 7748Peter Dettman1-0/+1
2018-04-17Add X25519 and X448 from RFC 7748Peter Dettman11-0/+2339
2018-04-15Cache-safety for EC lookup tablesPeter Dettman65-75/+2374
2018-04-15Update Readme.html for SHA-3 perf. opts.Peter Dettman1-0/+16
2018-04-15Perf. opts. in Keccak/SHA3Peter Dettman2-200/+126
2018-04-15Change default location of git executablePeter Dettman1-1/+1
2018-04-08Update versions and release notes for 1.8.2 release-1.8.2Peter Dettman3-5/+20
2018-04-08Added support for IVs.Peter Dettman1-6/+24
2018-04-08Added method for looking up name of SBox.Peter Dettman1-1/+15
2018-04-08Update registries for digests, MACs from bc-javaPeter Dettman5-65/+170
2018-04-08Add id_at_organizationIdentifierPeter Dettman2-1/+8
2018-04-08Update BC OIDs from bc-javaPeter Dettman1-31/+100
2018-04-08Provide methods taking explicit CspParametersPeter Dettman1-0/+23
2018-04-08Port of BLAKE2B/2S digests from bc-javaPeter Dettman14-29/+1854
2018-04-08Latest scrypt updates from bc-javaPeter Dettman2-12/+86
2018-04-05Latest DSTU7624 updates from JavaPeter Dettman1-474/+809
2018-04-05Latest DSTU7564 updates from JavaPeter Dettman1-323/+342
2018-04-04Update CopyrightPeter Dettman2-2/+2
2018-03-24if the parameter "inOff" in Decrypt() is not zero, it can not be decrypted as...ZZMarquis1-1/+1
2018-02-04ReformatPeter Dettman1-186/+178
2017-11-22BouncyCastle.csproj: Added trailing slash to OutputPath for compatibility wit...ROM-Knowledgeware1-4/+4
2017-10-18Perf. opts. in GCMBlockCipherPeter Dettman2-41/+127
2017-10-17Fix test for .NET 1.1Peter Dettman1-1/+1
2017-10-17Add RSA test case for CVE-2017-15361 vulnerabilityPeter Dettman1-1/+99
2017-10-16TLS: always send CCS immediately before FINISHED messagePeter Dettman2-8/+2
2017-09-18Performance optimisation in DSTU algorithmsPeter Dettman2-102/+87
2017-09-18Constant-time GF multiplicationPeter Dettman2-39/+29
2017-09-18Fix method qualifiers and refactorPeter Dettman2-659/+601
2017-09-17Update Copyright yearPeter Dettman1-1/+1
2017-09-17Update SignerLocation to use DirectoryStringPeter Dettman3-57/+82
2017-09-17Sketch out test changes for ECGOST3410-2012Peter Dettman1-12/+29
2017-09-17Improve exception messagesPeter Dettman3-3/+3
2017-09-17Add testcase for RAW PKCS#1 signatures missing DER NULLPeter Dettman5-0/+28
2017-09-17Add new PGP signature testcasePeter Dettman1-0/+41
2017-09-17Remove redundant Init callPeter Dettman1-1/+0
2017-09-17Port of some newer test cases and data from Java CertTestPeter Dettman11-0/+398
2017-09-17Avoid infinity appearing in lookup table for FixedPointCombMultiplierPeter Dettman3-5/+17
2017-09-17Added GmSSL test vectors for SM3Peter Dettman1-6/+139
2017-09-17Check final padding character in Base64 data.Peter Dettman1-0/+3
2017-09-16Fix previous commit for .NET 1.1Peter Dettman1-1/+1
2017-09-16Exclude GOST34.10 2012 curves from existing test casesPeter Dettman1-0/+4
2017-09-16Add GOST34.10 2012 parameter setsPeter Dettman7-4/+164
2017-09-16Port of ConcatenationKdfGenerator from JavaPeter Dettman5-0/+108
2017-09-16Port of SM2Engine from JavaPeter Dettman8-0/+420
2017-09-16Port of SM2KeyExchange from JavaPeter Dettman10-0/+636
2017-09-16SM2 signing cleanupPeter Dettman2-2/+1
2017-09-16Port of SM2Signer from JavaPeter Dettman12-1/+813
2017-09-16Add class summaryPeter Dettman1-0/+5
2017-09-16Use RandomNumberGenerator.CreatePeter Dettman2-3/+3
2017-09-16Use Arrays.CopyOfRangePeter Dettman1-22/+19
2017-09-05Refactoring in SM3DigestPeter Dettman1-18/+10
2017-09-05Add OIW OIDs in various lookup tablesPeter Dettman5-120/+137
2017-09-05Tolerate unexpected ec_point_formats in ServerHelloPeter Dettman1-0/+10
2017-09-04Add expiry test case to PgpKeyRingTestPeter Dettman1-0/+246
2017-09-04Fix ResetHeaders to preserve the existing version as intendedPeter Dettman1-3/+3
2017-09-04Update handling of implicitly-tagged OIDs (from bc-java)Peter Dettman1-1/+8
2017-09-04Support INTEGER encoding when reading GOST private keysPeter Dettman2-17/+17
2017-08-31Avoid integer overflow in argument checksPeter Dettman1-1/+1
2017-08-14Fix the message in case of test failurePeter Dettman1-2/+3
2017-08-13Fix namespace declarationPeter Dettman1-1/+1
2017-08-13Update GMacTest from JavaPeter Dettman1-0/+4
2017-08-13Fix various issues trying to build for .NET 1.1Peter Dettman5-52/+90
2017-08-13Fix exception type in DoFinalPeter Dettman1-41/+28
2017-08-13Fix Dstu7624WrapEngine to respect input offsets and lengthsPeter Dettman3-615/+482
2017-08-13Support receiving DTLS records containing multiple handshake messagesPeter Dettman4-153/+159
2017-08-13Use ffdhe2048 from RFC 7919 as TLS default DH groupPeter Dettman2-2/+2
2017-08-13Add FFDHE groups from RFC 7919Peter Dettman1-0/+86
2017-07-28Can't use MemoryStream.GetBuffer under PORTABLEPeter Dettman1-34/+30
2017-07-20Keccak performance improvementsPeter Dettman3-187/+106
2017-07-19Keccak performance - avoid temp copyingPeter Dettman1-40/+32
2017-07-19Use Pack methods for byte <-> ulong conversionsPeter Dettman1-42/+3
2017-07-19Add a few method variations to Pack classPeter Dettman1-0/+34
2017-07-19Fix GetValidSeconds for multi-sigs (port from Java version)Peter Dettman1-11/+22
2017-07-19Update project files for recent additionsPeter Dettman5-6/+110
2017-07-18speed upsDavid Hook1-71/+141
2017-07-11added GOST3411-2012David Hook5-0/+1348
2017-07-11CCM updateDavid Hook2-18/+26
2017-07-10fixed reset issueDavid Hook1-2/+5
2017-07-08added KCCMDavid Hook2-24/+757
2017-07-06refactored out key sizeDavid Hook5-184/+186
2017-07-06added KCTRDavid Hook3-11/+245
2017-07-06DSTU 7624 MACDavid Hook2-2/+161
2017-07-06initial DSTU7624 workDavid Hook3-0/+1606
2017-07-06added extra vectorDavid Hook1-3/+24
2017-07-06fixed case of definitionDavid Hook1-2/+2
2017-07-06added missing null checkDavid Hook1-1/+5
2017-06-27paddingfix for where pad block extends over 2 block boundary.David Hook2-104/+257
2017-06-25updateDavid Hook1-1/+4
2017-06-25Initial cut of DSTU7564 digest and HMAC.David Hook3-0/+1185
2017-06-16Use slightly improved addition chain for sm2p256v1 field sqrtPeter Dettman1-22/+20
2017-06-11Improve TLS exception handlingPeter Dettman3-140/+149
2017-06-11Fix race conditionPeter Dettman1-1/+9
2017-06-10Fix reset for ISO9792-2 schemePeter Dettman2-1/+10
2017-06-10Add Reseed method to SP800SecureRandomPeter Dettman1-0/+7
2017-06-10Add Ed25519 OIDPeter Dettman1-0/+5
2017-06-10Additional fix to GOFB modePeter Dettman1-1/+4
2017-06-10Misc. asn1 changes from Java APIPeter Dettman2-16/+30
2017-06-10Update CHACHA20_POLY1305 out of draft rangePeter Dettman1-3/+2
2017-06-10Misc. asn1 changes from Java APIPeter Dettman3-0/+24
2017-06-10Added byte[] return when macBlock not set.Peter Dettman1-1/+3
2017-06-10Stop decoding exceptions escaping from GetDecoderStreamPeter Dettman2-35/+63
2017-06-10Update GCMBlockCipher from Java APIPeter Dettman2-14/+106
2017-06-10Added expired certificates on CRL extensionPeter Dettman1-0/+5
2017-06-10Alert when anonymous server sends CertificateRequestPeter Dettman2-0/+6
2017-06-10Checks on DH peer public keyPeter Dettman4-3/+106
2017-06-10Added s box allocation to AesEnginePeter Dettman12-39/+47
2017-06-10Add result checks in DH agreementsPeter Dettman2-9/+13
2017-06-10Mark RFC5114 DH groups as ObsoletePeter Dettman1-0/+15
2017-06-09Port missing test cases from JavaPeter Dettman1-36/+90
2017-06-09Update xmldocPeter Dettman1-5/+7
2017-06-09Add PKCS OIDs for SHA512-224/256 sigsPeter Dettman1-16/+21
2017-06-09Write exception message to Console.ErrPeter Dettman1-3/+4
2017-06-09Fix algorithm name for ChaCha7539EnginePeter Dettman1-1/+1
2017-06-09Port of latest encodings work from JavaPeter Dettman5-125/+211
2017-06-09Add validation to RSA public key constructorPeter Dettman2-3/+25
2017-06-09Add validation to DH public key constructorPeter Dettman1-8/+21
2017-06-09Add validation to DSA public key constructorPeter Dettman1-1/+17
2017-06-09Add point validation to EC public key constructorsPeter Dettman1-3/+18
2017-06-09Add explicit length check on OAEP inputPeter Dettman2-4/+27
2017-06-09CommentsPeter Dettman1-1/+1
2017-06-09Improved header control in ArmoredOutputStreamPeter Dettman1-14/+33
2017-06-08Add explicit limit for sequence numbersPeter Dettman1-6/+30
2017-06-08Add latest extension type values from IANA registryPeter Dettman1-0/+10
2017-06-07Specific exception TlsFatalAlertReceived for peer fatal alertsPeter Dettman8-19/+67
2017-06-06Fix paths for previous commitPeter Dettman1-4/+4
2017-06-03Initial implementation of SM2 elliptic curvePeter Dettman13-16/+1221
2017-06-03Fix reductions for custom secp128r1 fieldPeter Dettman1-6/+6
2017-06-01Improve error handling/messagesPeter Dettman1-22/+11
2017-06-01Tighten up no_certificate alert handlingPeter Dettman1-10/+21
2017-05-26RFC 7250 Add methods to work with required extension typesPeter Dettman4-43/+125
2017-05-26X.509 certificates in TLS Certificate message allowed to be BERPeter Dettman1-2/+2
2017-05-26No variable-length padding w/ truncated MAC (unless EtM enabled)Peter Dettman1-6/+15
2017-05-16Added validation of integer/enumerated encoding.David Hook3-3/+26
2017-04-08Fix a bunch of RFC references in commentsPeter Dettman8-17/+17
2017-03-30Check candidate cipher suites against signature_algorithmsPeter Dettman2-2/+73
2017-03-29Fix fatal alert type for unexpected server_hello_donePeter Dettman1-1/+1
2017-03-24Avoid copies when handshake records not fragmentedPeter Dettman2-62/+81
2017-03-23Reduce TLS memory usagePeter Dettman4-4/+26
2017-03-23Improvements to WriteHandshakeMessage methodPeter Dettman1-6/+14
2017-03-23Avoid extra copy when processing TLS handshake messagesPeter Dettman6-58/+104
2017-03-23Support DH_anon cipher suites in TLS APIPeter Dettman5-24/+107
2017-03-23SSLv3 must calculate the master secret earlier (from bc-java)Peter Dettman3-4/+23
2017-03-22Stop TcpListener in TlsServerTestPeter Dettman1-7/+14
2017-03-22Records with ContentType.heartbeat should give 'unexpected_message'Peter Dettman2-17/+13
2017-03-22Add TlsProtocol.CloseInput for use in non-blocking modePeter Dettman2-3/+41
2017-03-22Non-blocking TLS validates header of partially-received recordsPeter Dettman2-5/+59
2017-03-22Use new TlsNoCloseNotifyException instead of generic EndOfStreamExceptionPeter Dettman6-3/+28
2017-03-22Simple refactoring to follow bc-java codePeter Dettman6-10/+15
2017-03-22Change TLS server default DH parameters to 2048-bit group from RFC 3526Peter Dettman2-2/+2
2017-03-22Added support for empty sequencesPeter Dettman1-0/+8
2017-03-22BJA-620 followup for Poly1305Peter Dettman2-18/+25
2017-03-07updateDavid Hook1-2/+2
2017-03-07Fixed N4 calculation issue - see BJA-655David Hook2-3/+50
2017-02-17Fix bug in SecT571KPoint.Add with order-2 points (lambda-projective).Peter Dettman1-1/+1
2017-02-17Clean up old comments in binary custom curve codePeter Dettman11-73/+6
2016-12-28fixed head of loop to use primitive type.David Hook1-1/+3
2016-11-30Fix carry propagation bug in Nat???.Square methodsPeter Dettman10-61/+412
2016-11-14After receiving fatal alert, don't echo that alert to peer (from bc-java)Peter Dettman3-7/+55
2016-11-11EncryptionAlgorithm.NULL is a 'stream' cipherPeter Dettman1-0/+1
2016-11-10Fix possible NPE when cofactor != 1 (from bc-java)Peter Dettman1-1/+1
2016-10-28Throw excepton on unknown tagPeter Dettman1-0/+2
2016-06-25Avoid locale-dependent date-time string comparison in testPeter Dettman1-2/+4
2016-05-26Improve ZInputStream/ZOutputStream constructorsPeter Dettman2-15/+60
2016-05-15removed obsolete annotationDavid Hook3-6/+0
2016-05-07Add CertificateType constants to (D)TLSPeter Dettman5-0/+26
2016-05-07Port of improved app data splitting support from JavaPeter Dettman1-6/+35
2016-05-07Update ECDomainParameters GetHashCodePeter Dettman1-4/+8
2016-04-29Extra test methodPeter Dettman1-0/+6
2016-04-29Support GetInstance from byte[]Peter Dettman2-0/+27
2016-04-29Added IsCertification methods.Peter Dettman1-0/+25
2016-04-29Port of HKDF from Java APIPeter Dettman9-0/+605
2016-04-29Fix XML commentPeter Dettman1-2/+2
2016-04-29Update various parameter classes following Java APIPeter Dettman9-28/+61
2016-04-29Fix test class namePeter Dettman2-3/+3
2016-04-21Update to draft-zauner-tls-aes-ocb-04Peter Dettman6-29/+57