11target :
22 target_type : chip
33 fw_bin : " ../objs/sca_ujson_chip_signed.img"
4+ opentitantool : " ../objs/opentitantool"
5+ # You can specify the port or leave it empty to find it automatically.
46 target_clk_mult : 1
57 target_freq : 100000000
68 baudrate : 115200
7- output_len_bytes : 16
8- protocol : " ujson"
9- port : " /dev/ttyUSB1"
109waverunner :
1110 waverunner_ip : 192.168.33.128
12- num_segments : 20
1311 # cycles will only be used if not given in samples
1412 num_cycles : 160
1513 offset_cycles : 115
@@ -18,37 +16,52 @@ waverunner:
1816 channel : C1
1917 sparsing : 0
2018capture :
21- scope_select : waverunner
22- num_traces : 60
19+ # scope_select: husky, waverunner, none
20+ scope_select : none
21+ num_segments : 20
22+ num_traces : 500
2323 show_plot : True
2424 plot_traces : 10
25+ # trace_db: cw
2526 trace_db : ot_trace_library
2627 trace_threshold : 10000
27- # trace_db: cw
2828test :
29- # which_test: hmac_batch_random
30- # which_test: hmac_batch_fvsr
31- # which_test: hmac_random
32- which_test : hmac_fvsr
33- key_len_bytes : 32
29+ # which_test: single
30+ # which_test: random
31+ # which_test: data_fvsr
32+ # which_test: daisy_chain
33+ which_test : single
3434 key_fixed : [0x81, 0x1E, 0x37, 0x31, 0xB0, 0x12, 0x0A, 0x78, 0x42, 0x78, 0x1E,
3535 0x22, 0xB2, 0x5C, 0xDD, 0xF9, 0x81, 0x1E, 0x37, 0x31, 0xB0, 0x12,
3636 0x0A, 0x78, 0x42, 0x78, 0x1E, 0x22, 0xB2, 0x5C, 0xDD, 0xF9]
37- msg_len_bytes : 16
3837 text_fixed : [0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA]
3938 # seed for PRNG to generate sequence of messages, and keys; Python random
4039 # class on host, Mersenne twister implementation on OT SW.
4140 batch_prng_seed : 0
4241 # Trigger configuration.
43- start_trigger : False
44- msg_trigger : False
45- process_trigger : True
46- finish_trigger : False
47- # When True, the instruction cache is enabled.
48- enable_icache : True
49- # When True, the dummy instructions are enabled.
50- enable_dummy_instr : False
51- # When True, enable the jittery clock.
52- enable_jittery_clock : False
53- # When True, enable the SRAM readback feature.
54- sram_readback_enable : False
42+ # 0 = start_trigger, 1 = msg_trigger, 2 = process_trigger, 3 = finish_trigger
43+ trigger : 0
44+ core_config : {
45+ " enable_icache " : True,
46+ " enable_dummy_instr " : True,
47+ " dummy_instr_count " : 3,
48+ " enable_jittery_clock " : True,
49+ " enable_sram_readback " : True,
50+ " enable_data_ind_timing " : True,
51+ }
52+ sensor_config : {
53+ " sensor_ctrl_enable " : True,
54+ " sensor_ctrl_en_fatal " : [
55+ False,
56+ False,
57+ False,
58+ False,
59+ False,
60+ False,
61+ False,
62+ False,
63+ False,
64+ False,
65+ False,
66+ ],
67+ }
0 commit comments