File tree Expand file tree Collapse file tree
test/tests/fips_test_suite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ pub const ROM_VERSION_PATCH: u16 = 0;
66
77pub const FMC_VERSION_MAJOR : u16 = 1 ;
88pub const FMC_VERSION_MINOR : u16 = 2 ;
9- pub const FMC_VERSION_PATCH : u16 = 1 ;
9+ pub const FMC_VERSION_PATCH : u16 = 2 ;
1010
1111pub const RUNTIME_VERSION_MAJOR : u32 = 1 ;
1212pub const RUNTIME_VERSION_MINOR : u32 = 2 ;
13- pub const RUNTIME_VERSION_PATCH : u32 = 1 ;
13+ pub const RUNTIME_VERSION_PATCH : u32 = 2 ;
1414
1515// ROM Version - 16 bits
1616// Major - 5 bits [15:11]
Original file line number Diff line number Diff line change 55# NOTE: Only the first keys in the vendor config are populated. The keys are
66# copied from image/fake-keys/src/lib.rs.
77
8- fmc_version = 0x881
8+ fmc_version = 0x882
99fmc_svn = 0x0
10- app_version = 0x1020001
10+ app_version = 0x1020002
1111app_svn = 0x0
1212
1313[vendor_config ]
Original file line number Diff line number Diff line change @@ -99,7 +99,12 @@ const RT_EXP_1_2_1: RtExpVals = RtExpVals {
9999 fw_version : 0x0102_0001 , // 1.2.1
100100} ;
101101
102- const RT_EXP_CURRENT : RtExpVals = RtExpVals { ..RT_EXP_1_2_1 } ;
102+ const RT_EXP_1_2_2 : RtExpVals = RtExpVals {
103+ fmc_version : 0x882 , // 1.2.2
104+ fw_version : 0x0102_0002 , // 1.2.2
105+ } ;
106+
107+ const RT_EXP_CURRENT : RtExpVals = RtExpVals { ..RT_EXP_1_2_2 } ;
103108
104109// === Getter implementations ===
105110// TODO: These could be improved
@@ -156,6 +161,7 @@ impl RtExpVals {
156161 "1_1_0" => RT_EXP_1_1_0 ,
157162 "1_2_0" => RT_EXP_1_2_0 ,
158163 "1_2_1" => RT_EXP_1_2_1 ,
164+ "1_2_2" => RT_EXP_1_2_2 ,
159165 _ => panic ! (
160166 "FIPS Test: Unknown version for expected Runtime values ({})" ,
161167 version
You can’t perform that action at this time.
0 commit comments