Skip to content

Commit

Permalink
Fix IV size
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinas committed Feb 5, 2025
1 parent 5a6dab6 commit 7ecec9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faest.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void faest_sign(uint8_t* sig, const uint8_t* msg, size_t msg_len, const uint8_t*
params->faest_param.owf_output_size, msg, msg_len, lambda);

// ::4-5
uint8_t rootkey[MAX_LAMBDA_BYTES], iv[MAX_LAMBDA_BYTES];
uint8_t rootkey[MAX_LAMBDA_BYTES], iv[IV_SIZE];
hash_r_iv(rootkey, signature_iv_pre(sig, params), iv, owf_key, mu, rho, rholen, lambda);

// ::6-7
Expand Down

0 comments on commit 7ecec9d

Please sign in to comment.