-
Notifications
You must be signed in to change notification settings - Fork 9
Project CAESAR (configuration)
Karel Kubicek edited this page Mar 2, 2018
·
1 revision
Configuration settings for CAESAR project in EACirc:
-
CAESAR
-
USAGE_TYPE
determines how to use CAESAR project
301: distinguisher mode - tries to evaluate distinguisher between 2 streams of data -
ALGORITHM
algorithm to use (see table of CAESAR candidates) -
LIMIT_NUM_OF_ROUNDS
1: algorithms will run only a limited number of rounds
0: algorithms will run unrestrained, i.e. as originally designed -
ALGORITHM_ROUNDS
number of rounds for the chosen algorithm (if limited) -
PLAINTEXT_LENGTH
number of bytes used as plaintext -
AD_LENGTH
number of bytes used as associated data -
PLAINTEXT_TYPE
structure of the plaintext used
0: zeroes - binary zeroes
1: random once - random at cipher initialization, reused for other test vectors
2: counter - zero-initialized counter incremented by 1
3: random - random stream -
KEY_TYPE
structure of the key used -- same options as PLAINTEXT_TYPE -
AD_TYPE
structure of the associated data used -- same options as PLAINTEXT_TYPE -
SMN_TYPE
structure of the secret message number used -- same options as PLAINTEXT_TYPE -
PMN_TYPE
structure of the public message number used -- same options as PLAINTEXT_TYPE -
GENERATE_STREAM
0: normal mode
1: data stream generation mode - generate stream of data according to settings (used for statistical testing, e.g. Dieharder) Data will be saved to file.
Note: This mode breaks the consistency of generators and therefore prevents the evolution from starting after finishing stream generation. -
STREAM_SIZE
0: generate unlimited stream (is sent to cout instead of file)
n: minimal size of generated stream (in bytes, saved to file)
Note: This directive is considered only if GENERATE_STREAM=1.
-
USAGE_TYPE
Getting started
Building notes
Running notes
Recommended scenarios
Configuration file structure
Developer notes
Framework components
Submodules
Third party libraries
Coding guide
Testing
Known bugs
User notes
List of streams
Block ciphers
Stream ciphers
Hash functions
PRNGs
WIP CAESAR
Useful links