Skip to content

Config file structure

Karel Kubicek edited this page Mar 2, 2018 · 6 revisions

Exemplary config file:

{
    "notes" : "AES three rounds with basic setup",
    "seed" : "1fe40505e131963c",
    "tv-size" : 16,
    "tv-count" : 1000,
    "stream" : {
        "type" : "block",
        "generator" : "pcg32",
        "init-frequency" : "only-once",
        "algorithm" : "AES",
        "round" : 3,
        "block-size" : 16,
        "plaintext" : {
            "type" : "counter"
        },
        "key-size" : 16,
        "key" : {
            "type" : "pcg32-stream"
        },
        "mode" : "ECB",
        "iv" : {
            "type" : "false-stream"
        }
    }
 }

Stream-specific settings are added separate subtrees linked to the root element. Their structure is described in stream documentation.

  • notes developer notes (only descriptive)
  • seed hexadecimal string value of seed to use. EACirc have to be seeded with 64-bits values, i.e. "1fe40505e131963c"
    seed value can be null for random seed computations (common settings, if you do not need experiment reproduction)
  • significance-level critical value alpha for KS test in the end of computation
  • tv-size number of test vectors in a test set (per set)
  • stream-a