summary refs log tree commit diff
path: root/crypto/src/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor DateTimeUtilitiesPeter Dettman2024-05-241-24/+9
|
* Refactor to use Enum.TryParsePeter Dettman2024-05-131-19/+16
|
* FIx method Write(ReadOnlySpan<byte>) in LimitedBufferharrison3142024-03-041-0/+1
|
* Add Prehash digest for safer raw signersPeter Dettman2024-01-291-0/+58
|
* Use System.HashCode in a few placesPeter Dettman2024-01-201-4/+74
|
* Add TODOPeter Dettman2023-12-141-0/+3
|
* LMS updatesPeter Dettman2023-12-131-0/+67
|
* Update safegcd implementationPeter Dettman2023-12-101-4/+6
|
* Add fast coprime testPeter Dettman2023-12-061-0/+64
|
* Refactoring around Math.Raw.ModPeter Dettman2023-12-061-2/+2
|
* Refactor LMS parsingPeter Dettman2023-11-171-0/+9
|
* Refactoring in Stream classesPeter Dettman2023-05-185-11/+50
|
* Refactoring: reduced allocationsPeter Dettman2023-04-201-0/+9
|
* Support BitString construction from ReadOnlySpanPeter Dettman2023-04-111-0/+7
|
* Reduce allocations in hex encodingPeter Dettman2023-04-112-8/+91
|
* Platform guards for ReadOnlySet<T>Peter Dettman2023-04-112-0/+9
|
* Platform guards for Stream codePeter Dettman2023-04-116-1/+33
|
* Refactor IDisposable implementationsPeter Dettman2023-03-102-2/+2
|
* Remove unnecessary methodsPeter Dettman2023-03-091-28/+6
|
* Refactoring around Stream usagePeter Dettman2023-03-097-14/+302
|
* FormattingPeter Dettman2023-03-071-2/+2
|
* Support leaveOpen in decompressorsPeter Dettman2023-03-067-63/+141
|
* Refactor singleton initializationPeter Dettman2023-03-061-1/+17
|
* BIKE refactoringPeter Dettman2023-03-021-0/+18
|
* Add Integers.PopCountPeter Dettman2023-03-011-0/+21
|
* Use string.Create when availablePeter Dettman2023-02-271-0/+10
|
* Bcpg: update signature subpacketsPeter Dettman2023-02-241-0/+5
|
* Refactoring in CmsPeter Dettman2023-02-141-0/+5
|
* Update commentsPeter Dettman2023-02-061-1/+1
|
* Update IPAddress from bc-javaPeter Dettman2023-02-031-144/+171
|
* Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-02-021-1/+0
|
* Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-301-6/+2
|
* MIsc. cleanupPeter Dettman2023-01-272-3/+7
|
* Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-271-0/+13
|
* Cleanup Platform.EqualsPeter Dettman2023-01-251-2/+2
|
* Refactoring in PEM classesPeter Dettman2023-01-163-189/+124
|
* Add FromUnsignedByteArray methodsPeter Dettman2023-01-091-19/+21
|
* Span-based alternatives to char[]Peter Dettman2022-12-211-0/+22
|
* Tnaf perf. opts.Peter Dettman2022-12-011-0/+16
|
* Use FixedTimeEqualsPeter Dettman2022-11-231-27/+44
|
* Use BitOperations for clz, ctzPeter Dettman2022-11-202-24/+16
|
* Remove unnecessary classesPeter Dettman2022-11-142-33/+0
|
* Improve Xor methodsPeter Dettman2022-11-111-12/+13
|
* Add Xor methodsPeter Dettman2022-11-111-0/+123
|
* Simplify WithPrecision methodsPeter Dettman2022-11-091-10/+8
|
* Dispose cleanupPeter Dettman2022-11-099-29/+53
| | | | - IDisposable for PemReader, PemWriter, IStreamGenerator
* Overhaul GeneralizedTime classesPeter Dettman2022-11-082-1/+42
|
* Mark class staticPeter Dettman2022-11-061-1/+1
|
* Port OpenPGP support for XDH, EdDSA from bc-javaPeter Dettman2022-11-051-0/+11
| | | | - see https://github.com/bcgit/bc-csharp/issues/345
* More Span-based Stream methodsPeter Dettman2022-11-013-4/+26
|
* DateTimeUtilities improvements:Peter Dettman2022-10-271-24/+34
| | | | | - DateTimeToUnixMs converts to UTC - UnixMsToDateTime checks input range
* Use platform compression where availablePeter Dettman2022-10-248-0/+2767
| | | | - Move Bzip2 code into Utilities
* Various cleanupPeter Dettman2022-10-231-4/+1
|
* Fix BinaryReader usage in Pqc.Crypto.LmsPeter Dettman2022-10-201-1/+6
|
* 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
|
* New Spans methodsPeter Dettman2022-10-081-0/+24
|
* Span usage in encodersPeter Dettman2022-10-073-20/+309
|
* Span usage in Math.RawPeter Dettman2022-10-071-14/+50
|
* Remove Times classPeter Dettman2022-10-051-14/+0
|
* Use generics in EnumsPeter Dettman2022-10-051-14/+19
|
* Various span usagesPeter Dettman2022-10-051-0/+18
|
* BigInteger in-place conversionsPeter Dettman2022-10-051-36/+34
|
* Generic ReverseInPlace methodPeter Dettman2022-10-021-27/+4
|
* Missing filePeter Dettman2022-10-021-0/+27
|
* Span-based variant of IRawAgreement.CalculateAgreementPeter Dettman2022-10-011-0/+12
|
* DateTimeObject => nullable DateTimePeter Dettman2022-09-141-25/+0
|
* Stream modernizationPeter Dettman2022-09-039-122/+217
|
* NullOutputStream => Stream.NullPeter Dettman2022-09-021-17/+0
|
* Span-based variants for IAeadCipher.ProcessByte(s)Peter Dettman2022-08-311-0/+18
|
* Span-based variant for IAeadCipher.DoFinalPeter Dettman2022-08-301-1/+17
|
* Add span concatenation methodsPeter Dettman2022-08-301-0/+32
|
* Handle zero-distance rotates correctlyPeter Dettman2022-08-262-8/+8
|
* Use BitOperations when availablePeter Dettman2022-08-242-0/+34
|
* Remove unnecessary constraintPeter Dettman2022-08-091-1/+0
|
* More precise preprocessor directivesPeter Dettman2022-07-192-6/+6
|
* Use intrinsics in several placesPeter Dettman2022-07-192-0/+34
|
* Fix warningsPeter Dettman2022-07-171-2/+6
|
* Make explicitly UTCPeter Dettman2022-07-121-2/+2
|
* Fix a few warningsPeter Dettman2022-07-061-12/+4
|
* SIKE implementation with compression addedRoy Basmacier2022-07-011-0/+11
| | | | Implemented SecretWIhEcapsulationImpl.cs
* Refactoring around MemoryStreamPeter Dettman2022-06-301-19/+2
|
* Some PORTABLE cleanupPeter Dettman2022-06-302-20/+19
|
* Add Objects classPeter Dettman2022-06-292-5/+10
|
* Cleanup NewLine handlingPeter Dettman2022-06-292-3/+1
|
* Generics migration completePeter Dettman2022-06-2919-716/+208
|
* Generics migration in Crmf, Crypto, MathPeter Dettman2022-06-281-58/+9
|
* Generics migration in Asn1Peter Dettman2022-06-273-5/+4
|
* Generics migration in PkixPeter Dettman2022-06-272-0/+62
|
* Generics migration in PkcsPeter Dettman2022-06-271-0/+9
|
* Generics migration workPeter Dettman2022-06-272-180/+3
|
* Add store/selector APIPeter Dettman2022-06-264-4/+90
|
* Update EC curve registry classesPeter Dettman2022-06-242-0/+36
|
* Cleanup Exception classesPeter Dettman2022-06-243-28/+41
|
* Use generics instead of dynamic checksPeter Dettman2022-06-241-10/+0
|
* Cleanup PlatformPeter Dettman2022-06-241-35/+1
|
* NEW_REFLECTION cleanupPeter Dettman2022-06-242-38/+7
|
* Simplify attributesPeter Dettman2022-06-243-24/+24
|
* Initial merge of PQC portroyb2022-06-232-0/+39
|
* Code cleanupPeter Dettman2022-06-2210-17/+18
|
* ObsoleteAttribute cleanupPeter Dettman2022-06-221-6/+1
|
* Cleanup old build systemsPeter Dettman2022-06-215-59/+9
|
* ObsoleteAttribute cleanupPeter Dettman2022-06-213-319/+0
|
* Update definesPeter Dettman2022-06-211-3/+3
|
* Updates towards netstandardPeter Dettman2022-06-151-3/+3
|
* Add Highest/LowestOneBit methodsPeter Dettman2022-06-072-0/+55
|
* Work on Stream classesPeter Dettman2022-05-238-360/+297
| | | | | | | - consistent naming, ordering - CanRead/Seek/Write fixes - argument validation - some cases of blocking zero-byte Read calls
* Add ValidateBufferArgumentsPeter Dettman2022-05-191-34/+46
|
* Use Seek when availablePeter Dettman2021-11-211-14/+13
|
* Add null-safe GetHashCodePeter Dettman2021-11-061-0/+5
|
* RefactoringPeter Dettman2021-11-061-5/+6
|
* format changes only - relates to github #68David Hook2021-10-041-1/+1
|
* Updated PemReader to support differing whitespace assumptions.mw2021-09-032-38/+324
| | | | | Added tests. Issue #2
* Add missing GetHashCode variantPeter Dettman2021-08-081-0/+18
|
* Cleanup after bc-fips-csharp updatesPeter Dettman2021-08-072-13/+19
|
* Fix Encode return valuesPeter Dettman2021-08-072-70/+46
|
* New PipeAll with explicit buffer sizePeter Dettman2021-06-091-4/+18
| | | | - increase default buffer size
* Update from bc-javaPeter Dettman2021-06-081-1/+1
|
* Update from bc-javaPeter Dettman2021-06-071-32/+23
|
* 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
* Fix project files plus portability fixesPeter Dettman2021-05-245-13/+8
|
* first cut FPE, TupleHash, ParallelHash, and GCM-SIVDavid Hook2021-03-194-0/+40
|
* Add ReverseInPlace methodsPeter Dettman2021-02-101-0/+32
|
* GCM updates from bc-javaPeter Dettman2020-10-181-0/+51
|
* Add Bits and Longs classes from bc-javaPeter Dettman2020-10-182-0/+81
|
* 'safegcd' modular inversionPeter Dettman2020-09-042-10/+56
|
* Misc. updates from bc-javaPeter Dettman2020-07-301-0/+10
|
* Encoder performancePeter Dettman2020-07-302-82/+155
|
* Misc. updates from bc-javaPeter Dettman2020-07-302-6/+53
|
* Remove unused codePeter Dettman2020-07-181-1/+0
|
* Stricter header validation for PEM filesPeter Dettman2020-02-201-4/+7
|
* Improve ChaCha20Poly1305 testsPeter Dettman2019-10-231-3/+18
| | | | - focused on processing array sub-ranges
* Updates from bc-javaPeter Dettman2019-09-091-10/+51
|
* Port of strict hex decoding from bc-javaPeter Dettman2019-09-092-1/+49
|
* Add Clone for bool[]Peter Dettman2019-08-091-30/+21
|
* Refactor ToString()Peter Dettman2019-08-011-11/+6
|
* EC updates from bc-javaPeter Dettman2019-08-011-0/+15
| | | | | | | - use half-trace when possible (odd m) for decompression/validation - provide field-specific half-trace methods for custom curves - clarify the logic of point-order testing for binary curves - expand test cases for invalid points
* Misc. ASN.1 updates from bc-javaPeter Dettman2019-08-011-0/+14
|
* Merge branch 'patch-4' of https://github.com/rastrup/bc-csharp into ↵Peter Dettman2019-06-011-1/+1
|\ | | | | | | rastrup-patch-4
| * Update Arrays.csKristian Rastrup2019-05-231-1/+1
| | | | | | Changed to string since char in StringBuilder constructor gets converted into int for capacity
* | Increase zlib default buffer sizePeter Dettman2019-05-142-2/+2
| |
* | Refactor to not need pending_buf_sizePeter Dettman2019-05-141-7/+1
|/
* Fix setting of buffer positionPeter Dettman2019-02-071-1/+1
|
* Fixes and tidying up for releasePeter Dettman2019-01-312-7/+17
|
* first cut on Pkcs8David Hook2019-01-152-0/+23
|
* Initial CMPMegan Woods2019-01-141-0/+25
|
* Added ECGOST3410_2012SignerMegan Woods2019-01-141-0/+11
| | | | Updated encoding of SubjectPublicKeyInfo and PrivateKeyInfo
* Env. prop.: Org.BouncyCastle.Asn1.AllowUnsafeIntegerPeter Dettman2018-10-181-1/+1
| | | | | - set to "true" to weaken ASN.1 INTEGER checks - see https://github.com/bcgit/bc-csharp/issues/156
* Port of CVC-ECDSA and PLAIN-ECDSA from JavaPeter Dettman2018-10-142-0/+13
|
* RFC 7748: Exclude all-zeroes agreement valuePeter Dettman2018-10-061-0/+10
|
* Fix some TODOs for PORTABLE and StreamsPeter Dettman2018-10-051-0/+25
|
* Port of SM4 from Java APIPeter Dettman2018-09-251-0/+12
|
* RefactoringPeter Dettman2018-09-201-0/+3
|
* RFC 5958: Update PrivateKeyInfoPeter Dettman2018-09-141-0/+8
| | | | - now supports optional 'publicKey' field
* Check final padding character in Base64 data.Peter Dettman2017-09-171-0/+3
|
* Avoid extra copy when processing TLS handshake messagesPeter Dettman2017-03-231-1/+6
| | | | - move handshake hash updates (outbound) to a more sensible place
* Simple refactoring to follow bc-java codePeter Dettman2017-03-221-1/+7
|
* Improve ZInputStream/ZOutputStream constructorsPeter Dettman2016-05-262-15/+60
|
* Add Platform method for getting the type name of an objectPeter Dettman2015-11-211-0/+5
|
* Factor out IsEnumType methodPeter Dettman2015-11-211-10/+11
|
* Finish port of latest PRNG/DRBG stuff from JavaPeter Dettman2015-11-161-44/+20
|
* added 4[] ConcatenateDavid Hook2015-11-161-0/+31
|
* added 3[] ConcatenateDavid Hook2015-11-161-0/+22
|
* Review of culture-independent String comparison methodsPeter Dettman2015-11-123-14/+34
|
* Fix weird characterPeter Dettman2015-11-081-1/+1
|
* Needs to be in Org.BouncyCastle namespace for nowPeter Dettman2015-11-081-1/+1
|
* A few more changes to sync up with BouncyCastle-PCLPeter Dettman2015-11-083-1/+28
|
* Tighten up the correspondence b/w Close/DisposePeter Dettman2015-11-089-12/+21
|
* Oops, fix method namesPeter Dettman2015-11-049-9/+9
|
* Replace Close with Dispose for PORTABLEPeter Dettman2015-11-049-28/+160
|
* Change Close calls to Dispose calls for PORTABLEPeter Dettman2015-11-048-12/+28
|
* PCL: Various non-IO changesPeter Dettman2015-10-183-8/+18
|
* No SerializableAttribute in PCLPeter Dettman2015-10-182-2/+2
|
* Introduced Utilities.IO.FilterStreamDavid Hook2015-10-121-0/+66
|
* Improve limit-testing to avoid overflow problemsPeter Dettman2015-06-111-3/+3
|
* F2mCurve cleanupPeter Dettman2015-03-261-0/+16
|
* Add GetHashCode methods for ulong[]Peter Dettman2015-03-241-0/+42
|
* Various updates to GCM from Java buildPeter Dettman2014-12-161-0/+5
|
* Finish initial porting of TLS 1.2 client from Java APIPeter Dettman2014-08-241-0/+13
|
* More TLS ported from Java APIPeter Dettman2014-08-211-4/+85
|
* Add Times utility classPeter Dettman2014-08-201-0/+14
|
* Port of new TlsEccUtilities class from JavaPeter Dettman2014-07-231-0/+102
| | | | | Various support methods in TlsUtilities and Arrays Fix short->byte for several enumeration types
* BMA-105Peter Dettman2014-07-211-0/+16
| | | | | Support for parsing Gost3410x2001 private keys encoded as DER Integer Miscellaneous support methods ported from Java
* Move NullOutputStream to util/ioPeter Dettman2014-04-061-0/+18
|
* Equality/hashcode should ignore "excess" wordsPeter Dettman2014-02-271-0/+54
|
* Port some openpgp updates from Java build for secret keysPeter Dettman2014-02-251-0/+13
|
* Update encoders from Java version, including catching invalid data instead ↵Peter Dettman2014-02-072-418/+448
| | | | of ignoring it
* Cleanup various warnings, and reformattingPeter Dettman2014-01-292-21/+21
|
* Add methods working with uint[]Peter Dettman2014-01-261-2/+44
|
* Port LongArray from Java and use in F2mFieldElementPeter Dettman2014-01-221-2/+7
|
* Fix up mergePeter Dettman2014-01-211-11/+27
|
* Merge branch 'feature/threefish-skein-memoable-sm3' of ↵Peter Dettman2014-01-213-0/+80
|\ | | | | | | | | | | | | | | git://github.com/timw/bc-csharp into timw-feature/threefish-skein-memoable-sm3 Conflicts: crypto/crypto.mdp crypto/src/util/Arrays.cs
| * Port Memoable digest support from bc-java.Tim Whittington2013-10-202-0/+56
| |
| * Port SkeinDigest and SkeinMac from bc-java.Tim Whittington2013-10-201-0/+40
| | | | | | | | Skein digest and Mac in 256/512/1024 bit state sizes (and arbitrary byte level output size), with unit tests.
* | Add new classes in Math.Field and some other EC-related stuff from JavaPeter Dettman2014-01-211-0/+17
| |
* | Make static utility classes abstract instead of sealedPeter Dettman2014-01-216-298/+288
|/ | | | | Add Arrays.GetHashCode for int[] Formatting
* Initial import of old CVS repositoryPeter Dettman2013-06-2859-0/+9132