Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SecureRandom ctor: given this is a sha1Generator, seed with 20 bytes instead ↵ | Edward Ned Harvey | 2014-08-05 | 1 | -1/+1 |
| | | | | of 8 | ||||
* | use CryptoApiRandomGenerator in addition to other entropy sources | Edward Ned Harvey | 2014-08-05 | 1 | -1/+6 |
| | |||||
* | after seeding, pointlessly threw away the first few bytes. Removed. | Edward Ned Harvey | 2014-08-05 | 1 | -1/+0 |
| | |||||
* | use 32 bytes instead of 24 for seed material from ThreadedSeedGenerator | Edward Ned Harvey | 2014-08-05 | 1 | -1/+5 |
| | |||||
* | Check point against cofactor after decompression | Peter Dettman | 2014-07-25 | 2 | -5/+10 |
| | |||||
* | Add GetCipherType method and refactor | Peter Dettman | 2014-07-24 | 1 | -41/+41 |
| | |||||
* | Another round of TLS porting from Java | Peter Dettman | 2014-07-24 | 13 | -97/+930 |
| | |||||
* | Add more variations of Check/IsValid | Peter Dettman | 2014-07-24 | 1 | -0/+34 |
| | |||||
* | Apply low-hamming-weight NAF check for more generators | Peter Dettman | 2014-07-24 | 3 | -90/+135 |
| | |||||
* | Improve git ignore list | Peter Dettman | 2014-07-24 | 1 | -3/+12 |
| | |||||
* | More porting from Java TLS | Peter Dettman | 2014-07-23 | 4 | -85/+876 |
| | |||||
* | Update cipher suites from Java | Peter Dettman | 2014-07-23 | 2 | -73/+127 |
| | |||||
* | Port of new TlsEccUtilities class from Java | Peter Dettman | 2014-07-23 | 17 | -71/+901 |
| | | | | | Various support methods in TlsUtilities and Arrays Fix short->byte for several enumeration types | ||||
* | Add automatic EC point validation for decoded points and for multiplier outputs | Peter Dettman | 2014-07-23 | 24 | -494/+375 |
| | |||||
* | Update encrypt_then_mac entry | Peter Dettman | 2014-07-23 | 1 | -4/+2 |
| | |||||
* | Port of encoding fix from Java | Peter Dettman | 2014-07-22 | 1 | -2/+2 |
| | |||||
* | BMA-105 | Peter Dettman | 2014-07-21 | 3 | -121/+148 |
| | | | | | Support for parsing Gost3410x2001 private keys encoded as DER Integer Miscellaneous support methods ported from Java | ||||
* | Port of PrivateKeyInfo changes from Java | Peter Dettman | 2014-07-21 | 5 | -1293/+1302 |
| | |||||
* | Port update from Java | Peter Dettman | 2014-07-21 | 1 | -2/+3 |
| | |||||
* | [BMA-117] | Peter Dettman | 2014-07-21 | 1 | -41/+41 |
| | | | | Cope with redundant ExtendedKeyUsage entries | ||||
* | Port a few Java openpgp updates | Peter Dettman | 2014-07-21 | 7 | -971/+1265 |
| | |||||
* | Port constant-time extensions from Java | Peter Dettman | 2014-07-21 | 1 | -221/+371 |
| | |||||
* | Use AddTo/SubFrom and add a generic modular-addition method | Peter Dettman | 2014-07-21 | 1 | -7/+17 |
| | |||||
* | Port a few more GCM/GMac updates | Peter Dettman | 2014-07-21 | 4 | -266/+275 |
| | |||||
* | Reduce the number of test cases | Peter Dettman | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | De-tabify | Peter Dettman | 2014-07-21 | 1 | -176/+176 |
| | |||||
* | Port of latest GCM/OCB changes | Peter Dettman | 2014-07-21 | 5 | -74/+389 |
| | |||||
* | Registerize inner loops | Peter Dettman | 2014-07-21 | 3 | -226/+184 |
| | |||||
* | De-tabify | Peter Dettman | 2014-07-21 | 3 | -1302/+1302 |
| | |||||
* | De-tabify | Peter Dettman | 2014-07-21 | 1 | -88/+88 |
| | |||||
* | De-tabify | Peter Dettman | 2014-07-21 | 1 | -458/+458 |
| | |||||
* | Asterisk the default coordinates for each curve | Peter Dettman | 2014-07-02 | 1 | -3/+5 |
| | |||||
* | Use higher precision approximations for g1/g2 (GLV Type B) | Peter Dettman | 2014-07-02 | 2 | -21/+21 |
| | |||||
* | Port ECAlgorithmsTest from Java | Peter Dettman | 2014-07-01 | 4 | -5/+162 |
| | |||||
* | Fix inverted sense of "negs" in ImplSumOfMultiplies (porting error) | Peter Dettman | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Check the low-bit of y is consistent with the header byte in hybrid EC point ↵ | Peter Dettman | 2014-05-19 | 1 | -6/+20 |
| | | | | encodings | ||||
* | Port some minor updates from Java | Peter Dettman | 2014-04-17 | 1 | -4/+4 |
| | |||||
* | Set the SecureRandom more intelligently | Peter Dettman | 2014-04-16 | 2 | -144/+141 |
| | | | | Change access modifiers to support subclassing | ||||
* | Add low-weight guard to ECKeyPairGenerator | Peter Dettman | 2014-04-16 | 1 | -2/+16 |
| | |||||
* | Check for low-weight numbers in DH parameter generation and RSA key generation | Peter Dettman | 2014-04-11 | 3 | -167/+207 |
| | |||||
* | Update version to beta.4 following beta.3 release | Peter Dettman | 2014-04-10 | 1 | -1/+1 |
| | |||||
* | Fixed-point-comb uses existing precomputation info if it's for the same _or ↵ release-1.8.0-beta.3 | Peter Dettman | 2014-04-10 | 3 | -9/+24 |
| | | | | greater_ width as requested | ||||
* | Port from Java many of the new TLS classes and a few minor changes | Peter Dettman | 2014-04-06 | 26 | -45/+479 |
| | |||||
* | Move NullOutputStream to util/io | Peter Dettman | 2014-04-06 | 2 | -8/+6 |
| | |||||
* | Remove redundant Mac.Init calls | Peter Dettman | 2014-04-04 | 1 | -3/+1 |
| | |||||
* | Use the TLS 1.0 PRF for the random block | Peter Dettman | 2014-04-04 | 8 | -3/+128 |
| | |||||
* | Optimize Curve25519 point operations | Peter Dettman | 2014-03-21 | 2 | -111/+214 |
| | |||||
* | Port of latest Curve25519 stuff from Java build | Peter Dettman | 2014-03-17 | 9 | -30/+710 |
| | |||||
* | Take advantage of GLV (when available) in sum-of-multiplies methods | Peter Dettman | 2014-03-14 | 1 | -7/+89 |
| | |||||
* | Change primary measurement to multiplication rate using fixed-duration rounds | Peter Dettman | 2014-03-14 | 1 | -24/+47 |
| | |||||
* | Optimize squaring by inlining the ShiftUpBit | Peter Dettman | 2014-03-14 | 3 | -118/+262 |
| | |||||
* | GlvMultiplier.cs missed in last commit | Peter Dettman | 2014-03-14 | 2 | -0/+45 |
| | |||||
* | Port GLV implementation from Java | Peter Dettman | 2014-03-13 | 13 | -18/+439 |
| | |||||
* | Fix bug in DoFinal introduced by last change | Peter Dettman | 2014-03-13 | 1 | -18/+25 |
| | |||||
* | Add ScaleX, ScaleY methods to ECPoint | Peter Dettman | 2014-03-13 | 1 | -0/+74 |
| | |||||
* | Add new CreateRawPoint method on ECCurve that includes the Z coords | Peter Dettman | 2014-03-13 | 9 | -0/+52 |
| | |||||
* | All subclasses to control the choice of width to use | Peter Dettman | 2014-03-12 | 1 | -2/+6 |
| | |||||
* | Allow subclasses to override the ECMultiplier used for base-point multiplication | Peter Dettman | 2014-03-12 | 3 | -8/+21 |
| | |||||
* | Weight the performance test more towards random points | Peter Dettman | 2014-03-12 | 1 | -3/+9 |
| | |||||
* | Add new method | Peter Dettman | 2014-03-12 | 1 | -0/+9 |
| | |||||
* | Add extra random tests for SipHash to check consistency across different ↵ | Peter Dettman | 2014-03-12 | 1 | -0/+34 |
| | | | | update methods | ||||
* | Optimization (faster at all input lengths, but especially for long ↵ | Peter Dettman | 2014-03-11 | 1 | -17/+39 |
| | | | | block-aligned inputs) | ||||
* | Improve SipHashTest to cover varying update methods | Peter Dettman | 2014-03-11 | 1 | -4/+50 |
| | |||||
* | Optimize some of the addition/doubling internals | Peter Dettman | 2014-03-10 | 8 | -92/+114 |
| | |||||
* | Adapt performance test to exclude outliers form average | Peter Dettman | 2014-03-10 | 1 | -15/+32 |
| | |||||
* | Add MultiplyAddToExt method to fields | Peter Dettman | 2014-03-10 | 6 | -2/+71 |
| | |||||
* | Refactor temporary variables in reductions | Peter Dettman | 2014-03-10 | 3 | -28/+30 |
| | |||||
* | Inline Reduce32 calls and registerize some values to avoid extra writes | Peter Dettman | 2014-03-10 | 2 | -12/+53 |
| | |||||
* | Use more specific Nat methods | Peter Dettman | 2014-03-10 | 1 | -2/+2 |
| | |||||
* | Change version to beta.3 after release of beta.2 | Peter Dettman | 2014-03-06 | 1 | -1/+1 |
| | |||||
* | Minor improvement to reduction release-1.8.0-beta.2 | Peter Dettman | 2014-03-06 | 3 | -9/+15 |
| | |||||
* | Avoid redundant subtraction | Peter Dettman | 2014-03-06 | 1 | -43/+43 |
| | |||||
* | Improved reduction | Peter Dettman | 2014-03-05 | 4 | -63/+101 |
| | |||||
* | Reduction optimization for secp256r1 | Peter Dettman | 2014-03-05 | 1 | -5/+73 |
| | |||||
* | Use Nat methods instead of specific Nat*.*Ext methods | Peter Dettman | 2014-03-05 | 10 | -84/+44 |
| | | | | Reduction improvements in curve25519 and secp256r1 | ||||
* | Fix infinite loop issue when there is no sqrt | Peter Dettman | 2014-03-04 | 2 | -30/+80 |
| | | | | Add test case to check that Sqrt returns null for non-squares | ||||
* | Remove some length-specific methods in favour of the Nat class | Peter Dettman | 2014-03-04 | 12 | -558/+487 |
| | | | | | Add more method variations to Nat Use customized reductions in various fields | ||||
* | Just use shift methods from Nat class evverywhere | Peter Dettman | 2014-03-04 | 10 | -271/+25 |
| | |||||
* | Refactoring in the Nat* classes and some new method variations | Peter Dettman | 2014-03-03 | 15 | -187/+634 |
| | | | | Improved reduction in some fields | ||||
* | Share single temp variable across calls in Sqrt() | Peter Dettman | 2014-03-03 | 1 | -10/+9 |
| | |||||
* | Refactor reduction methods and change scope of PExt fields | Peter Dettman | 2014-03-03 | 7 | -115/+103 |
| | |||||
* | Add/rename MulAddTo variations | Peter Dettman | 2014-03-03 | 3 | -2/+167 |
| | |||||
* | Allow for (very rare) cases where the Sqrt() algorithm needs to retry | Peter Dettman | 2014-03-02 | 1 | -36/+40 |
| | |||||
* | Avoid a few negations in Sqrt() | Peter Dettman | 2014-02-28 | 1 | -7/+8 |
| | |||||
* | Optimized Sqrt() for custom secp224r1 | Peter Dettman | 2014-02-27 | 2 | -2/+112 |
| | |||||
* | Equality/hashcode should ignore "excess" words | Peter Dettman | 2014-02-27 | 12 | -23/+107 |
| | |||||
* | Optimize Sqrt() for custom secp384r1 | Peter Dettman | 2014-02-27 | 1 | -2/+56 |
| | |||||
* | Optimize final adjustments in Reduce() | Peter Dettman | 2014-02-27 | 1 | -13/+4 |
| | |||||
* | Simplify Twice() | Peter Dettman | 2014-02-27 | 1 | -7/+3 |
| | |||||
* | Add custom curve for secp384r1 (P-384) | Peter Dettman | 2014-02-27 | 7 | -0/+858 |
| | |||||
* | Optimize final adjustments in Reduce() | Peter Dettman | 2014-02-27 | 1 | -11/+8 |
| | |||||
* | Round out the Nat192 methods | Peter Dettman | 2014-02-26 | 7 | -20/+275 |
| | | | | Use Nat*.Copy methods in fields | ||||
* | Add extra arg to AddWord() and add variant of Copy() | Peter Dettman | 2014-02-26 | 2 | -6/+12 |
| | |||||
* | Optimization for custom curve reduction when only a few bits need reducing; ↵ | Peter Dettman | 2014-02-26 | 15 | -30/+205 |
| | | | | used to delay reduction in point doubling. | ||||
* | Optimize Sqrt() for custom curve secp224k1 | Peter Dettman | 2014-02-26 | 1 | -2/+87 |
| | |||||
* | Refactoring in Sqrt() | Peter Dettman | 2014-02-26 | 1 | -14/+6 |
| | |||||
* | Add custom curve for secp224k1 | Peter Dettman | 2014-02-26 | 6 | -0/+717 |
| | |||||
* | Special handling for zero-valued scalars | Peter Dettman | 2014-02-26 | 1 | -20/+38 |
| | | | | Some optimizations for NAF generation | ||||
* | Update release version | Peter Dettman | 2014-02-25 | 1 | -1/+1 |
| | |||||
* | Refactoring in Sqrt() | Peter Dettman | 2014-02-25 | 1 | -13/+12 |
| | |||||
* | Add custom curve for secp224r1 (P-224) | Peter Dettman | 2014-02-25 | 7 | -0/+2028 |
| | |||||
* | Add new test to regression tests | Peter Dettman | 2014-02-25 | 1 | -10/+11 |
| | |||||
* | Tabs -> spaces | Peter Dettman | 2014-02-25 | 1 | -4/+4 |
| | |||||
* | Port some openpgp updates from Java build for secret keys | Peter Dettman | 2014-02-25 | 5 | -206/+436 |
| | |||||
* | Check a few more points in the encoding test | Peter Dettman | 2014-02-25 | 1 | -1/+7 |
| | |||||
* | Implement the 8m + 5 case from Pocklington's sqrt algorithm (seems to be ↵ | Peter Dettman | 2014-02-25 | 1 | -7/+45 |
| | | | | only used by secp224k1) | ||||
* | Refactoring in Nat* classes | Peter Dettman | 2014-02-24 | 6 | -101/+99 |
| | |||||
* | Tabs -> spaces | Peter Dettman | 2014-02-19 | 1 | -372/+372 |
| | |||||
* | [BMA-87] | Peter Dettman | 2014-02-19 | 2 | -192/+241 |
| | | | | Fix for UTC-type GeneralizedTime instances | ||||
* | Tabs -> spaces | Peter Dettman | 2014-02-19 | 1 | -168/+168 |
| | |||||
* | Use ToBigInteger() for A/B comparison in curve equality | Peter Dettman | 2014-02-19 | 1 | -4/+4 |
| | |||||
* | Changes to build system in preparation for beta release release-1.8.0-beta.1 | Peter Dettman | 2014-02-18 | 3 | -24/+27 |
| | |||||
* | Add a bare bones .gitignore | Peter Dettman | 2014-02-18 | 1 | -0/+3 |
| | |||||
* | Fix encoding... again | Peter Dettman | 2014-02-18 | 1 | -0/+0 |
| | |||||
* | Convert to UTF-8 (thanks Jeff Stedfast) | Peter Dettman | 2014-02-18 | 1 | -0/+0 |
| | |||||
* | Delete old commented-out code | Peter Dettman | 2014-02-09 | 1 | -476/+0 |
| | |||||
* | Use GetEncoded(boolean) instead of deprecated constructor | Peter Dettman | 2014-02-09 | 1 | -7/+3 |
| | |||||
* | Provide SumOfMultiplies as an arbitrary-length generalization of ↵ | Peter Dettman | 2014-02-09 | 1 | -0/+91 |
| | | | | SumOfTwoMultiplies | ||||
* | Update encoders from Java version, including catching invalid data instead ↵ | Peter Dettman | 2014-02-07 | 2 | -418/+448 |
| | | | | of ignoring it | ||||
* | Fix casts to satisfy .NET 1.1 | Peter Dettman | 2014-02-07 | 1 | -2/+2 |
| | |||||
* | Fix dodgy character in curve seed | Peter Dettman | 2014-02-07 | 1 | -1/+1 |
| | |||||
* | Use parallel wNAF for sumOfTwoMultiplies | Peter Dettman | 2014-02-07 | 1 | -4/+69 |
| | |||||
* | Small optimization for width 4 | Peter Dettman | 2014-02-07 | 1 | -17/+19 |
| | |||||
* | Index precomputation info by name | Peter Dettman | 2014-02-07 | 5 | -14/+36 |
| | |||||
* | Update OCB draft references | Peter Dettman | 2014-02-07 | 2 | -2/+2 |
| | |||||
* | Use FixedPointCombMultiplier for most base-point multiplications | Peter Dettman | 2014-02-06 | 2 | -15/+16 |
| | |||||
* | Fix incomplete port | Peter Dettman | 2014-02-06 | 1 | -1/+1 |
| | |||||
* | Use fixed-point comb for multiplying by the base-point | Peter Dettman | 2014-02-06 | 1 | -13/+11 |
| | |||||
* | A few improvements to the fixed-point comb | Peter Dettman | 2014-02-06 | 2 | -10/+28 |
| | |||||
* | Initial work on the Curve25519 field implementation | Peter Dettman | 2014-02-06 | 4 | -19/+304 |
| | |||||
* | Add order/cofactor to the small test curves | Peter Dettman | 2014-02-06 | 1 | -10/+18 |
| | |||||
* | Add order/cofactor to Fp curves | Peter Dettman | 2014-02-04 | 8 | -802/+917 |
| | |||||
* | Initial work on a fixed-point comb multiplier | Peter Dettman | 2014-02-04 | 4 | -0/+141 |
| | |||||
* | For repeated doublings, use jacobian-modified coordinates internally ↵ | Peter Dettman | 2014-02-04 | 1 | -1/+83 |
| | | | | irrespective of curve coordinates | ||||
* | Implement Karatsuba multiply/square on 512-bit numbers and use as basis for ↵ | Peter Dettman | 2014-02-03 | 5 | -63/+582 |
| | | | | P-521 multiply/square | ||||
* | Minor optimization for secp521r1 point doubling | Peter Dettman | 2014-02-02 | 3 | -5/+48 |
| | |||||
* | Bring OCB test vectors up-to-date with draft v06 | Peter Dettman | 2014-02-02 | 2 | -81/+132 |
| | |||||
* | Add custom curve for secp521r1 (P-521) | Peter Dettman | 2014-02-01 | 9 | -109/+777 |
| | |||||
* | Add support for delayed modular reduction | Peter Dettman | 2014-02-01 | 3 | -35/+314 |
| | |||||
* | Reformatting | Peter Dettman | 2014-02-01 | 1 | -2/+0 |
| | |||||
* | Reformat | Peter Dettman | 2014-02-01 | 3 | -6/+0 |
| | |||||
* | Fix IncExt | Peter Dettman | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Rename locals in Reduce() methods | Peter Dettman | 2014-02-01 | 2 | -33/+33 |
| | |||||
* | Optimize Reduce() method | Peter Dettman | 2014-02-01 | 1 | -8/+16 |
| | |||||
* | Optimize Reduce() method | Peter Dettman | 2014-02-01 | 1 | -6/+17 |
| | |||||
* | Fix Nat*.Gte methods | Peter Dettman | 2014-02-01 | 3 | -6/+6 |
| | |||||
* | Make Dec/Inc/IncExt methods work at the full length and change assertions ↵ | Peter Dettman | 2014-01-31 | 3 | -57/+55 |
| | | | | accordingly | ||||
* | Avoid modifying the input to the Reduce() methods | Peter Dettman | 2014-01-31 | 4 | -50/+48 |
| | |||||
* | Improve reduction speed for secp192k1 and secp256k1 custom fields | Peter Dettman | 2014-01-31 | 4 | -16/+126 |
| | |||||
* | Add custom curves for secp192k1 and secp192r1 (P-192) | Peter Dettman | 2014-01-31 | 11 | -0/+2259 |
| | |||||
* | Refactoring | Peter Dettman | 2014-01-31 | 5 | -10/+8 |
| | |||||
* | Unroll MulWordAddExt | Peter Dettman | 2014-01-31 | 1 | -8/+24 |
| | |||||
* | Use BigInteger.One instead of BigInteger.ValueOf(1) | Peter Dettman | 2014-01-31 | 1 | -25/+25 |
| | |||||
* | Fix final step of Reduce() | Peter Dettman | 2014-01-30 | 1 | -10/+9 |
| | |||||
* | Fix GetBit range-check | Peter Dettman | 2014-01-30 | 1 | -1/+1 |
| | |||||
* | Formatting | Peter Dettman | 2014-01-30 | 1 | -10/+0 |
| | |||||
* | Take advantage of special prime modulus to optimize sqrt | Peter Dettman | 2014-01-30 | 2 | -4/+107 |
| | |||||
* | Add SquareN to perform repeated modular squaring | Peter Dettman | 2014-01-30 | 2 | -0/+30 |
| | |||||
* | Cleanup various warnings, and reformatting | Peter Dettman | 2014-01-29 | 13 | -1112/+1104 |
| | |||||
* | Update copyrights and add missing Inc. | Peter Dettman | 2014-01-28 | 2 | -3/+3 |
| | |||||
* | Remove unnecessary using statement | Peter Dettman | 2014-01-28 | 1 | -2/+0 |
| | |||||
* | Several optimizations and make notes of possible delayed reductions | Peter Dettman | 2014-01-28 | 1 | -17/+28 |
| | |||||
* | Refactoring | Peter Dettman | 2014-01-28 | 1 | -2/+1 |
| | |||||
* | Avoid division when decompressing a lambda-projective point | Peter Dettman | 2014-01-28 | 1 | -9/+5 |
| | |||||
* | Implement multi-squaring in-place and use for F2m sqrt() | Peter Dettman | 2014-01-28 | 2 | -40/+39 |
| | |||||
* | Fix and re-enable twicePlus for lambda-projective coordinates | Peter Dettman | 2014-01-28 | 1 | -59/+73 |
| | |||||
* | Port point-detaching stuff from Java | Peter Dettman | 2014-01-28 | 3 | -0/+27 |
| | |||||
* | Port from Java order/cofactor for all curves | Peter Dettman | 2014-01-28 | 4 | -41/+52 |
| | |||||
* | Port of latest EC multipliers from Java | Peter Dettman | 2014-01-27 | 14 | -45/+292 |
| | |||||
* | Use custom curve if available | Peter Dettman | 2014-01-26 | 3 | -220/+189 |
| | |||||
* | Formatting | Peter Dettman | 2014-01-26 | 2 | -359/+359 |
| | |||||
* | Add new test case for 96 bit tag from CFRG | Peter Dettman | 2014-01-26 | 1 | -31/+31 |
| | |||||
* | When OCB is used with incrementing nonces, the cipher processing during ↵ | Peter Dettman | 2014-01-26 | 2 | -23/+67 |
| | | | | initialization is only needed once every 64 inits. | ||||
* | Make class internal | Peter Dettman | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | Port custom curve for secp256r1 from Java | Peter Dettman | 2014-01-26 | 6 | -1/+758 |
| | |||||
* | Tidy up comments | Peter Dettman | 2014-01-26 | 2 | -6/+2 |
| | |||||
* | Port custom curve for secp256k1 from Java | Peter Dettman | 2014-01-26 | 7 | -15/+1499 |
| | |||||
* | Add methods working with uint[] | Peter Dettman | 2014-01-26 | 1 | -2/+44 |
| | |||||
* | Add diagnostics | Peter Dettman | 2014-01-26 | 1 | -37/+42 |
| | |||||
* | Fix coord access in Negate() | Peter Dettman | 2014-01-26 | 1 | -36/+8 |
| | | | | Reformatting | ||||
* | Refactor DecompressPoint | Peter Dettman | 2014-01-26 | 1 | -8/+3 |
| | |||||
* | Port of jacobian/-modified coordinates from Java | Peter Dettman | 2014-01-26 | 2 | -69/+354 |
| | | | | Make jacobian-modified the default coordinates for Fp | ||||
* | Make Barrett reduction available for more prime moduli | Peter Dettman | 2014-01-26 | 1 | -12/+6 |
| | |||||
* | Increase number of rounds | Peter Dettman | 2014-01-26 | 1 | -3/+2 |
| | |||||
* | Adjust first-digit optimization to not be so conservative | Peter Dettman | 2014-01-26 | 1 | -12/+7 |
| | |||||
* | Port latest Java fixes for lambda-projective and make it the default for F2m | Peter Dettman | 2014-01-25 | 2 | -68/+92 |
| | |||||
* | Change F2m test curve to match Java version more clearly | Peter Dettman | 2014-01-25 | 1 | -18/+14 |
| | |||||
* | Implement Sqrt in F2m | Peter Dettman | 2014-01-25 | 1 | -1/+9 |
| | |||||
* | Add 0 guard in ModInverse | Peter Dettman | 2014-01-25 | 1 | -0/+4 |
| | |||||
* | Implement homogeneous and lambda-projective coordinate systems in F2m curves | Peter Dettman | 2014-01-25 | 2 | -67/+428 |
| | |||||
* | Port of AddOne method(s) from Java | Peter Dettman | 2014-01-25 | 1 | -0/+16 |
| | |||||
* | Use AesEngine by default | Peter Dettman | 2014-01-25 | 1 | -3/+8 |
| | |||||
* | Formatting | Peter Dettman | 2014-01-24 | 2 | -74/+70 |
| | |||||
* | Some more EC point normalization | Peter Dettman | 2014-01-24 | 6 | -104/+103 |
| | |||||
* | Default to COORD_HOMOGENEOUS for Fp | Peter Dettman | 2014-01-24 | 1 | -1/+1 |
| | |||||
* | Implement very basic Barrett reduction as alternative to very slow ↵ | Peter Dettman | 2014-01-24 | 1 | -19/+41 |
| | | | | BigInteger.Mod | ||||
* | Run point test on all supported coordinate systems | Peter Dettman | 2014-01-24 | 1 | -13/+36 |
| | |||||
* | Implementation of homogeneous coordinates for Fp | Peter Dettman | 2014-01-24 | 20 | -5626/+6012 |
| | | | | | Various changes to point methods to deal with non-affine points Changes in client code and tests to apply point normalization | ||||
* | Optimization in ModReduce | Peter Dettman | 2014-01-24 | 1 | -3/+6 |
| | |||||
* | Track carries for a, b to avoid unnecessary add/sub of prime modulus | Peter Dettman | 2014-01-24 | 1 | -17/+42 |
| | |||||
* | Fix return type in SubFromExt | Peter Dettman | 2014-01-24 | 1 | -4/+4 |
| | |||||
* | Make class abstract | Peter Dettman | 2014-01-24 | 1 | -32/+24 |
| | |||||
* | Track uvLen to reduce shifting for small operands | Peter Dettman | 2014-01-24 | 1 | -9/+18 |
| | |||||
* | Move method | Peter Dettman | 2014-01-24 | 1 | -16/+16 |
| | |||||
* | Port of several interrelated things from Java build: | Peter Dettman | 2014-01-23 | 12 | -578/+1061 |
| | | | | | | | | - Z coordinates for points - More point normalization code - Curve management of point precomp info - Add WNafUtilities and use in multipliers/ECAlgorithms - Make various fields/classes protected/public | ||||
* | Use ImportPoint to make sure points are on same curve | Peter Dettman | 2014-01-23 | 1 | -15/+49 |
| | | | | Add MontgomeryTrick method | ||||
* | Update test data | Peter Dettman | 2014-01-23 | 1 | -3/+3 |
| | |||||
* | Rewrite some tests to avoid (obsoleted) explicit field element construction | Peter Dettman | 2014-01-23 | 3 | -438/+423 |
| | |||||
* | Formatting | Peter Dettman | 2014-01-23 | 1 | -45/+45 |
| | |||||
* | Use residue-based reduction for more curves, in particular P-256 | Peter Dettman | 2014-01-23 | 1 | -2/+8 |
| | |||||
* | Add Nat/Mod classes and use instead of (slow) BigInteger.ModInverse ↵ | Peter Dettman | 2014-01-23 | 5 | -497/+643 |
| | | | | implementation for FpFieldElement | ||||
* | Avoid unnecessary multiplication in final ExtEuclid iteration | Peter Dettman | 2014-01-23 | 1 | -32/+16 |
| | |||||
* | Formatting | Peter Dettman | 2014-01-23 | 1 | -987/+987 |
| | |||||
* | Add foundations for supporting other coordinate systems | Peter Dettman | 2014-01-22 | 4 | -97/+260 |
| | | | | | Add curve configuration Multipliers now live on the curve instead of points | ||||
* | Make public | Peter Dettman | 2014-01-22 | 2 | -2/+2 |
| | |||||
* | Override methods to optimize for LongArray | Peter Dettman | 2014-01-22 | 1 | -0/+20 |
| | |||||
* | Use new Math.Field classes in EC curves, and avoid casting in client code | Peter Dettman | 2014-01-22 | 6 | -362/+387 |
| | |||||
* | Implement TwicePlus optimization in Fp curves | Peter Dettman | 2014-01-22 | 4 | -312/+458 |
| | |||||
* | Port LongArray from Java and use in F2mFieldElement | Peter Dettman | 2014-01-22 | 4 | -157/+2091 |
| | |||||
* | BMA-119 | Peter Dettman | 2014-01-21 | 2 | -1202/+1097 |
| | | | | | Make GetValueList methods consistent Remove obsolete X509Name methods | ||||
* | Fix up openssl test cases | Peter Dettman | 2014-01-21 | 2 | -690/+689 |
| | |||||
* | Remove DerUnknownTag class | Peter Dettman | 2014-01-21 | 2 | -85/+0 |
| | |||||
* | Stop using DerUnknownTag (throw exceptions during parsing instead) | Peter Dettman | 2014-01-21 | 4 | -464/+457 |
| | |||||
* | BMA-118 | Peter Dettman | 2014-01-21 | 1 | -95/+88 |
| | | | | Handle null properly in AuthorityInformationAccess.GetInstance | ||||
* | Reformat | Peter Dettman | 2014-01-21 | 1 | -44/+42 |
| | |||||
* | BMA-116 | Peter Dettman | 2014-01-21 | 3 | -249/+266 |
| | | | | Update some Asn1.X509 classes from Java | ||||
* | Fix Equals methods | Peter Dettman | 2014-01-21 | 2 | -27/+28 |
| | |||||
* | Fix digest test constructors | Peter Dettman | 2014-01-21 | 15 | -261/+261 |
| | | | | Formatting | ||||
* | Update for timw | Peter Dettman | 2014-01-21 | 1 | -1/+1 |
| | |||||
* | Add new files to project, rename Sm3 to SM3 | Peter Dettman | 2014-01-21 | 4 | -17/+92 |
| | |||||
* | Fix up merge | Peter Dettman | 2014-01-21 | 2 | -12/+29 |
| | |||||
* | Merge branch 'feature/threefish-skein-memoable-sm3' of ↵ | Peter Dettman | 2014-01-21 | 53 | -1947/+5149 |
|\ | | | | | | | | | | | | | | | git://github.com/timw/bc-csharp into timw-feature/threefish-skein-memoable-sm3 Conflicts: crypto/crypto.mdp crypto/src/util/Arrays.cs | ||||
| * | Port HMac optimisation using Memoable digests from bc-java. | Tim Whittington | 2013-10-20 | 1 | -7/+37 |
| | | |||||
| * | Refactor digest tests to subclass DigestTest, the same as bc-java. | Tim Whittington | 2013-10-20 | 14 | -1869/+644 |
| | | |||||
| * | Port SM3 digest implementation and tests from bc-java. | Tim Whittington | 2013-10-20 | 4 | -0/+405 |
| | | |||||
| * | Port Memoable digest support from bc-java. | Tim Whittington | 2013-10-20 | 25 | -96/+536 |
| | | |||||
| * | Port SkeinDigest and SkeinMac from bc-java. | Tim Whittington | 2013-10-20 | 9 | -0/+1847 |
| | | | | | | | | Skein digest and Mac in 256/512/1024 bit state sizes (and arbitrary byte level output size), with unit tests. | ||||
| * | Port of Threefish implementation from bc-java. | Tim Whittington | 2013-10-20 | 8 | -1/+1737 |
| | | | | | | | | All block sizes (256/5124/1024) and unit tests. | ||||
* | | Merge branch 'pkix-validator-throw' of git://github.com/jstedfast/bc-csharp ↵ | Peter | 2014-01-21 | 1 | -5/+5 |
|\ \ | | | | | | | | | | into jstedfast-pkix-validator-throw | ||||
| * | | Need to throw the new exceptions rather than leaving them to fall into the void | Jeffrey Stedfast | 2013-11-24 | 1 | -5/+5 |
| | | | |||||
* | | | Bring EC performance test up-to-date with Java version | Peter Dettman | 2014-01-21 | 1 | -53/+109 |
| | | | |||||
* | | | Add new classes in Math.Field and some other EC-related stuff from Java | Peter Dettman | 2014-01-21 | 12 | -0/+540 |
| | | | |||||
* | | | Use ECCurve.CreatePoint | Peter Dettman | 2014-01-21 | 1 | -430/+428 |
| | | | | | | | | | | | | Formatting | ||||
* | | | Formatting | Peter Dettman | 2014-01-21 | 1 | -714/+714 |
| | | | |||||
* | | | Formatting | Peter Dettman | 2014-01-21 | 1 | -1173/+1173 |
| | | | |||||
* | | | Add target frameworks for mono-3.5 and -4.0 | Peter | 2014-01-21 | 1 | -0/+14 |
| | | | |||||
* | | | Make typed Equals methods public (and virtual) | Peter Dettman | 2014-01-21 | 1 | -3/+3 |
| | | | |||||
* | | | Merge branch 'master' of git.bouncycastle.org:bc-csharp | Peter Dettman | 2014-01-21 | 2 | -13/+25 |
|\ \ \ | |||||
| * | | | added Camellia tags | David Hook | 2014-01-15 | 1 | -2/+11 |
| | | | | |||||
| * | | | added Camellia tags | David Hook | 2014-01-15 | 1 | -11/+14 |
| | | | |