File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 91
91
* GLOBAL VARIABLES
92
92
*****************************************************************************/
93
93
const ecdsa_curve * curve ;
94
- const uint32_t session_key_rotation [2 ] = {6 , 7 };
94
+ const uint32_t session_key_rotation [1 ] = {0 };
95
95
session_config_t CONFIDENTIAL session = {0 };
96
96
97
97
/*****************************************************************************
@@ -225,9 +225,6 @@ static bool derive_server_public_key() {
225
225
uint8_t index = 0 ;
226
226
hdnode_public_ckd (& node , session_key_rotation [index ]);
227
227
228
- index += 1 ;
229
- hdnode_public_ckd (& node , session_key_rotation [index ]);
230
-
231
228
memcpy (
232
229
session .derived_server_public_key , node .public_key , SESSION_PUB_KEY_SIZE );
233
230
Original file line number Diff line number Diff line change 38
38
#define SESSION_IV_SIZE 16
39
39
#define SESSION_KEY_SIZE 32
40
40
41
- extern const uint32_t session_key_rotation [2 ];
41
+ extern const uint32_t session_key_rotation [1 ];
42
42
43
43
typedef enum {
44
44
SESSION_OK = 0 ,
You can’t perform that action at this time.
0 commit comments