Skip to content

Commit

Permalink
modify empty message
Browse files Browse the repository at this point in the history
  • Loading branch information
smittals2 committed Feb 11, 2025
1 parent 2359662 commit 2db8e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/ml_dsa/ml_dsa_ref/sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static int ml_dsa_keypair_pct(ml_dsa_params *params,
uint8_t *pk,
uint8_t *sk) {
uint8_t signature[MLDSA87_SIGNATURE_BYTES];
uint8_t empty_msg[0];
uint8_t empty_msg[1] = {0};
int ret = ml_dsa_sign(params, signature, &params->bytes, empty_msg, 0, NULL, 0, sk);
if (ret < 0) {
return 0;
Expand Down

0 comments on commit 2db8e8d

Please sign in to comment.