Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/bcgit/bc-csharp

BouncyCastle.NET Cryptography Library (Mirror)
https://github.com/bcgit/bc-csharp

Fix casts to satisfy .NET 1.1

5f624c423de8d76ad7ac240f28476a21a41d5261 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix dodgy character in curve seed

f485ada5dc3b1ad6c6c249abeb88618485a7777e authored almost 11 years ago by Peter Dettman <[email protected]>
Use parallel wNAF for sumOfTwoMultiplies

8d36850e595356203caed72fff0ea1bdafe3dd26 authored almost 11 years ago by Peter Dettman <[email protected]>
Small optimization for width 4

8e39d26c70331a06dd720df7fd123df469c4941e authored almost 11 years ago by Peter Dettman <[email protected]>
Index precomputation info by name

c89dd16807951633fce1e2e7d34858868a4ca076 authored almost 11 years ago by Peter Dettman <[email protected]>
Update OCB draft references

dde70c55cb12eabe36cc7b8763ae9ec820744270 authored almost 11 years ago by Peter Dettman <[email protected]>
Use FixedPointCombMultiplier for most base-point multiplications

f7c5174803bfb4de7fb12e795ede8ef07f563461 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix incomplete port

0c48123ac112ee25719bdb620501c6172c17bc55 authored almost 11 years ago by Peter Dettman <[email protected]>
Use fixed-point comb for multiplying by the base-point

ecb284b4b7decbc0313f1e9053360aa36cf2efc7 authored almost 11 years ago by Peter Dettman <[email protected]>
A few improvements to the fixed-point comb

b20b587c973e7e57384e5a11f2444a97fa26727a authored almost 11 years ago by Peter Dettman <[email protected]>
Initial work on the Curve25519 field implementation

9c89cec327d429564bd1e7b5cb92bdaae0acd8f9 authored almost 11 years ago by Peter Dettman <[email protected]>
Add order/cofactor to the small test curves

9da7a2bbe0e93961e56cbc64be8abea00dfc787f authored almost 11 years ago by Peter Dettman <[email protected]>
Add order/cofactor to Fp curves

1ca56848fe87a98eeff9db2c93186ac1d06051f1 authored almost 11 years ago by Peter Dettman <[email protected]>
Initial work on a fixed-point comb multiplier

26f31767019ceb2f113a280aa7ad64cbbfa3b55f authored almost 11 years ago by Peter Dettman <[email protected]>
For repeated doublings, use jacobian-modified coordinates internally irrespective of curve coordinates

073e44c30c1ff09e0f074ba44d87f53b430cd265 authored almost 11 years ago by Peter Dettman <[email protected]>
Implement Karatsuba multiply/square on 512-bit numbers and use as basis for P-521 multiply/square

75b6bf6278de7460c61cecaaa773542d92b3249e authored almost 11 years ago by Peter Dettman <[email protected]>
Minor optimization for secp521r1 point doubling

17397bac85c830365ee6968fb09373165c6f1dc1 authored almost 11 years ago by Peter Dettman <[email protected]>
Bring OCB test vectors up-to-date with draft v06

362bdfcfe97b7fb2fa78990a8f937de1661e9c89 authored almost 11 years ago by Peter Dettman <[email protected]>
Add custom curve for secp521r1 (P-521)

8405b5610adc2405c7cb1d2b25150388728adba6 authored almost 11 years ago by Peter Dettman <[email protected]>
Add support for delayed modular reduction

305e69dfe902d7e808a5f62aaf97b4d2d59db308 authored almost 11 years ago by Peter Dettman <[email protected]>
Reformatting

a793e849db8b747e72a98b6f1a2efef1e5021910 authored almost 11 years ago by Peter Dettman <[email protected]>
Reformat

ce11274203b01f26da14ec72f6b9962af002b779 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix IncExt

a14d64a6bdc72a679af82ba70bad4123b1756e2d authored almost 11 years ago by Peter Dettman <[email protected]>
Rename locals in Reduce() methods

e9cee299a0a66a01701b95bdfbfc32611ea97e49 authored almost 11 years ago by Peter Dettman <[email protected]>
Optimize Reduce() method

b18b08c20625ae2d35d85a596721d6445506f9a1 authored almost 11 years ago by Peter Dettman <[email protected]>
Optimize Reduce() method

