summary refs log tree commit diff
path: root/crypto/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* CHOICE cannot be implicitly taggedPeter Dettman2023-02-072-1/+3
|
* Merge branch 'sparkle' into 'master'Gefei Li2023-02-062-0/+869
|\ | | | | | | | | Sparkle See merge request root/bc-csharp!4
| * Complete Sparkle testsgefeili2023-02-062-88/+220
| |
| * Initial push for Sparklegefeili2022-12-302-0/+737
| |
* | Use .NET style for Try methodsPeter Dettman2023-02-061-0/+175
| | | | | | | | - Osbolete existing Try methods
* | Update commentsPeter Dettman2023-02-062-2/+2
| |
* | New tagged object methods and refactoringPeter Dettman2023-02-067-69/+192
| |
* | Misc. refactoring after bc-fips-csharp updatesPeter Dettman2023-02-0414-84/+61
| |
* | Update IPAddress from bc-javaPeter Dettman2023-02-031-144/+171
| |
* | Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-02-0220-187/+190
| |
* | Support null 'otherInfo'Peter Dettman2023-02-021-2/+5
| |
* | Cleanup warningsPeter Dettman2023-02-026-58/+61
| |
* | Refactoring in Crypto.PaddingsPeter Dettman2023-02-026-141/+40
| |
* | Refactoring in Crypto.IOPeter Dettman2023-02-024-58/+52
| |
* | Misc. cipher cleanupPeter Dettman2023-02-027-54/+21
| |
* | Overhaul Asn1.CmpPeter Dettman2023-02-0143-528/+508
| |
* | Add GetInstanceFromChoice helperPeter Dettman2023-02-011-0/+19
| |
* | Merge branch 'elephant' into 'master'Gefei Li2023-01-311-0/+592
|\ \ | | | | | | | | | | | | Elephant See merge request root/bc-csharp!3
| * | Add test of Elephyant and decryption partgefeili2023-01-311-61/+120
| | |
| * | Initial push of Elephant v2gefeili2022-12-281-0/+533
| |/
* | Add Photon-Beetle to the master branchgefeili2023-01-312-0/+706
| |
* | Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-3021-220/+142
| |
* | Change method namesPeter Dettman2023-01-302-10/+10
| |
* | Ensure configured SecureRandom is passed onPeter Dettman2023-01-302-10/+16
| |
* | Improve seed generationPeter Dettman2023-01-295-2/+33
| |
* | Refactor X509CertificatePairPeter Dettman2023-01-281-54/+31
| |
* | Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-2827-170/+137
| |
* | Add Xoodyak to the master branchgefeili2023-01-272-0/+657
| |
* | MIsc. cleanupPeter Dettman2023-01-274-9/+13
| |
* | Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-2746-600/+438
| |
* | Add CrlID.GetInstance methods, obsolete public constructorPeter Dettman2023-01-271-2/+18
| |
* | Add CmsAlgorithmProtection and related constantsPeter Dettman2023-01-274-7/+114
| |
* | Avoid reparsing when possiblePeter Dettman2023-01-262-6/+8
| |
* | Fix PkixNameConstraintValidator method namesPeter Dettman2023-01-262-30/+43
| |
* | Cleanup Platform.EqualsPeter Dettman2023-01-2510-14/+12
| |
* | Add ISAP to the master branchgefeili2023-01-252-0/+1185
| |
* | Fix method name (obsolete old one)Peter Dettman2023-01-251-9/+15
| |
* | Add Asn1.Pkcs.CrlBagPeter Dettman2023-01-242-19/+55
| |
* | Mark custom curves internalPeter Dettman2023-01-2414-85/+87
| |
* | Mark registered brainpool curves internalPeter Dettman2023-01-241-14/+14
| |
* | Merge branch 'ascon' into 'master'Gefei Li2023-01-231-0/+694
|\ \ | | | | | | | | | | | | Ascon See merge request root/bc-csharp!1
| * | Complete tests for Ascon AEADgefeili2023-01-231-69/+285
| | |
| * | Complete tests for Ascon AEADgefeili2023-01-231-0/+478
| | |
* | | Code cleanupPeter Dettman2023-01-193-5/+0
| | |
* | | Refactoring in Asn1Peter Dettman2023-01-1730-742/+559
| | |
* | | FIx fetching of DateOfCertGen extensionPeter Dettman2023-01-171-24/+18
|/ /
* | Refactoring in PEM classesPeter Dettman2023-01-166-232/+151
| |
* | Refactoring in RsaCoreEnginePeter Dettman2023-01-161-21/+12
| |
* | Avoid allocationsPeter Dettman2023-01-161-7/+6
| |
* | Refactor RC2WrapEnginePeter Dettman2023-01-161-155/+93
| |
* | Improvements to EdDSA use casesPeter Dettman2023-01-126-102/+144
| | | | | | | | - see https://github.com/bcgit/bc-csharp/issues/406
* | Refactoring around ParametersWithRandomPeter Dettman2023-01-1229-187/+138
| |
* | Make classes staticPeter Dettman2023-01-0912-12/+12
| |
* | Add FromUnsignedByteArray methodsPeter Dettman2023-01-091-19/+21
| |
* | Avoid intermediate allocationsPeter Dettman2023-01-057-15/+9
| |
* | Refactor SendSignatureInput and callersPeter Dettman2023-01-051-4/+8
| |
* | Fix commentPeter Dettman2023-01-051-5/+4
| |
* | Make field readonlyPeter Dettman2023-01-031-1/+1
| |
* | Pqc cleanupPeter Dettman2023-01-033-19/+29
|/
* JPAKE: Improved calculation of sPeter Dettman2022-12-232-8/+30
|
* Span-based alternatives to char[]Peter Dettman2022-12-2113-92/+673
|
* AesWrap: update from bc-javaPeter Dettman2022-12-052-80/+98
| | | | - fix wrap/unwrap of 64-bit keys
* Rfc3394WrapEngine: check input length in UnwrapPeter Dettman2022-12-051-0/+4
|
* Fix rounding issue with FF1Peter Dettman2022-12-051-13/+24
|
* Refactoring in SP80038GPeter Dettman2022-12-051-124/+100
|
* Binary curve perf. opts.Peter Dettman2022-12-0322-165/+2084
|
* Missing file from commitPeter Dettman2022-12-011-4/+18
|
* SecT233Field perf. opts.Peter Dettman2022-12-011-33/+219
|
* Binary curve perf. opts.Peter Dettman2022-12-0124-204/+454
|
* sect233k1 perf. opts.Peter Dettman2022-12-011-47/+62
|
* Tnaf perf. opts.Peter Dettman2022-12-013-49/+211
|
* sect233r1 perf. opts.Peter Dettman2022-11-292-37/+113
|
* Koblitz curve perf. opts.Peter Dettman2022-11-292-4/+16
|
* Tnaf perf. opts.Peter Dettman2022-11-283-146/+129
|
* EdDSA: match API to bc-javaPeter Dettman2022-11-276-148/+134
|
* Refactoring in Math.EC.Rfc8032Peter Dettman2022-11-277-123/+140
|
* Update commentsPeter Dettman2022-11-271-2/+2
|
* Refactoring in Math.EC.Rfc8032Peter Dettman2022-11-262-91/+124
|
* EdDSA: Hold decoded pubilc point in public keysPeter Dettman2022-11-268-147/+916
|
* Refactoring in Math.EC.Rfc8032Peter Dettman2022-11-2610-42/+883
|
* Code cleanupPeter Dettman2022-11-253-3/+0
|
* Ed448: cofactored verificationPeter Dettman2022-11-256-1143/+1387
| | | | | | - Perf. opts.: Pornin's basis reduction - factor out Scalar448 class - factor out ScalarUtilities class
* Ed25519: cofactored verificationPeter Dettman2022-11-245-505/+1009
| | | | | - Perf. opts.: Pornin's basis reduction - factor out Scalar25519 class
* Refactoring DesEdeWrapEnginePeter Dettman2022-11-231-23/+10
|
* Use FixedTimeEqualsPeter Dettman2022-11-2335-70/+87
|
* Round 4 modifications to HQC + removed some redundancyroyb2022-11-2211-258/+364
|
* Round 4 modifications to BIKEroyb2022-11-213-51/+33
|
* Output buffer guards in Blake digestsPeter Dettman2022-11-214-23/+17
|
* Ed448: Reject small order public keysPeter Dettman2022-11-201-17/+48
|
* Ed25519: Reject small order public keysPeter Dettman2022-11-201-13/+50
|
* Refactoring in Math.EC.Rfc8032Peter Dettman2022-11-202-15/+48
|
* Intrinsics for shufflesPeter Dettman2022-11-201-0/+44
|
* Factor Codec out of EdDSAPeter Dettman2022-11-203-403/+290
|
* Factor Wnaf out of EdDSAPeter Dettman2022-11-203-210/+118
|
* Use BitOperations for clz, ctzPeter Dettman2022-11-202-24/+16
|
* EdDsa: add basepoint multiples to support scalar splittingPeter Dettman2022-11-192-33/+101
|
* Add openpgg to PackageTagsPeter Dettman2022-11-191-1/+1
|
* Refactoring in Math.ECPeter Dettman2022-11-192-19/+11
|
* Refine exception typesPeter Dettman2022-11-194-6/+6
|
* Picnic: deferred static initializersroyb2022-11-1811-249/+362
|
* BigInteger implements IComparablePeter Dettman2022-11-171-1/+12
|
* EdDSA improvementsPeter Dettman2022-11-1713-109/+976
| | | | | | - better guards on context values - add Verify method to public keys - reduced allocation during verification
* PackageValidationBaselineVersion = 2.0.0Peter Dettman2022-11-161-3/+1
|
* Refactoring in Pqc.Crypto.CmcePeter Dettman2022-11-162-118/+171
|
* Adjust for ECDsa methodsPeter Dettman2022-11-151-3/+4
|
* Refactoring in Pqc.Crypto.CmcePeter Dettman2022-11-142-27/+17
|
* Cmce perf. opts.Peter Dettman2022-11-147-147/+332
|
* Remove unnecessary classesPeter Dettman2022-11-145-39/+7
|
* BigInteger changed to use uint[] internallyPeter Dettman2022-11-131-616/+420
|
* RunAnalyzersDuringBuild = falsePeter Dettman2022-11-131-0/+1
|
* BigInteger direct conversion to Span<uint>Peter Dettman2022-11-135-39/+217
|
* X448 perf. opts.Peter Dettman2022-11-131-0/+181
|
* X25519 perf. opts.Peter Dettman2022-11-131-8/+190
|
* Refactoring in Pqc.CryptoPeter Dettman2022-11-1338-135/+128
|
* Refactoring in Pqc.Crypto.CmcePeter Dettman2022-11-1312-134/+85
|
* Cmce perf. opts.Peter Dettman2022-11-121-0/+26
|
* Refactoring in Pqc.Crypto.BikePeter Dettman2022-11-122-13/+13
|
* Refactoring in Pqc.Crypto.CmcePeter Dettman2022-11-124-367/+269
|
* Picnic perf. opts.Peter Dettman2022-11-113-72/+86
|
* Improve Xor methodsPeter Dettman2022-11-111-12/+13
|
* Refactoring in Pqc.Crypto.CmcePeter Dettman2022-11-111-22/+57
| | | | - vectorize the hot loop
* Refctoring in Pqc.Crypto.SphincsPeter Dettman2022-11-111-86/+18
|
* Refactoring in Pqc.Crypto.BikePeter Dettman2022-11-112-83/+86
| | | | - especially reduced allocations
* Add Xor methodsPeter Dettman2022-11-111-0/+123
|
* SIKE: deferred static intializersPeter Dettman2022-11-119-159/+212
|
* BIKE perf. opts.Peter Dettman2022-11-111-59/+69
| | | | - compute permutations dynamically
* Round 4 modifications for CMCEroyb2022-11-101-36/+8
|
* BIKE perf. opts.Peter Dettman2022-11-113-21/+126
|
* BIKE perf. opts.Peter Dettman2022-11-101-73/+207
| | | | - CtrAll with vectorization when available
* BIKE perf. opts.Peter Dettman2022-11-101-7/+111
| | | | - Repeated squaring via cached permutations
* BIKE perf. opts.Peter Dettman2022-11-101-7/+35
|
* Mod minor perf. opts.Peter Dettman2022-11-101-46/+33
|
* Add GetMaxResultLength methodPeter Dettman2022-11-094-37/+32
|
* Add missing filePeter Dettman2022-11-091-0/+2
|
* Add GetMaxSignatureSize methodPeter Dettman2022-11-0915-85/+114
|
* Span API for IDsaEncodingPeter Dettman2022-11-093-0/+52
|
* Crc24 perf. opts.Peter Dettman2022-11-092-24/+19
|
* Simplify WithPrecision methodsPeter Dettman2022-11-091-10/+8
|
* Simplify digest calculationPeter Dettman2022-11-096-67/+10
|
* Remove NET7_0 directive for nowPeter Dettman2022-11-091-12/+0
|
* Asn1Generator implements IDisposablePeter Dettman2022-11-0911-211/+229
| | | | - now expects BerOctetStringGenerator to be disposed, not just its octets stream
* Remove unused classPeter Dettman2022-11-091-24/+0
|
* CmsContentInfoParser implements IDisposablePeter Dettman2022-11-093-13/+28
| | | | - Obsolete the Close method
* CleanupPeter Dettman2022-11-092-15/+10
|
* IStreamGenerator changesPeter Dettman2022-11-095-85/+52
| | | | | - go back to Close (but Obsolete it) - callers should just Dispose any opened Stream
* Refactoring in Pqc.Crypto.FalconPeter Dettman2022-11-096-90/+89
|
* Dispose cleanupPeter Dettman2022-11-0953-218/+273
| | | | - IDisposable for PemReader, PemWriter, IStreamGenerator
* Primes improvementsPeter Dettman2022-11-081-186/+101
|
* BigInteger improvementsPeter Dettman2022-11-081-92/+68
|
* Overhaul GeneralizedTime classesPeter Dettman2022-11-0810-375/+219
|
* removed unused SecureRandomDavid Hook2022-11-081-4/+1
|
* Pqc cleanupPeter Dettman2022-11-0826-482/+436
|
* Make factory classes staticPeter Dettman2022-11-084-21/+5
|
* Add Pqc prefix to Pqc factory classesPeter Dettman2022-11-084-6/+5
|
* added raw encoding for Dilithium keysDavid Hook2022-11-082-19/+40
|
* Merge remote-tracking branch 'refs/remotes/origin/master'David Hook2022-11-087-276/+291
|\
| * Overhaul UTCTime classesPeter Dettman2022-11-077-276/+291
| |
* | fixed falcon signature format, added raw encoding for Falcon public keyDavid Hook2022-11-083-22/+50
|/
* fixed use of propertyDavid Hook2022-11-074-7/+14
|
* fixed use of propertyDavid Hook2022-11-074-14/+20
|
* GOST 2012 private key readingPeter Dettman2022-11-061-13/+83
| | | | - see https://github.com/bcgit/bc-csharp/issues/365
* CryptoApiRandomGenerator implements IDisposablePeter Dettman2022-11-061-2/+12
|
* Add some dotnet ECDsa interop methodsPeter Dettman2022-11-061-32/+86
|
* CMS support for OtherRevocationInfoFormatPeter Dettman2022-11-067-41/+192
| | | | - see https://github.com/bcgit/bc-csharp/pull/328
* Asn1 GetInstance refactoringPeter Dettman2022-11-0624-248/+289
|
* Mark class staticPeter Dettman2022-11-061-1/+1
|
* Rename HKDF filesPeter Dettman2022-11-062-0/+0
| | | | - see https://github.com/bcgit/bc-csharp/pull/325
* Update KeyPurposeID from bc-javaPeter Dettman2022-11-062-17/+75
| | | | | - obsolete old-style names - add Kerberos entries (see https://github.com/bcgit/bc-csharp/pull/256)
* More GOST 2012 registry entriesPeter Dettman2022-11-063-4/+30
| | | | - see https://github.com/bcgit/bc-csharp/pull/233
* GOST registry entriesPeter Dettman2022-11-053-10/+17
| | | | - see https://github.com/bcgit/bc-csharp/pull/284
* Add Span-based variants in DTLSPeter Dettman2022-11-055-10/+276
|
* Add TlsPeer.IgnoreCorruptDtlsRecordsPeter Dettman2022-11-059-5/+41
| | | | | | - property controls behaviour when bad_record_mac thrown for DTLS record. - defaults to 'false' (don't ignore i.e. fail the connection) - see https://github.com/bcgit/bc-csharp/pull/279
* Preprocessor symbol cleanupPeter Dettman2022-11-054-15/+0
|
* Merge branch 'Optimize-structures' of github.com:harrison314/bc-csharpPeter Dettman2022-11-052-10/+6
|\
| * Optimize constructors for Org.BouncyCastle.Asn1.X509.Time and ↵Jozef Gajdos2022-08-022-10/+6
| | | | | | | | Org.BouncyCastle.Asn1.Cms.Time.
* | Cleanup RevokedStatusPeter Dettman2022-11-051-27/+18
| |
* | Merge branch 'master' of github.com:harrison314/bc-csharpPeter Dettman2022-11-051-0/+6
|\ \
| * | Make reason in RevokedStatus (in Org.BouncyCastle.Ocsp) optional.Jozef Gajdos2022-08-011-0/+6
| |/
* | Resolve some FIXMEsPeter Dettman2022-11-053-48/+29
| |
* | Port OpenPGP support for XDH, EdDSA from bc-javaPeter Dettman2022-11-0526-548/+1207
| | | | | | | | - see https://github.com/bcgit/bc-csharp/issues/345
* | Update package iconPeter Dettman2022-11-041-1/+1
| |
* | Make LongArray a struct, refactorPeter Dettman2022-11-042-104/+59
| |
* | Clenaup warningsPeter Dettman2022-11-0352-1013/+950
| |
* | EmbedAllSources, remove SourceLinkPeter Dettman2022-11-031-8/+8
| |
* | net462 => net461Peter Dettman2022-11-031-1/+1
| |
* | Authors/License cleanupPeter Dettman2022-11-031-1/+1
| |
* | Update tags and READMEPeter Dettman2022-11-031-1/+1
| |
* | Add authorPeter Dettman2022-11-021-1/+1
| |
* | Enable package validationPeter Dettman2022-11-021-0/+19
| | | | | | | | - limited by Span-based variant methods
* | A few package validation fixesPeter Dettman2022-11-025-41/+39
| |
* | AssemblyTitle and PackageIconPeter Dettman2022-11-022-13/+22
| |
* | A few span opts.Peter Dettman2022-11-022-1/+21
| |
* | Refactoring in Pqc.Crypto.LmsPeter Dettman2022-11-024-37/+28
| |
* | Include TargetFramework in TitlePeter Dettman2022-11-021-1/+1
| |
* | More release prep.Peter Dettman2022-11-021-2/+7
| |
* | SCrypt perf. opts.Peter Dettman2022-11-012-40/+168
| |
* | Span-based TlsStream methodsPeter Dettman2022-11-0110-0/+419
| |
* | More Span-based Stream methodsPeter Dettman2022-11-0127-57/+462
| |
* | Package with LICENSE.md filePeter Dettman2022-10-301-2/+2
| |
* | Mark SIKE implementation ObsoletePeter Dettman2022-10-3011-4/+24
| |
* | Release preparationsPeter Dettman2022-10-291-4/+34
| |
* | Use correct OIDPeter Dettman2022-10-293-3/+3
| |
* | Remove obsolete codePeter Dettman2022-10-281-26/+0
| |
* | Cleanup CMS compressed dataPeter Dettman2022-10-284-31/+32
| |
* | DateTimeUtilities improvements:Peter Dettman2022-10-273-33/+41
| | | | | | | | | | - DateTimeToUnixMs converts to UTC - UnixMsToDateTime checks input range
* | Refactoring in Bcpg.SigPeter Dettman2022-10-2711-157/+32
| |
* | Pqc.Crypto.Bike cleanupPeter Dettman2022-10-263-29/+20
| |
* | Add Asn1UtcTime and usePeter Dettman2022-10-2512-328/+338
| |
* | FIne-grained SupportedOSPlatform attributesPeter Dettman2022-10-251-3/+24
| |
* | Refactoring in Keccak codePeter Dettman2022-10-253-115/+90
| |
* | Remove unnecessary intrinsic usagePeter Dettman2022-10-251-28/+0
| |
* | Xor methods in Nat classesPeter Dettman2022-10-254-30/+361
| |
* | Fixed pqc/utilsroyb2022-10-245-291/+353
| |
* | namespace errorroyb2022-10-241-66/+69
| |
* | Merge remote-tracking branch 'origin/master'royb2022-10-2433-494/+611
|\ \
| * | Add Asn1GeneralizedTime and usePeter Dettman2022-10-2533-494/+611
| | |
* | | Added Aes and Uniform variant to Saberroyb2022-10-248-102/+299
|/ /
* | fixed refactored class names in pqc/utilsroyb2022-10-243-266/+191
| |
* | fixed refactored class names in SubjectPublicKeyInfoFactoryroyb2022-10-241-69/+82
| |
* | Use MemoryMarshal.AsBytesPeter Dettman2022-10-246-17/+17
| |
* | Use platform compression where availablePeter Dettman2022-10-2414-81/+203
| | | | | | | | - Move Bzip2 code into Utilities
* | Refactor intrinsics codePeter Dettman2022-10-248-136/+136
| |
* | Add Gost2012 algorithms to registriesPeter Dettman2022-10-233-6/+45
| | | | | | | | - see https://github.com/bcgit/bc-csharp/pull/217
* | Refactoring in SP80038GPeter Dettman2022-10-231-72/+27
| |
* | Xor methodsPeter Dettman2022-10-232-10/+98
| |
* | Various cleanupPeter Dettman2022-10-2316-26/+6
| |
* | Complete SecureRandom refactoringPeter Dettman2022-10-2312-65/+57
| |
* | Change BigInteger arbitrary random sourcePeter Dettman2022-10-232-14/+26
| |
* | VMPC refactoringPeter Dettman2022-10-232-80/+70
| |
* | SecureRandom refactoring in CryptoPeter Dettman2022-10-2326-123/+83
| |
* | SecureRandom refactoring in CmsPeter Dettman2022-10-239-86/+66
| |
* | Refactoring in Pqc.Crypto.SikePeter Dettman2022-10-2224-869/+846
| |
* | Refactoring in Pqc.Crypto.SaberPeter Dettman2022-10-2213-210/+164
| |
* | Refactoring in Pqc.Crypto.LmsPeter Dettman2022-10-2229-403/+429
| | | | | | | | - add missing factory entries
* | Remove extraneous classPeter Dettman2022-10-221-74/+0
| |
* | Salsa20 perf. opts.Peter Dettman2022-10-221-36/+117
| |
* | Add Xor methods to Nat classesPeter Dettman2022-10-214-16/+182
| |
* | Unroll ShiftUp methodsPeter Dettman2022-10-211-29/+346
| |
* | Make FalconFPR a structPeter Dettman2022-10-211-2/+3
| |
* | Refactoring in Pqc.Crypto.Cmce (performance)Peter Dettman2022-10-211-6/+44
| |
* | Remove unnecessary special casesPeter Dettman2022-10-201-62/+15
| |
* | Refactoring in Pqc.Crypto.Hqc (performance)Peter Dettman2022-10-2014-307/+152
| |
* | Initial import of HQCPeter Dettman2022-10-2022-16/+2425
| |
* | Fix BinaryReader usage in Pqc.Crypto.LmsPeter Dettman2022-10-209-162/+90
| |
* | Add Inverse64 methodPeter Dettman2022-10-201-1/+16
| |
* | JksStore endianness safetyPeter Dettman2022-10-201-55/+44
| |
* | Add BinaryReaders, BinaryWritersPeter Dettman2022-10-202-0/+180
| |
* | Refactoring in UtilitiesPeter Dettman2022-10-207-11/+29
| |
* | Add Shorts utility classPeter Dettman2022-10-201-0/+54
| |
* | Refactoring in Cmce (performance)Peter Dettman2022-10-201-11/+12
| |