August 2017
S M T W T F S
« Nov    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Recent Posts

Linux C++ test driver program, CheckDiceLockIVIndexed-OFB-x, and test vector files to verify DiceLock 9.0.0.1 architecture: DiceLockIVIndexed, output feedback OFB, Serpent 256 and DecreaseBase0IndexModifier 6.0.0.1

DiceLock cipher architecure presents multiple possible configurations, for this reason DiceLock implementation verification has been splitted into different sets.

This verification set selection is based on DiceLock main class options, DiceLockIndexed, DiceLockDigested, DiceLockIVIndexed, DiceLockIVDigested, DiceLockXTSIndexed and DiceLockXTSDigested for Windows and for Linux all of them.

This DiceLock architecture verification is performed with fixed test vector files which are grouped based on the particular C++ test driver program being used.

All these test vectors are used with DiceLock cipher architecture to verify compatibility, and they can be used to port DiceLock-x 9.0.0.1 for Linux to any other language (C, Java, Basic, etc) or operating system (OSX, iOS, Android, AIX, 64 bit systems or others) and to verify backward compatibility of any further development carried out in the future.

In this post we show the key elements to verify DiceLockIVIndexed, output feedback OFB, Serpent 256 and DecreaseBase0IndexModifier 6.0.0.1 making use of CheckDiceLockIVIndexed-OFB-x C++ test driver program and the proper test vector files.

These elements can be found at:
DiceLock-x 9.0.0.1 C++ clases
CheckDiceLockIVIndexed-OFB-x test vector files
DiceLock-x 9.0.0.1 C++ source code links


List of DiceLock-x 9.0.0.1 C++ source code classes upon which CheckDiceLockIVIndexed-OFB-x test driver program relies on are:

– DefaultCryptoRandomStream class (default virtual memory management),
– PhysicalCryptoRandomStream class (memory pages kept in RAM, not swapped to file),
– DiceLockIVIndexed class,
– OFB_Mode class,
– Serpent256 class,
– DecreaseBase0IndexModifier_6_0_0_1 class,
– RandomTestSuite class,
– BlockFrequencyTest class,
– CumulativeSumForwardTest class,
– FrequencyTest class,
– LongestRunOfOnesTest class,
– RunsTest class.


CheckDiceLockIVIndexed-OFB-x Windows program test driver (with the selected options pointed out in this post) works with the following test vector files:

DTV-2-2I1-00-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-01-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-10-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-11-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-20-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-21-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-30-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-31-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-40-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-41-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-42-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-43-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-50-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-51-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-52-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-53-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-60-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-61-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-62-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-63-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-70-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-71-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-72-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-73-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-8s-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log
DTV-2-2I1-9x-DiceLockIVIndexed-OFB-Serpent-256-DecreaseBase0IndexModifier-6.0.0.1-RandomTestSuite-Freq-BlockFreq-CuSumF-LongestRun-Runs.log


The list of DiceLock-x 9.0.0.1 C++ source code file (with proper hyperlinks) upon which CheckDiceLockIVIndexed-OFB-x test driver relies on:

DiceLock-x 9.0.0.1 for Linux

DiceLockCipher.h
cryptoRandomStreams.h
baseCryptoRandomStream.h
baseCryptoRandomStream.cpp
defaultCryptoRandomStream.h
defaultCryptoRandomStream.cpp
physicalCryptoRandomStream.h
physicalCryptoRandomStream.cpp
diceLocks.h
DiceLock.h
DiceLock.cpp
DiceLockIV.h
DiceLockIV.cpp
DiceLockIVIndexed.h
DiceLockIVIndexed.cpp
symmetricCiphers.h
baseSymmetricCipher.h
baseSymmetricCipher.cpp
symmetricStreamers.h
symmetricStreamerSpecialTypes.h
baseSymmetricStreamer.h
baseSymmetricStreamer.cpp
blockCipherOperationModes.h
baseBlockCipherOperationMode_with_IV.h
baseBlockCipherOperationMode_with_IV.cpp
OFB_Mode.h
OFB_Mode.cpp
blockCiphers.h
baseBlockCipher.h
baseBlockCipher.cpp
baseSerpent.h
baseSerpent.cpp
serpent256.h
serpent256.cpp
baseIndexModifier.h
baseIndexModifier.cpp
arithmeticFunctions.h
arithmeticFunctions.cpp
decreaseBase0IndexModifier_6_0_0_1.h
decreaseBase0IndexModifier_6_0_0_1.cpp
randomTests.h
randomTestErrors.h
baseRandomTest.h
baseRandomTest.cpp
mathematicalErrors.h
mathematicalFunctions.h
mathematicalFunctions.cpp
blockFrequencyTest.h
blockFrequencyTest.cpp
cumulativeSumForwardTest.h
cumulativeSumForwardTest.cpp
frequencyTest.h
frequencyTest.cpp
longestRunOfOnesTest.h
longestRunOfOnesTest.cpp
runsTest.h
runsTest.cpp
randomTestSuite.h
randomTestSuite.cpp

1 comment to Linux C++ test driver program, CheckDiceLockIVIndexed-OFB-x, and test vector files to verify DiceLock 9.0.0.1 architecture: DiceLockIVIndexed, output feedback OFB, Serpent 256 and DecreaseBase0IndexModifier 6.0.0.1