Skip to content

Commit

Permalink
Missing new MomentChi2 test results
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Mar 7, 2020
1 parent 66c8e10 commit 41f8736
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 15 deletions.
19 changes: 16 additions & 3 deletions doc/sha1ni
Original file line number Diff line number Diff line change
Expand Up @@ -1814,9 +1814,22 @@ Testing collisions (low 8-bit) - Expected 2097152.0, actual 2096896 (1.00x)

[[[ MomentChi2 Tests ]]]

Running 1st unseeded MomentChi2 for the low 32bits/step 6 ... 38918587.522874 - 820829.859046
Running 2nd seeded MomentChi2 for the low 32bits/step 6 ... 38919925.032981 - 821023.136033
KeySeedMomentChi2: 1.08958 PASS
Analyze hashes produced from a serie of linearly increasing numbers of 32-bit, using a step of 6 ...
Target values to approximate : 38918200.000000 - 410450.000000
Popcount 1 stats : 38920760.764996 - 821066.591765
Popcount 0 stats : 38916941.931134 - 820789.645296
MomentChi2 for bits 1 : 5.32475
MomentChi2 for bits 0 : 1.28548

Derivative stats (transition from 2 consecutive values) :
Popcount 1 stats : 38918587.551745 - 820829.857383
Popcount 0 stats : 38917801.311494 - 820707.596446
MomentChi2 for deriv b1 : 0.121984
MomentChi2 for deriv b0 : 0.129108

Good !



[[[ Prng Tests ]]]

Expand Down
19 changes: 16 additions & 3 deletions doc/sha1ni_32
Original file line number Diff line number Diff line change
Expand Up @@ -1055,9 +1055,22 @@ Testing collisions (low 8-bit) - Expected 2097152.0, actual 2096896 (1.00x)

[[[ MomentChi2 Tests ]]]

Running 1st unseeded MomentChi2 for the low 32bits/step 3 ... 1391291.787920 - 1030.997104
Running 2nd seeded MomentChi2 for the low 32bits/step 3 ... 1391273.884458 - 1031.049376
KeySeedMomentChi2: 0.155445 PASS
Analyze hashes produced from a serie of linearly increasing numbers of 32-bit, using a step of 3 ...
Target values to approximate : 1391290.000000 - 1030.900000
Popcount 1 stats : 1391296.098276 - 1030.815270
Popcount 0 stats : 1391232.418177 - 1030.793787
MomentChi2 for bits 1 : 0.0180379
MomentChi2 for bits 0 : 1.60822

Derivative stats (transition from 2 consecutive values) :
Popcount 1 stats : 1391291.787920 - 1030.997104
Popcount 0 stats : 1391330.462586 - 1030.965683
MomentChi2 for deriv b1 : 0.00155035
MomentChi2 for deriv b0 : 0.794048

Great !!



[[[ Prng Tests ]]]

Expand Down
19 changes: 16 additions & 3 deletions doc/sha2ni-256
Original file line number Diff line number Diff line change
Expand Up @@ -2234,9 +2234,22 @@ Testing collisions (low 8-bit) - Expected 2097152.0, actual 2096896 (1.00x)

[[[ MomentChi2 Tests ]]]

Running 1st unseeded MomentChi2 for the low 32bits/step 6 ... 38920214.685689 - 820956.057886
Running 2nd seeded MomentChi2 for the low 32bits/step 6 ... 38918359.420345 - 820798.356440
KeySeedMomentChi2: 2.09654 PASS
Analyze hashes produced from a serie of linearly increasing numbers of 32-bit, using a step of 6 ...
Target values to approximate : 38918200.000000 - 410450.000000
Popcount 1 stats : 38919311.997984 - 820956.408383
Popcount 0 stats : 38918341.826455 - 820870.585366
MomentChi2 for bits 1 : 1.00417
MomentChi2 for bits 0 : 0.0163359

Derivative stats (transition from 2 consecutive values) :
Popcount 1 stats : 38920214.642262 - 820956.058981
Popcount 0 stats : 38917500.290436 - 820819.635335
MomentChi2 for deriv b1 : 3.29606
MomentChi2 for deriv b0 : 0.397633

Great !!



[[[ Prng Tests ]]]

Expand Down
19 changes: 16 additions & 3 deletions doc/sha2ni-256_64
Original file line number Diff line number Diff line change
Expand Up @@ -1444,9 +1444,22 @@ Testing collisions (low 8-bit) - Expected 2097152.0, actual 2096896 (1.00x)

[[[ MomentChi2 Tests ]]]

Running 1st unseeded MomentChi2 for the low 32bits/step 3 ... 38918716.915384 - 410469.688681
Running 2nd seeded MomentChi2 for the low 32bits/step 3 ... 38919363.520143 - 410468.272542
KeySeedMomentChi2: 0.509293 PASS
Analyze hashes produced from a serie of linearly increasing numbers of 32-bit, using a step of 3 ...
Target values to approximate : 38918200.000000 - 410450.000000
Popcount 1 stats : 38917697.365143 - 410388.832867
Popcount 0 stats : 38919078.850712 - 410438.179128
MomentChi2 for bits 1 : 0.307785
MomentChi2 for bits 0 : 0.940906

Derivative stats (transition from 2 consecutive values) :
Popcount 1 stats : 38918716.930699 - 410469.688451
Popcount 0 stats : 38919055.406377 - 410464.034561
MomentChi2 for deriv b1 : 0.32551
MomentChi2 for deriv b0 : 0.891348

Great !!



[[[ Prng Tests ]]]

Expand Down
19 changes: 16 additions & 3 deletions doc/t1ha0_aes_avx2
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,22 @@ Testing distribution - Worst bias is the 20-bit window at bit 37 - 0.005%

[[[ MomentChi2 Tests ]]]

Running 1st unseeded MomentChi2 for the low 32bits/step 3 ... 38918240.092929 - 410408.739150
Running 2nd seeded MomentChi2 for the low 32bits/step 3 ... 38919701.707172 - 410464.795776
KeySeedMomentChi2: 2.60249 PASS
Analyze hashes produced from a serie of linearly increasing numbers of 32-bit, using a step of 3 ...
Target values to approximate : 38918200.000000 - 410450.000000
Popcount 1 stats : 38919345.153863 - 410505.007953
Popcount 0 stats : 38919102.912540 - 410474.499430
MomentChi2 for bits 1 : 1.59738
MomentChi2 for bits 0 : 0.993089

Derivative stats (transition from 2 consecutive values) :
Popcount 1 stats : 38918240.082567 - 410408.739255
Popcount 0 stats : 38918845.619489 - 410432.672756
MomentChi2 for deriv b1 : 0.00195723
MomentChi2 for deriv b0 : 0.507776

Great !!



[[[ Keyset 'Text' Tests ]]]

Expand Down

0 comments on commit 41f8736

Please sign in to comment.