tests completed

This commit is contained in:
git@daemon.de
2015-10-03 16:16:39 +02:00
parent ae9b4c4807
commit 73f3cd65e8
4 changed files with 221 additions and 343 deletions

View File

@@ -71,87 +71,7 @@ I encrypted the GPLv3 contents using the key "1". To compare,
I encrypted the same file with AES-256-CBC using the same
passphrase.
### Check using analyze.c
My own measurement, see analyze.c:
File size: 10240000 bytes
Char distribution: 99.609375%
Char redundancy: 0.390625%
Char entropy: 7.999984 bits/char
Compression rate: 0.000000% (10240000 => 10243131 bytes)
For comparision, AES result:
File size: 35168 bytes
Char distribution: 100.000000%
Char redundancy: 0.000000%
Char entropy: 7.994892 bits/char
Compression rate: 0.000000% (35168 => 35189 bytes)
## Check using ent
(ent from http://www.fourmilab.ch/random/):
Entropy = 7.999984 bits per byte.
Optimum compression would reduce the size
of this 10240000 byte file by 0 percent.
Chi square distribution for 10240000 samples is 221.67, and randomly
would exceed this value 93.52 percent of the times.
Arithmetic mean value of data bytes is 127.4901 (127.5 = random).
Monte Carlo value for Pi is 3.142712165 (error 0.04 percent).
Serial correlation coefficient is -0.000012 (totally uncorrelated = 0.0).
For comparision, AES result:
Entropy = 7.994892 bits per byte.
Optimum compression would reduce the size
of this 35168 byte file by 0 percent.
Chi square distribution for 35168 samples is 250.98, and randomly
would exceed this value 55.94 percent of the times.
Arithmetic mean value of data bytes is 127.8717 (127.5 = random).
Monte Carlo value for Pi is 3.151680601 (error 0.32 percent).
Serial correlation coefficient is 0.002014 (totally uncorrelated = 0.0).
## Check using dieharder
I ran the cipher against the dieharder test suite this way:
dd if=/dev/zero of=/dev/stdout | ./twenty4 00000000000000000001 | dieharder -g 200 -a
Find the results in analyze/dieharder160.log
## Output test
- same clear text slightly different key
IN: 111111111111, KEY: 00000000000000000001, NONCE: 1, OUT: 8201 cedd ec74 f55b f6a8 a7eb
IN: 111111111111, KEY: 00000000000000000002, NONCE: 2, OUT: 964d 0939 cf94 a158 a259 ff4e
IN: 111111111111, KEY: 00000000000000000003, NONCE: 3, OUT: db9a 4e08 9ac8 3297 6457 b8aa
IN: 111111111111, KEY: 00000000000000000004, NONCE: 4, OUT: 4946 2ce3 fd4a f4e8 95aa 985a
IN: 111111111111, KEY: 00000000000000000005, NONCE: 5, OUT: 5f5f 4eaf c0d2 4363 9b18 2eb4
IN: 111111111111, KEY: 00000000000000000006, NONCE: 6, OUT: e8df deb7 2afe 3783 98d6 8c3f
IN: 111111111111, KEY: 00000000000000000007, NONCE: 7, OUT: 6e3a 27d5 06ed eeca ad3b e7c0
IN: 111111111111, KEY: 00000000000000000008, NONCE: 8, OUT: 1c31 4f9b 58d4 1cbd c0cd 0885
- same key, slightly different clear text
IN: 111111111111, KEY: 00000000000000000001, NONCE: 1, OUT: 8201 cedd ec74 f55b f6a8 a7eb
IN: 111111111112, KEY: 00000000000000000001, NONCE: 2, OUT: 031c 6a54 b299 dcc1 5726 57e4
IN: 111111111113, KEY: 00000000000000000001, NONCE: 3, OUT: cd12 a615 1ce0 6b95 3ca8 d4b7
IN: 111111111114, KEY: 00000000000000000001, NONCE: 4, OUT: 4a6e a49f e68b 4fe7 61ac 4642
IN: 111111111115, KEY: 00000000000000000001, NONCE: 5, OUT: 999f 44a0 f563 1c06 64d1 e710
IN: 111111111116, KEY: 00000000000000000001, NONCE: 6, OUT: 92d0 e5e0 67c4 0076 c3d7 4130
IN: 111111111117, KEY: 00000000000000000001, NONCE: 7, OUT: f6c2 59fd bdd0 2298 9975 3757
IN: 111111111118, KEY: 00000000000000000001, NONCE: 8, OUT: 830b 63d4 15f9 fb41 3cd3 0c62
For results look in analyze/TESTLOG.md.
So, all those checks don't look that bad, but of course this doesn't
say much about TWENTY4/160's security. However, not THAT bad for the first cipher :)

220
analyze/TESTLOG.md Normal file
View File

@@ -0,0 +1,220 @@
## Varous tests on the cipher
Last updated on Fri Oct 2 18:49:26 2015
### Crypto test
% make test
sha256 LICENSE | cut -f 4 -d ' ' > .xsum
cat LICENSE | ./twenty4 123456trewqasdfgbvcx X > .xenc
cat .xenc | ./twenty4 123456trewqasdfgbvcx X > .xdec
sha256 .xdec | cut -f 4 -d ' ' > .xnsum
if test "x`cat .xsum`" = "x`cat .xnsum`"; then echo OK; else echo FAIL; fi
OK
### Variance/Diffusion test
same clear text slightly different key:
IN: 111111111111, KEY: 00000000000000000001, NONCE: 1, OUT: 0a0e 802c dd87 e04c 5247 11ee
IN: 111111111111, KEY: 00000000000000000002, NONCE: 2, OUT: 4f31 b7ed 9670 2fb3 d0e0 8ab2
IN: 111111111111, KEY: 00000000000000000003, NONCE: 3, OUT: cc63 a54f 75a3 2f3f 253f 0da8
IN: 111111111111, KEY: 00000000000000000004, NONCE: 4, OUT: 9f1d 2052 73cd 4952 59ec 30ae
IN: 111111111111, KEY: 00000000000000000005, NONCE: 5, OUT: 0628 1196 cf34 28fc 254f 5e3a
IN: 111111111111, KEY: 00000000000000000006, NONCE: 6, OUT: 41ec 47e3 6629 2de4 c8eb 9d1b
IN: 111111111111, KEY: 00000000000000000007, NONCE: 7, OUT: 1b29 3fae 61e3 f7dd 2fd3 9299
IN: 111111111111, KEY: 00000000000000000008, NONCE: 8, OUT: de29 89f7 3200 f9ae 46b1 915f
same key, slightly different clear text:
IN: 111111111111, KEY: 00000000000000000001, NONCE: 1, OUT: 0a0e 802c dd87 e04c 5247 11ee
IN: 111111111112, KEY: 00000000000000000001, NONCE: 2, OUT: 97e3 f661 0ba6 2cc6 06e6 8960
IN: 111111111113, KEY: 00000000000000000001, NONCE: 3, OUT: 88f3 5f69 3c48 f098 188a 4e60
IN: 111111111114, KEY: 00000000000000000001, NONCE: 4, OUT: c552 112c 145b 89c5 1ef1 7993
IN: 111111111115, KEY: 00000000000000000001, NONCE: 5, OUT: f14c dc4f 5353 0856 1646 27ef
IN: 111111111116, KEY: 00000000000000000001, NONCE: 6, OUT: 23d7 871e 3b24 a1f2 a85e 9b61
IN: 111111111117, KEY: 00000000000000000001, NONCE: 7, OUT: 8654 a2ba 9c5f 6b8b 798e 100d
IN: 111111111118, KEY: 00000000000000000001, NONCE: 8, OUT: 1036 cf47 b636 5cd7 17fc ea50
### Check using analyze.c on 10Mb file containing zeros
File size: 10240000 bytes
Char distribution: 100.000000%
Char redundancy: 0.000000%
Char entropy: 7.999982 bits/char
Compression rate: 0.000000% (10240000 => 10243131 bytes)
For comparision, AES result:
File size: 10240032 bytes
Char distribution: 100.000000%
Char redundancy: 0.000000%
Char entropy: 7.999981 bits/char
Compression rate: 0.000000% (10240032 => 10243163 bytes)
### Check using 'ent'
(see http://www.fourmilab.ch/random/)
Entropy = 7.999982 bits per byte.
Optimum compression would reduce the size
of this 10240000 byte file by 0 percent.
Chi square distribution for 10240000 samples is 248.61, and randomly
would exceed this value 60.09 percent of the times.
Arithmetic mean value of data bytes is 127.5026 (127.5 = random).
Monte Carlo value for Pi is 3.142529353 (error 0.03 percent).
Serial correlation coefficient is 0.000282 (totally uncorrelated = 0.0).
For comparision, AES result:
Entropy = 7.999981 bits per byte.
Optimum compression would reduce the size
of this 10240032 byte file by 0 percent.
Chi square distribution for 10240032 samples is 274.74, and randomly
would exceed this value 18.90 percent of the times.
Arithmetic mean value of data bytes is 127.4883 (127.5 = random).
Monte Carlo value for Pi is 3.142633148 (error 0.03 percent).
Serial correlation coefficient is -0.000300 (totally uncorrelated = 0.0).
### Check using dieharder
I ran the cipher against the dieharder test suite this way:
dd if=/dev/zero of=/dev/stdout | ./twenty4 00000000000000000001 1 | dieharder -g 200 -a
Output:
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name |rands/second| Seed |
stdin_input_raw| 2.58e+06 |1513597900|
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.44405548| PASSED
diehard_operm5| 0| 1000000| 100|0.41968438| PASSED
diehard_rank_32x32| 0| 40000| 100|0.94128457| PASSED
diehard_rank_6x8| 0| 100000| 100|0.46413251| PASSED
diehard_bitstream| 0| 2097152| 100|0.18988778| PASSED
diehard_opso| 0| 2097152| 100|0.30907373| PASSED
diehard_oqso| 0| 2097152| 100|0.36684547| PASSED
diehard_dna| 0| 2097152| 100|0.72800518| PASSED
diehard_count_1s_str| 0| 256000| 100|0.18190762| PASSED
diehard_count_1s_byt| 0| 256000| 100|0.97344107| PASSED
diehard_parking_lot| 0| 12000| 100|0.63285114| PASSED
diehard_2dsphere| 2| 8000| 100|0.89270394| PASSED
diehard_3dsphere| 3| 4000| 100|0.84607328| PASSED
diehard_squeeze| 0| 100000| 100|0.00916101| PASSED
diehard_sums| 0| 100| 100|0.53013221| PASSED
diehard_runs| 0| 100000| 100|0.52209635| PASSED
diehard_runs| 0| 100000| 100|0.86136907| PASSED
diehard_craps| 0| 200000| 100|0.41829511| PASSED
diehard_craps| 0| 200000| 100|0.97778963| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.02910980| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.95391085| PASSED
sts_monobit| 1| 100000| 100|0.48843210| PASSED
sts_runs| 2| 100000| 100|0.33161487| PASSED
sts_serial| 1| 100000| 100|0.43813666| PASSED
sts_serial| 2| 100000| 100|0.37539053| PASSED
sts_serial| 3| 100000| 100|0.61308717| PASSED
sts_serial| 3| 100000| 100|0.97040715| PASSED
sts_serial| 4| 100000| 100|0.00472683| WEAK
sts_serial| 4| 100000| 100|0.07425392| PASSED
sts_serial| 5| 100000| 100|0.52552345| PASSED
sts_serial| 5| 100000| 100|0.10458291| PASSED
sts_serial| 6| 100000| 100|0.60383631| PASSED
sts_serial| 6| 100000| 100|0.95466429| PASSED
sts_serial| 7| 100000| 100|0.91083199| PASSED
sts_serial| 7| 100000| 100|0.76069249| PASSED
sts_serial| 8| 100000| 100|0.98844871| PASSED
sts_serial| 8| 100000| 100|0.80973493| PASSED
sts_serial| 9| 100000| 100|0.95319391| PASSED
sts_serial| 9| 100000| 100|0.92051699| PASSED
sts_serial| 10| 100000| 100|0.88609114| PASSED
sts_serial| 10| 100000| 100|0.77025807| PASSED
sts_serial| 11| 100000| 100|0.90999930| PASSED
sts_serial| 11| 100000| 100|0.97842039| PASSED
sts_serial| 12| 100000| 100|0.37609901| PASSED
sts_serial| 12| 100000| 100|0.10481537| PASSED
sts_serial| 13| 100000| 100|0.22822077| PASSED
sts_serial| 13| 100000| 100|0.66019102| PASSED
sts_serial| 14| 100000| 100|0.26002872| PASSED
sts_serial| 14| 100000| 100|0.87881975| PASSED
sts_serial| 15| 100000| 100|0.42922502| PASSED
sts_serial| 15| 100000| 100|0.68487544| PASSED
sts_serial| 16| 100000| 100|0.58656170| PASSED
sts_serial| 16| 100000| 100|0.53290142| PASSED
rgb_bitdist| 1| 100000| 100|0.51900504| PASSED
rgb_bitdist| 2| 100000| 100|0.79584778| PASSED
rgb_bitdist| 3| 100000| 100|0.61693742| PASSED
rgb_bitdist| 4| 100000| 100|0.98138944| PASSED
rgb_bitdist| 5| 100000| 100|0.79680743| PASSED
rgb_bitdist| 6| 100000| 100|0.40301904| PASSED
rgb_bitdist| 7| 100000| 100|0.86271738| PASSED
rgb_bitdist| 8| 100000| 100|0.05374503| PASSED
rgb_bitdist| 9| 100000| 100|0.87172406| PASSED
rgb_bitdist| 10| 100000| 100|0.75492489| PASSED
rgb_bitdist| 11| 100000| 100|0.36375640| PASSED
rgb_bitdist| 12| 100000| 100|0.97870218| PASSED
rgb_minimum_distance| 2| 10000| 1000|0.64644256| PASSED
rgb_minimum_distance| 3| 10000| 1000|0.35176212| PASSED
rgb_minimum_distance| 4| 10000| 1000|0.81882879| PASSED
rgb_minimum_distance| 5| 10000| 1000|0.59290965| PASSED
rgb_permutations| 2| 100000| 100|0.52393977| PASSED
rgb_permutations| 3| 100000| 100|0.29814762| PASSED
rgb_permutations| 4| 100000| 100|0.29601751| PASSED
rgb_permutations| 5| 100000| 100|0.93920367| PASSED
rgb_lagged_sum| 0| 1000000| 100|0.85678805| PASSED
rgb_lagged_sum| 1| 1000000| 100|0.76026887| PASSED
rgb_lagged_sum| 2| 1000000| 100|0.97506899| PASSED
rgb_lagged_sum| 3| 1000000| 100|0.75520196| PASSED
rgb_lagged_sum| 4| 1000000| 100|0.39924791| PASSED
rgb_lagged_sum| 5| 1000000| 100|0.99498131| PASSED
rgb_lagged_sum| 6| 1000000| 100|0.76423409| PASSED
rgb_lagged_sum| 7| 1000000| 100|0.37518368| PASSED
rgb_lagged_sum| 8| 1000000| 100|0.32518164| PASSED
rgb_lagged_sum| 9| 1000000| 100|0.29782458| PASSED
rgb_lagged_sum| 10| 1000000| 100|0.33222498| PASSED
rgb_lagged_sum| 11| 1000000| 100|0.28793810| PASSED
rgb_lagged_sum| 12| 1000000| 100|0.75475293| PASSED
rgb_lagged_sum| 13| 1000000| 100|0.90549286| PASSED
rgb_lagged_sum| 14| 1000000| 100|0.75601003| PASSED
rgb_lagged_sum| 15| 1000000| 100|0.77940074| PASSED
rgb_lagged_sum| 16| 1000000| 100|0.65667602| PASSED
rgb_lagged_sum| 17| 1000000| 100|0.40248634| PASSED
rgb_lagged_sum| 18| 1000000| 100|0.61395852| PASSED
rgb_lagged_sum| 19| 1000000| 100|0.57327052| PASSED
rgb_lagged_sum| 20| 1000000| 100|0.16561333| PASSED
rgb_lagged_sum| 21| 1000000| 100|0.39929834| PASSED
rgb_lagged_sum| 22| 1000000| 100|0.49704905| PASSED
rgb_lagged_sum| 23| 1000000| 100|0.98204460| PASSED
rgb_lagged_sum| 24| 1000000| 100|0.69626086| PASSED
rgb_lagged_sum| 25| 1000000| 100|0.11607617| PASSED
rgb_lagged_sum| 26| 1000000| 100|0.13345423| PASSED
rgb_lagged_sum| 27| 1000000| 100|0.47597394| PASSED
rgb_lagged_sum| 28| 1000000| 100|0.20637857| PASSED
rgb_lagged_sum| 29| 1000000| 100|0.99168483| PASSED
rgb_lagged_sum| 30| 1000000| 100|0.63085174| PASSED
rgb_lagged_sum| 31| 1000000| 100|0.74058543| PASSED
rgb_lagged_sum| 32| 1000000| 100|0.51943588| PASSED
rgb_kstest_test| 0| 10000| 1000|0.98352339| PASSED
dab_bytedistrib| 0| 51200000| 1|0.76481752| PASSED
dab_dct| 256| 50000| 1|0.50340138| PASSED
Preparing to run test 207. ntuple = 0
dab_filltree| 32| 15000000| 1|0.54182883| PASSED
dab_filltree| 32| 15000000| 1|0.08567872| PASSED
Preparing to run test 208. ntuple = 0
dab_filltree2| 0| 5000000| 1|0.20297371| PASSED
dab_filltree2| 1| 5000000| 1|0.17653315| PASSED
Preparing to run test 209. ntuple = 0
dab_monobit2| 12| 65000000| 1|0.41951689| PASSED

View File

@@ -1,126 +0,0 @@
% cat /dev/zero | ./twenty4 0x01 e | dieharder -g 200 -a
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name |rands/second| Seed |
stdin_input_raw| 6.82e+05 |1515115156|
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.66702401| PASSED
diehard_operm5| 0| 1000000| 100|0.66534937| PASSED
diehard_rank_32x32| 0| 40000| 100|0.64395558| PASSED
diehard_rank_6x8| 0| 100000| 100|0.73972650| PASSED
diehard_bitstream| 0| 2097152| 100|0.37109308| PASSED
diehard_opso| 0| 2097152| 100|0.61131814| PASSED
diehard_oqso| 0| 2097152| 100|0.78775192| PASSED
diehard_dna| 0| 2097152| 100|0.34538786| PASSED
diehard_count_1s_str| 0| 256000| 100|0.39973600| PASSED
diehard_count_1s_byt| 0| 256000| 100|0.43596185| PASSED
diehard_parking_lot| 0| 12000| 100|0.82562887| PASSED
diehard_2dsphere| 2| 8000| 100|0.89930428| PASSED
diehard_3dsphere| 3| 4000| 100|0.75039182| PASSED
diehard_squeeze| 0| 100000| 100|0.84575916| PASSED
diehard_sums| 0| 100| 100|0.17887215| PASSED
diehard_runs| 0| 100000| 100|0.27394031| PASSED
diehard_runs| 0| 100000| 100|0.38358466| PASSED
diehard_craps| 0| 200000| 100|0.46344932| PASSED
diehard_craps| 0| 200000| 100|0.90279468| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.86230982| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.71786320| PASSED
sts_monobit| 1| 100000| 100|0.95022673| PASSED
sts_runs| 2| 100000| 100|0.97598338| PASSED
sts_serial| 1| 100000| 100|0.91209013| PASSED
sts_serial| 2| 100000| 100|0.76413978| PASSED
sts_serial| 3| 100000| 100|0.47828005| PASSED
sts_serial| 3| 100000| 100|0.89677063| PASSED
sts_serial| 4| 100000| 100|0.99879068| WEAK
sts_serial| 4| 100000| 100|0.93262189| PASSED
sts_serial| 5| 100000| 100|0.97585634| PASSED
sts_serial| 5| 100000| 100|0.50478610| PASSED
sts_serial| 6| 100000| 100|0.08698163| PASSED
sts_serial| 6| 100000| 100|0.03039228| PASSED
sts_serial| 7| 100000| 100|0.62431435| PASSED
sts_serial| 7| 100000| 100|0.74890431| PASSED
sts_serial| 8| 100000| 100|0.87532744| PASSED
sts_serial| 8| 100000| 100|0.91641753| PASSED
sts_serial| 9| 100000| 100|0.11259928| PASSED
sts_serial| 9| 100000| 100|0.04014422| PASSED
sts_serial| 10| 100000| 100|0.18509222| PASSED
sts_serial| 10| 100000| 100|0.91447809| PASSED
sts_serial| 11| 100000| 100|0.51473918| PASSED
sts_serial| 11| 100000| 100|0.38194660| PASSED
sts_serial| 12| 100000| 100|0.08996905| PASSED
sts_serial| 12| 100000| 100|0.72068305| PASSED
sts_serial| 13| 100000| 100|0.06321140| PASSED
sts_serial| 13| 100000| 100|0.83106256| PASSED
sts_serial| 14| 100000| 100|0.08691687| PASSED
sts_serial| 14| 100000| 100|0.36681587| PASSED
sts_serial| 15| 100000| 100|0.10396429| PASSED
sts_serial| 15| 100000| 100|0.10353726| PASSED
sts_serial| 16| 100000| 100|0.98923097| PASSED
sts_serial| 16| 100000| 100|0.58151255| PASSED
rgb_bitdist| 1| 100000| 100|0.83179852| PASSED
rgb_bitdist| 2| 100000| 100|0.13343241| PASSED
rgb_bitdist| 3| 100000| 100|0.64851901| PASSED
rgb_bitdist| 4| 100000| 100|0.27381896| PASSED
rgb_bitdist| 5| 100000| 100|0.53255869| PASSED
rgb_bitdist| 6| 100000| 100|0.23874740| PASSED
rgb_bitdist| 7| 100000| 100|0.24395463| PASSED
rgb_bitdist| 8| 100000| 100|0.32082061| PASSED
rgb_bitdist| 9| 100000| 100|0.23675202| PASSED
rgb_bitdist| 10| 100000| 100|0.14315574| PASSED
rgb_bitdist| 11| 100000| 100|0.49355287| PASSED
rgb_bitdist| 12| 100000| 100|0.94148332| PASSED
rgb_minimum_distance| 2| 10000| 1000|0.90096962| PASSED
rgb_minimum_distance| 3| 10000| 1000|0.40166302| PASSED
rgb_minimum_distance| 4| 10000| 1000|0.39664349| PASSED
rgb_minimum_distance| 5| 10000| 1000|0.33642569| PASSED
rgb_permutations| 2| 100000| 100|0.69292329| PASSED
rgb_permutations| 3| 100000| 100|0.26000392| PASSED
rgb_permutations| 4| 100000| 100|0.98030683| PASSED
rgb_permutations| 5| 100000| 100|0.36223930| PASSED
rgb_lagged_sum| 0| 1000000| 100|0.11113853| PASSED
rgb_lagged_sum| 1| 1000000| 100|0.77935325| PASSED
rgb_lagged_sum| 2| 1000000| 100|0.77721610| PASSED
rgb_lagged_sum| 3| 1000000| 100|0.82307605| PASSED
rgb_lagged_sum| 4| 1000000| 100|0.03644586| PASSED
rgb_lagged_sum| 5| 1000000| 100|0.66058445| PASSED
rgb_lagged_sum| 6| 1000000| 100|0.58785549| PASSED
rgb_lagged_sum| 7| 1000000| 100|0.49955974| PASSED
rgb_lagged_sum| 8| 1000000| 100|0.69106353| PASSED
rgb_lagged_sum| 9| 1000000| 100|0.70361764| PASSED
rgb_lagged_sum| 10| 1000000| 100|0.30173719| PASSED
rgb_lagged_sum| 11| 1000000| 100|0.85554929| PASSED
rgb_lagged_sum| 12| 1000000| 100|0.27246327| PASSED
rgb_lagged_sum| 13| 1000000| 100|0.88260425| PASSED
rgb_lagged_sum| 14| 1000000| 100|0.63519490| PASSED
rgb_lagged_sum| 15| 1000000| 100|0.82192024| PASSED
rgb_lagged_sum| 16| 1000000| 100|0.44669473| PASSED
rgb_lagged_sum| 17| 1000000| 100|0.54589530| PASSED
rgb_lagged_sum| 18| 1000000| 100|0.54788412| PASSED
rgb_lagged_sum| 19| 1000000| 100|0.69862386| PASSED
rgb_lagged_sum| 20| 1000000| 100|0.11040733| PASSED
rgb_lagged_sum| 21| 1000000| 100|0.48511696| PASSED
rgb_lagged_sum| 22| 1000000| 100|0.86570587| PASSED
rgb_lagged_sum| 23| 1000000| 100|0.30541569| PASSED
rgb_lagged_sum| 24| 1000000| 100|0.78320483| PASSED
rgb_lagged_sum| 25| 1000000| 100|0.35409569| PASSED
rgb_lagged_sum| 26| 1000000| 100|0.56956770| PASSED
rgb_lagged_sum| 27| 1000000| 100|0.58603441| PASSED
rgb_lagged_sum| 28| 1000000| 100|0.31877864| PASSED
rgb_lagged_sum| 29| 1000000| 100|0.60119378| PASSED
rgb_lagged_sum| 30| 1000000| 100|0.40966142| PASSED
rgb_lagged_sum| 31| 1000000| 100|0.35013332| PASSED
rgb_lagged_sum| 32| 1000000| 100|0.70995085| PASSED
rgb_kstest_test| 0| 10000| 1000|0.13663827| PASSED
dab_bytedistrib| 0| 51200000| 1|0.50308151| PASSED
dab_dct| 256| 50000| 1|0.50376390| PASSED
Preparing to run test 207. ntuple = 0
dab_filltree| 32| 15000000| 1|0.30158012| PASSED
dab_filltree| 32| 15000000| 1|0.66046482| PASSED
Preparing to run test 208. ntuple = 0
dab_filltree2| 0| 5000000| 1|0.41413034| PASSED
dab_filltree2| 1| 5000000| 1|0.93892964| PASSED
Preparing to run test 209. ntuple = 0
dab_monobit2| 12| 65000000| 1|0.44041006| PASSED

View File

@@ -1,136 +0,0 @@
Script started on Sun Sep 27 20:45:58 2015
]0;scip@r4:~/D/github/twenty4
[27.Sep 20:45:58] --- [~/D/github/twenty4] ---
scip@r4: % dd if=/dev/zero of=/dev/stdout | ./twenty4 00000000000000000001 | dieharder -g 200 -a
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name |rands/second| Seed |
stdin_input_raw| 2.17e+06 |2834365929|
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.89511749| PASSED
diehard_operm5| 0| 1000000| 100|0.54060893| PASSED
diehard_rank_32x32| 0| 40000| 100|0.96312418| PASSED
diehard_rank_6x8| 0| 100000| 100|0.91214634| PASSED
diehard_bitstream| 0| 2097152| 100|0.58858806| PASSED
diehard_opso| 0| 2097152| 100|0.99914873| WEAK
diehard_oqso| 0| 2097152| 100|0.96479456| PASSED
diehard_dna| 0| 2097152| 100|0.48560398| PASSED
diehard_count_1s_str| 0| 256000| 100|0.13942524| PASSED
diehard_count_1s_byt| 0| 256000| 100|0.63133907| PASSED
diehard_parking_lot| 0| 12000| 100|0.93422463| PASSED
diehard_2dsphere| 2| 8000| 100|0.22546962| PASSED
diehard_3dsphere| 3| 4000| 100|0.55404360| PASSED
diehard_squeeze| 0| 100000| 100|0.04121378| PASSED
diehard_sums| 0| 100| 100|0.06323387| PASSED
diehard_runs| 0| 100000| 100|0.99251349| PASSED
diehard_runs| 0| 100000| 100|0.86614012| PASSED
diehard_craps| 0| 200000| 100|0.97961577| PASSED
diehard_craps| 0| 200000| 100|0.49330404| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.91437096| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.53369804| PASSED
sts_monobit| 1| 100000| 100|0.85130608| PASSED
sts_runs| 2| 100000| 100|0.96474903| PASSED
sts_serial| 1| 100000| 100|0.31143622| PASSED
sts_serial| 2| 100000| 100|0.35534005| PASSED
sts_serial| 3| 100000| 100|0.48027517| PASSED
sts_serial| 3| 100000| 100|0.72681105| PASSED
sts_serial| 4| 100000| 100|0.91718903| PASSED
sts_serial| 4| 100000| 100|0.39041041| PASSED
sts_serial| 5| 100000| 100|0.18616155| PASSED
sts_serial| 5| 100000| 100|0.89704335| PASSED
sts_serial| 6| 100000| 100|0.41522240| PASSED
sts_serial| 6| 100000| 100|0.98282242| PASSED
sts_serial| 7| 100000| 100|0.90639683| PASSED
sts_serial| 7| 100000| 100|0.77208483| PASSED
sts_serial| 8| 100000| 100|0.71228531| PASSED
sts_serial| 8| 100000| 100|0.48054733| PASSED
sts_serial| 9| 100000| 100|0.93567916| PASSED
sts_serial| 9| 100000| 100|0.64589153| PASSED
sts_serial| 10| 100000| 100|0.57191765| PASSED
sts_serial| 10| 100000| 100|0.38568486| PASSED
sts_serial| 11| 100000| 100|0.35719402| PASSED
sts_serial| 11| 100000| 100|0.90896816| PASSED
sts_serial| 12| 100000| 100|0.23347975| PASSED
sts_serial| 12| 100000| 100|0.26663981| PASSED
sts_serial| 13| 100000| 100|0.59444051| PASSED
sts_serial| 13| 100000| 100|0.21104947| PASSED
sts_serial| 14| 100000| 100|0.90848624| PASSED
sts_serial| 14| 100000| 100|0.38656093| PASSED
sts_serial| 15| 100000| 100|0.75548019| PASSED
sts_serial| 15| 100000| 100|0.63505678| PASSED
sts_serial| 16| 100000| 100|0.83801271| PASSED
sts_serial| 16| 100000| 100|0.99977260| WEAK
rgb_bitdist| 1| 100000| 100|0.86128805| PASSED
rgb_bitdist| 2| 100000| 100|0.42893940| PASSED
rgb_bitdist| 3| 100000| 100|0.62965635| PASSED
rgb_bitdist| 4| 100000| 100|0.40392368| PASSED
rgb_bitdist| 5| 100000| 100|0.59078045| PASSED
rgb_bitdist| 6| 100000| 100|0.99121983| PASSED
rgb_bitdist| 7| 100000| 100|0.02541084| PASSED
rgb_bitdist| 8| 100000| 100|0.97994822| PASSED
rgb_bitdist| 9| 100000| 100|0.77115377| PASSED
rgb_bitdist| 10| 100000| 100|0.87949305| PASSED
rgb_bitdist| 11| 100000| 100|0.85640577| PASSED
rgb_bitdist| 12| 100000| 100|0.99363561| PASSED
rgb_minimum_distance| 2| 10000| 1000|0.60787246| PASSED
rgb_minimum_distance| 3| 10000| 1000|0.20361030| PASSED
rgb_minimum_distance| 4| 10000| 1000|0.48857990| PASSED
rgb_minimum_distance| 5| 10000| 1000|0.26362088| PASSED
rgb_permutations| 2| 100000| 100|0.99159776| PASSED
rgb_permutations| 3| 100000| 100|0.86530680| PASSED
rgb_permutations| 4| 100000| 100|0.98506850| PASSED
rgb_permutations| 5| 100000| 100|0.76753052| PASSED
rgb_lagged_sum| 0| 1000000| 100|0.89505741| PASSED
rgb_lagged_sum| 1| 1000000| 100|0.44081793| PASSED
rgb_lagged_sum| 2| 1000000| 100|0.36938570| PASSED
rgb_lagged_sum| 3| 1000000| 100|0.28683679| PASSED
rgb_lagged_sum| 4| 1000000| 100|0.79950778| PASSED
rgb_lagged_sum| 5| 1000000| 100|0.12578927| PASSED
rgb_lagged_sum| 6| 1000000| 100|0.88668196| PASSED
rgb_lagged_sum| 7| 1000000| 100|0.14426996| PASSED
rgb_lagged_sum| 8| 1000000| 100|0.35166977| PASSED
rgb_lagged_sum| 9| 1000000| 100|0.44946149| PASSED
rgb_lagged_sum| 10| 1000000| 100|0.25929311| PASSED
rgb_lagged_sum| 11| 1000000| 100|0.65273522| PASSED
rgb_lagged_sum| 12| 1000000| 100|0.74996648| PASSED
rgb_lagged_sum| 13| 1000000| 100|0.72480776| PASSED
rgb_lagged_sum| 14| 1000000| 100|0.96671037| PASSED
rgb_lagged_sum| 15| 1000000| 100|0.31102935| PASSED
rgb_lagged_sum| 16| 1000000| 100|0.86751423| PASSED
rgb_lagged_sum| 17| 1000000| 100|0.32345980| PASSED
rgb_lagged_sum| 18| 1000000| 100|0.67876718| PASSED
rgb_lagged_sum| 19| 1000000| 100|0.94239365| PASSED
rgb_lagged_sum| 20| 1000000| 100|0.43427579| PASSED
rgb_lagged_sum| 21| 1000000| 100|0.53704258| PASSED
rgb_lagged_sum| 22| 1000000| 100|0.99030198| PASSED
rgb_lagged_sum| 23| 1000000| 100|0.17378187| PASSED
rgb_lagged_sum| 24| 1000000| 100|0.50608072| PASSED
rgb_lagged_sum| 25| 1000000| 100|0.85744929| PASSED
rgb_lagged_sum| 26| 1000000| 100|0.92849927| PASSED
rgb_lagged_sum| 27| 1000000| 100|0.99584362| WEAK
rgb_lagged_sum| 28| 1000000| 100|0.28261026| PASSED
rgb_lagged_sum| 29| 1000000| 100|0.73812339| PASSED
rgb_lagged_sum| 30| 1000000| 100|0.94496705| PASSED
rgb_lagged_sum| 31| 1000000| 100|0.75296095| PASSED
rgb_lagged_sum| 32| 1000000| 100|0.74362154| PASSED
rgb_kstest_test| 0| 10000| 1000|0.54463795| PASSED
dab_bytedistrib| 0| 51200000| 1|0.87837880| PASSED
dab_dct| 256| 50000| 1|0.10304542| PASSED
Preparing to run test 207. ntuple = 0
dab_filltree| 32| 15000000| 1|0.96128817| PASSED
dab_filltree| 32| 15000000| 1|0.35766510| PASSED
Preparing to run test 208. ntuple = 0
dab_filltree2| 0| 5000000| 1|0.72847540| PASSED
dab_filltree2| 1| 5000000| 1|0.57365889| PASSED
Preparing to run test 209. ntuple = 0
dab_monobit2| 12| 65000000| 1|0.21794028| PASSED
You have mail in /var/mail/scip
]0;scip@r4:~/D/github/twenty4
[28.Sep 04:40:40] --- [~/D/github/twenty4] ---
scip@r4: % dd if=/dev/zero of=/dev/stdout | ./twenty4 00000000000000000001 | dieharder -g 200 -a
exit