b259df59609e627cfb2fcc818fb01655e400e396 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix Nat*.Gte methods

30be9a8adbb937be7bd7d416d631f99086ecab03 authored almost 11 years ago by Peter Dettman <[email protected]>
Make Dec/Inc/IncExt methods work at the full length and change assertions accordingly

cce9d8ee72cbfbfb8097284cad4f1af58093c490 authored almost 11 years ago by Peter Dettman <[email protected]>
Avoid modifying the input to the Reduce() methods

e7c2c2029676b6dd0f13560b56aa9611c51c99f7 authored almost 11 years ago by Peter Dettman <[email protected]>
Improve reduction speed for secp192k1 and secp256k1 custom fields

7118a1a3f987cd82db0243ebcd03e844e73b7ffa authored almost 11 years ago by Peter Dettman <[email protected]>
Add custom curves for secp192k1 and secp192r1 (P-192)

32227c12d110f33e5dd52544868d7092735fd029 authored almost 11 years ago by Peter Dettman <[email protected]>
Refactoring

4609a835b2c5029885c51ba071c37ad54476b21e authored almost 11 years ago by Peter Dettman <[email protected]>
Unroll MulWordAddExt

6ef613d8f18384fb434cb4b99db979d30a5418f5 authored almost 11 years ago by Peter Dettman <[email protected]>
Use BigInteger.One instead of BigInteger.ValueOf(1)

8a578de1f6b8fb50ca83d3ae0e8ff0e9986a3e22 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix final step of Reduce()

410a99b2871b3ec203affe141bd17dbc1312ed07 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix GetBit range-check

58731f422dcec68b2a7e0caab799c0a1371daee1 authored almost 11 years ago by Peter Dettman <[email protected]>
Formatting

085f2a1a0171e406fa81b8aa9de2ede773a79eed authored almost 11 years ago by Peter Dettman <[email protected]>
Take advantage of special prime modulus to optimize sqrt

d9501d9ea10c353e267142b94507e7a065ca75f7 authored almost 11 years ago by Peter Dettman <[email protected]>
Add SquareN to perform repeated modular squaring

d4a07a9a76b92e32e32463fbb908a2c531360163 authored almost 11 years ago by Peter Dettman <[email protected]>
Cleanup various warnings, and reformatting

2c8b3d65f2020cfcb3b3745d962cc00f8457ee12 authored almost 11 years ago by Peter Dettman <[email protected]>
Update copyrights and add missing Inc.

fb1ad202e3606a33e4d5cd07eb227190f3f92a88 authored almost 11 years ago by Peter Dettman <[email protected]>
Remove unnecessary using statement

6b97b9423f595b009b22d72ca12d1acbcd403c55 authored almost 11 years ago by Peter Dettman <[email protected]>
Several optimizations and make notes of possible delayed reductions

4956092600b43ee31e038787bc28df0aeea1ef76 authored almost 11 years ago by Peter Dettman <[email protected]>
Refactoring

72b1c6689870a7e0e1a0946e5862e54a2a5bdd4f authored almost 11 years ago by Peter Dettman <[email protected]>
Avoid division when decompressing a lambda-projective point

09e818fcc7677148e507409559bcae743d170d57 authored almost 11 years ago by Peter Dettman <[email protected]>
Implement multi-squaring in-place and use for F2m sqrt()

a959f6a9c1ebb46d9cd044008d92532d1b5fd364 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix and re-enable twicePlus for lambda-projective coordinates

610afb3fd36ef9033bb95e83e52a1319571960a3 authored almost 11 years ago by Peter Dettman <[email protected]>
Port point-detaching stuff from Java

58f42b0ee783704cb8d2ce3b22a053f8c4f0daa8 authored almost 11 years ago by Peter Dettman <[email protected]>
Port from Java order/cofactor for all curves

d209b6b28b2b0e396e8813c6bb80ef98e1e2ba30 authored almost 11 years ago by Peter Dettman <[email protected]>
Port of latest EC multipliers from Java

b27039585917e3c0651de353faef68fe6bbc68d9 authored almost 11 years ago by Peter Dettman <[email protected]>
Use custom curve if available

2aff60a7982e1a5616172a84b8eb05c219052aef authored almost 11 years ago by Peter Dettman <[email protected]>
Formatting

