Skip to content

Commit 9f6365d

Browse files
fix parameter volec
1 parent a45bf2d commit 9f6365d

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

vole.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,13 @@ bool vole_reconstruct(uint8_t* com, uint8_t** q, const uint8_t* iv, const uint8_
115115
const uint8_t* decom_i, const uint8_t* c, unsigned int ellhat,
116116
const faest_paramset_t* params) {
117117

118-
unsigned int lambda = params->faest_param.lambda;
119-
unsigned int lambda_bytes = lambda / 8;
120-
unsigned int ellhat_bytes = (ellhat + 7) / 8;
121-
unsigned int tau = params->faest_param.tau;
122-
unsigned int tau0 = params->faest_param.t0;
123-
unsigned int tau1 = params->faest_param.t1;
124-
unsigned int k0 = params->faest_param.k0;
125-
unsigned int k1 = params->faest_param.k1;
118+
const unsigned int lambda = params->faest_param.lambda;
119+
const unsigned int lambda_bytes = lambda / 8;
120+
const unsigned int ellhat_bytes = (ellhat + 7) / 8;
121+
const unsigned int tau = params->faest_param.tau;
122+
const unsigned int tau1 = params->faest_param.tau1;
123+
const unsigned int L = params->faest_param.L;
124+
const unsigned int k = params->faest_param.k;
126125

127126
uint16_t i_delta[MAX_TAU];
128127
if (!decode_all_chall_3(i_delta, chall_3, params)) {

0 commit comments

Comments
 (0)