summary refs log tree commit diff
path: root/crypto/src/math (unfollow)
Commit message (Expand)AuthorFilesLines
2014-08-22More TLS porting from Java APIPeter Dettman20-558/+1882
2014-08-22Add support for a 'cause' Exception to TlsFatalAlert and usePeter Dettman11-36/+40
2014-08-21Cater for possibly null ecPointFormatsPeter Dettman1-1/+4
2014-08-21More TLS ported from Java APIPeter Dettman24-711/+1944
2014-08-20A few minor followups to the previous batch of TLS updatesPeter Dettman5-8/+16
2014-08-20A round of TLS updates from Java APIPeter Dettman37-325/+957
2014-08-20Bring RsaDigestSigner uptodate with Java APIPeter Dettman2-102/+92
2014-08-20Add Times utility classPeter Dettman2-0/+19
2014-08-20Port of Deterministic-DSA from Java APIPeter Dettman8-20/+838
2014-08-20Fix warningPeter Dettman1-1/+1
2014-08-20BMA-125 Remove duplicate/wrong RIPEMD160/ECDSA entriesPeter Dettman1-364/+361
2014-07-25Check point against cofactor after decompressionPeter Dettman2-5/+10
2014-07-24Add GetCipherType method and refactorPeter Dettman1-41/+41
2014-07-24Another round of TLS porting from JavaPeter Dettman13-97/+930
2014-07-24Add more variations of Check/IsValidPeter Dettman1-0/+34
2014-07-24Apply low-hamming-weight NAF check for more generatorsPeter Dettman3-90/+135
2014-07-24Improve git ignore listPeter Dettman1-3/+12
2014-07-23More porting from Java TLSPeter Dettman4-85/+876
2014-07-23Update cipher suites from JavaPeter Dettman2-73/+127
2014-07-23Port of new TlsEccUtilities class from JavaPeter Dettman17-71/+901
2014-07-23Add automatic EC point validation for decoded points and for multiplier outputsPeter Dettman24-494/+375
2014-07-23Update encrypt_then_mac entryPeter Dettman1-4/+2
2014-07-22Port of encoding fix from JavaPeter Dettman1-2/+2
2014-07-21BMA-105Peter Dettman3-121/+148
2014-07-21Port of PrivateKeyInfo changes from JavaPeter Dettman5-1293/+1302
2014-07-21Port update from JavaPeter Dettman1-2/+3
2014-07-21[BMA-117]Peter Dettman1-41/+41
2014-07-21Port a few Java openpgp updatesPeter Dettman7-971/+1265
2014-07-21Port constant-time extensions from JavaPeter Dettman1-221/+371
2014-07-21Use AddTo/SubFrom and add a generic modular-addition methodPeter Dettman1-7/+17
2014-07-21Port a few more GCM/GMac updatesPeter Dettman4-266/+275
2014-07-21Reduce the number of test casesPeter Dettman1-1/+1
2014-07-21De-tabifyPeter Dettman1-176/+176
2014-07-21Port of latest GCM/OCB changesPeter Dettman5-74/+389
2014-07-21Registerize inner loopsPeter Dettman3-226/+184
2014-07-21De-tabifyPeter Dettman3-1302/+1302
2014-07-21De-tabifyPeter Dettman1-88/+88
2014-07-21De-tabifyPeter Dettman1-458/+458
2014-07-02Asterisk the default coordinates for each curvePeter Dettman1-3/+5
2014-07-02Use higher precision approximations for g1/g2 (GLV Type B)Peter Dettman2-21/+21
2014-07-01Port ECAlgorithmsTest from JavaPeter Dettman4-5/+162
2014-06-30Fix inverted sense of "negs" in ImplSumOfMultiplies (porting error)Peter Dettman1-1/+1
2014-05-19Check the low-bit of y is consistent with the header byte in hybrid EC point ...Peter Dettman1-6/+20
2014-04-17Port some minor updates from JavaPeter Dettman1-4/+4
2014-04-16Set the SecureRandom more intelligentlyPeter Dettman2-144/+141
2014-04-16Add low-weight guard to ECKeyPairGeneratorPeter Dettman1-2/+16
2014-04-11Check for low-weight numbers in DH parameter generation and RSA key generationPeter Dettman3-167/+207
2014-04-10Update version to beta.4 following beta.3 releasePeter Dettman1-1/+1
2014-04-10Fixed-point-comb uses existing precomputation info if it's for the same _or g... release-1.8.0-beta.3Peter Dettman3-9/+24
2014-04-06Port from Java many of the new TLS classes and a few minor changesPeter Dettman26-45/+479
2014-04-06Move NullOutputStream to util/ioPeter Dettman2-8/+6
2014-04-04Remove redundant Mac.Init callsPeter Dettman1-3/+1
2014-04-04Use the TLS 1.0 PRF for the random blockPeter Dettman8-3/+128
2014-03-21Optimize Curve25519 point operationsPeter Dettman2-111/+214
2014-03-17Port of latest Curve25519 stuff from Java buildPeter Dettman9-30/+710
2014-03-14Take advantage of GLV (when available) in sum-of-multiplies methodsPeter Dettman1-7/+89
2014-03-14Change primary measurement to multiplication rate using fixed-duration roundsPeter Dettman1-24/+47
2014-03-14Optimize squaring by inlining the ShiftUpBitPeter Dettman3-118/+262
2014-03-14GlvMultiplier.cs missed in last commitPeter Dettman2-0/+45
2014-03-13Port GLV implementation from JavaPeter Dettman13-18/+439
2014-03-13Fix bug in DoFinal introduced by last changePeter Dettman1-18/+25
2014-03-13Add ScaleX, ScaleY methods to ECPointPeter Dettman1-0/+74
2014-03-13Add new CreateRawPoint method on ECCurve that includes the Z coordsPeter Dettman9-0/+52
2014-03-12All subclasses to control the choice of width to usePeter Dettman1-2/+6
2014-03-12Allow subclasses to override the ECMultiplier used for base-point multiplicationPeter Dettman3-8/+21
2014-03-12Weight the performance test more towards random pointsPeter Dettman1-3/+9
2014-03-12Add new methodPeter Dettman1-0/+9
2014-03-12Add extra random tests for SipHash to check consistency across different upda...Peter Dettman1-0/+34
2014-03-11Optimization (faster at all input lengths, but especially for long block-alig...Peter Dettman1-17/+39
2014-03-11Improve SipHashTest to cover varying update methodsPeter Dettman1-4/+50
2014-03-10Optimize some of the addition/doubling internalsPeter Dettman8-92/+114
2014-03-10Adapt performance test to exclude outliers form averagePeter Dettman1-15/+32
2014-03-10Add MultiplyAddToExt method to fieldsPeter Dettman6-2/+71
2014-03-10Refactor temporary variables in reductionsPeter Dettman3-28/+30
2014-03-10Inline Reduce32 calls and registerize some values to avoid extra writesPeter Dettman2-12/+53
2014-03-10Use more specific Nat methodsPeter Dettman1-2/+2
2014-03-06Change version to beta.3 after release of beta.2Peter Dettman1-1/+1
2014-03-06Minor improvement to reduction release-1.8.0-beta.2Peter Dettman3-9/+15
2014-03-06Avoid redundant subtractionPeter Dettman1-43/+43
2014-03-05Improved reductionPeter Dettman4-63/+101
2014-03-05Reduction optimization for secp256r1Peter Dettman1-5/+73
2014-03-05Use Nat methods instead of specific Nat*.*Ext methodsPeter Dettman10-84/+44
2014-03-04Fix infinite loop issue when there is no sqrtPeter Dettman2-30/+80
2014-03-04Remove some length-specific methods in favour of the Nat classPeter Dettman12-558/+487
2014-03-04Just use shift methods from Nat class evverywherePeter Dettman10-271/+25
2014-03-03Refactoring in the Nat* classes and some new method variationsPeter Dettman15-187/+634
2014-03-03Share single temp variable across calls in Sqrt()Peter Dettman1-10/+9
2014-03-03Refactor reduction methods and change scope of PExt fieldsPeter Dettman7-115/+103
2014-03-03Add/rename MulAddTo variationsPeter Dettman3-2/+167
2014-03-02Allow for (very rare) cases where the Sqrt() algorithm needs to retryPeter Dettman1-36/+40
2014-02-28Avoid a few negations in Sqrt()Peter Dettman1-7/+8
2014-02-27Optimized Sqrt() for custom secp224r1Peter Dettman2-2/+112
2014-02-27Equality/hashcode should ignore "excess" wordsPeter Dettman12-23/+107
2014-02-27Optimize Sqrt() for custom secp384r1Peter Dettman1-2/+56
2014-02-27Optimize final adjustments in Reduce()Peter Dettman1-13/+4
2014-02-27Simplify Twice()Peter Dettman1-7/+3
2014-02-27Add custom curve for secp384r1 (P-384)Peter Dettman7-0/+858
2014-02-27Optimize final adjustments in Reduce()Peter Dettman1-11/+8
2014-02-26Round out the Nat192 methodsPeter Dettman7-20/+275
2014-02-26Add extra arg to AddWord() and add variant of Copy()Peter Dettman2-6/+12
2014-02-26Optimization for custom curve reduction when only a few bits need reducing; u...Peter Dettman15-30/+205
2014-02-26Optimize Sqrt() for custom curve secp224k1Peter Dettman1-2/+87
2014-02-26Refactoring in Sqrt()Peter Dettman1-14/+6
2014-02-26Add custom curve for secp224k1Peter Dettman6-0/+717
2014-02-26Special handling for zero-valued scalarsPeter Dettman1-20/+38
2014-02-25Update release versionPeter Dettman1-1/+1
2014-02-25Refactoring in Sqrt()Peter Dettman1-13/+12
2014-02-25Add custom curve for secp224r1 (P-224)Peter Dettman7-0/+2028
2014-02-25Add new test to regression testsPeter Dettman1-10/+11
2014-02-25Tabs -> spacesPeter Dettman1-4/+4
2014-02-25Port some openpgp updates from Java build for secret keysPeter Dettman5-206/+436
2014-02-25Check a few more points in the encoding testPeter Dettman1-1/+7
2014-02-25Implement the 8m + 5 case from Pocklington's sqrt algorithm (seems to be only...Peter Dettman1-7/+45
2014-02-24Refactoring in Nat* classesPeter Dettman6-101/+99
2014-02-19Tabs -> spacesPeter Dettman1-372/+372
2014-02-19[BMA-87]Peter Dettman2-192/+241
2014-02-19Tabs -> spacesPeter Dettman1-168/+168
2014-02-19Use ToBigInteger() for A/B comparison in curve equalityPeter Dettman1-4/+4
2014-02-18Changes to build system in preparation for beta release release-1.8.0-beta