21d5cec45aae61a3de549f69e2ada2b52c1f690b authored almost 11 years ago by Peter Dettman <[email protected]>
Add new test case for 96 bit tag from CFRG

649d131ada52a4921ee820503f91405afd17b6ac authored almost 11 years ago by Peter Dettman <[email protected]>
When OCB is used with incrementing nonces, the cipher processing during initialization is only needed once every 64 inits.

6f3de272501bd9153fdbc7b6c28a6de7c7dfbfae authored almost 11 years ago by Peter Dettman <[email protected]>
Make class internal

02935ef3e831465660bec2571094b5a6aea54bda authored almost 11 years ago by Peter Dettman <[email protected]>
Port custom curve for secp256r1 from Java

2cf78b09633f6f993b03a544abf2ee28fb592ce4 authored almost 11 years ago by Peter Dettman <[email protected]>
Tidy up comments

6291f2a807dd1c371969dacddfa773cf674ff042 authored almost 11 years ago by Peter Dettman <[email protected]>
Port custom curve for secp256k1 from Java

006b4267a15735b129b5b9d09b756344ca9f51bd authored almost 11 years ago by Peter Dettman <[email protected]>
Add methods working with uint[]

e88ccf8b5f72b744fa91e7f50aa120a17b341df3 authored almost 11 years ago by Peter Dettman <[email protected]>
Add diagnostics

90c5a5af5279385722bc6a22484f56ab387f182d authored almost 11 years ago by Peter Dettman <[email protected]>
Fix coord access in Negate()

Reformatting

08223b1c37e1e00a5abd0411c9ee3f04f2edbb60 authored almost 11 years ago by Peter Dettman <[email protected]>
Refactor DecompressPoint

a16317d05fdd83e875e5fd744e1efd32c04bdf3f authored almost 11 years ago by Peter Dettman <[email protected]>
Port of jacobian/-modified coordinates from Java

Make jacobian-modified the default coordinates for Fp

2943ddadcaeb987181708bfada6006b3feabe14b authored almost 11 years ago by Peter Dettman <[email protected]>
Make Barrett reduction available for more prime moduli

0ad06688318b3220928f84d48c2c1572215c2f6f authored almost 11 years ago by Peter Dettman <[email protected]>
Increase number of rounds

d0e078badfa162038a962e5af02e2cd5a71d4b0c authored almost 11 years ago by Peter Dettman <[email protected]>
Adjust first-digit optimization to not be so conservative

b9f0dceb0ccf79356ec33dec264a1687a3edc622 authored almost 11 years ago by Peter Dettman <[email protected]>
Port latest Java fixes for lambda-projective and make it the default for F2m

0d360477865400dfe98e1aeade606d57e11def80 authored almost 11 years ago by Peter Dettman <[email protected]>
Change F2m test curve to match Java version more clearly

95b973942745d7f129c5715ab99dec8c445c804f authored almost 11 years ago by Peter Dettman <[email protected]>
Implement Sqrt in F2m

f65d8b967df6eb86ec5f67e9bd94f6993c9e07bb authored almost 11 years ago by Peter Dettman <[email protected]>
Add 0 guard in ModInverse

fcbb6956ca47b38549143f289d017485217c7a36 authored almost 11 years ago by Peter Dettman <[email protected]>
Implement homogeneous and lambda-projective coordinate systems in F2m curves

a52cfc68fa5c443ca5e2602049e2a1ec31e6db19 authored almost 11 years ago by Peter Dettman <[email protected]>
Port of AddOne method(s) from Java

91e9cac367d2f5bbcbd6023e971ca9e06629845c authored almost 11 years ago by Peter Dettman <[email protected]>
Use AesEngine by default

c72c3bc4be65099c30fc813693216d124a30308b authored almost 11 years ago by Peter Dettman <[email protected]>
Formatting

6b5b1051ee235bd75b34e81ebb9e08a88fe5cede authored almost 11 years ago by Peter Dettman <[email protected]>
Some more EC point normalization

c1d609b35a28a5d517ac47ead9b50876a378d94a authored almost 11 years ago by Peter Dettman <[email protected]>
Default to COORD_HOMOGENEOUS for Fp

c4bf2ce8fb149f77e2410ae09c750ed44bf20ce6 authored almost 11 years ago by Peter Dettman <[email protected]>
Implement very basic Barrett reduction as alternative to very slow BigInteger.Mod

fc99ec8763011525d7c2d38f7901c8802a17c9b0 authored almost 11 years ago by Peter Dettman <[email protected]>
Run point test on all supported coordinate systems

4fd68a3d37b113ef9809228e80f5aeb45208813f authored almost 11 years ago by Peter Dettman <[email protected]>
Implementation of homogeneous coordinates for Fp

Various changes to point methods to deal with non-affine points
Changes in client code and tests ...

03a8f8b86524664d2d61076a5f81ebe402c404ff authored almost 11 years ago by Peter Dettman <[email protected]>
Optimization in ModReduce

4e88394961c9ce8002e6093ca388bfa4ca943a76 authored almost 11 years ago by Peter Dettman <[email protected]>
Track carries for a, b to avoid unnecessary add/sub of prime modulus

4c690460459e4aef32982893bb6394c6d9ecd5f0 authored almost 11 years ago by Peter Dettman <[email protected]>
Fix return type in SubFromExt

3747ca5c316480183a81df8a3e9fceef5f95bfd2 authored almost 11 years ago by Peter Dettman <[email protected]>
Make class abstract

ec4288ed12863d6692275cb945378401937cb320 authored almost 11 years ago by Peter Dettman <[email protected]>
Track uvLen to reduce shifting for small operands

d64985881f898bc4779d31cf618e1a04b1cece6f authored almost 11 years ago by Peter Dettman <[email protected]>
Move method

89c202d973c8c0143ae5986d2c8bce0869ec541c authored almost 11 years ago by Peter Dettman <[email protected]>
Port of several interrelated things from Java build:

- Z coordinates for points
- More point normalization code
- Curve management of point precomp in...

0f05a8dc4b27623d96b08f7619c056a4e65baa9b authored almost 11 years ago by Peter Dettman <[email protected]>
Use ImportPoint to make sure points are on same curve

Add MontgomeryTrick method

6103247b0f72680bb834551cf4e68866f352afd2 authored almost 11 years ago by Peter Dettman <[email protected]>
Update test data

8ee18ba2819496466df6740016f782c7ba7f02f5 authored almost 11 years ago by Peter Dettman <[email protected]>
Rewrite some tests to avoid (obsoleted) explicit field element construction

17afdeeaee41d9ff9012d0318880f83c82570995 authored almost 11 years ago by Peter Dettman <[email protected]>
Formatting

c8bca237445a5dea80d00bb789d197a4ace58d45 authored almost 11 years ago by Peter Dettman <[email protected]>
Use residue-based reduction for more curves, in particular P-256

40d318fb8c3da32fa16251aa160dd4876910fc63 authored almost 11 years ago by Peter Dettman <[email protected]>
Add Nat/Mod classes and use instead of (slow) BigInteger.ModInverse implementation for FpFieldElement

1eae3093554e12822f1c53b174af894af28bbfaa authored almost 11 years ago by Peter Dettman <[email protected]>
Avoid unnecessary multiplication in final ExtEuclid iteration

705def3b089ca3ea2046457c77f56f6dbd309f0e authored almost 11 years ago by Peter Dettman <[email protected]>
Formatting

6768207a6a243e7c0f530a90b5d92fa3f57f2a48 authored almost 11 years ago by Peter Dettman <[email protected]>
Add foundations for supporting other coordinate systems

Add curve configuration
Multipliers now live on the curve instead of points

a1f04c18f436a7206c990e1c1625250f5dee93b3 authored almost 11 years ago by Peter Dettman <[email protected]>
Make public

2faeff20d0b978ede87b32861478d4b2531ca7a4 authored almost 11 years ago by Peter Dettman <[email protected]>
Override methods to optimize for LongArray

83ab18d6e64ade0f156c3ba97cff8a31e6e3f786 authored almost 11 years ago by Peter Dettman <[email protected]>
Use new Math.Field classes in EC curves, and avoid casting in client code

73cb18129e632b44ddae7f9c589fd9c17c77d3ca authored almost 11 years ago by Peter Dettman <[email protected]>
Implement TwicePlus optimization in Fp curves

47d13b5a8d368ffc048e2804cf24ca3b66b8ecae authored almost 11 years ago by Peter Dettman <[email protected]>
Port LongArray from Java and use in F2mFieldElement

cbc0848b90917fa606be8049f056de2acc1712a8 authored almost 11 years ago by Peter Dettman <[email protected]>