Skip to content

Commit

Permalink
Addressing review comments: Use uppercase 'U' suffix on unsigned cons…
Browse files Browse the repository at this point in the history
…tant.
  • Loading branch information
ptsiewie committed Aug 30, 2024
1 parent 0a7b1ef commit f0890d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wolfcrypt/src/aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -13847,7 +13847,7 @@ int wc_AesSivEncrypt(const byte* key, word32 keySz, const byte* assoc,
AesSivAssoc ad0;
ad0.assoc = assoc;
ad0.assocSz = assocSz;
return AesSivCipher(key, keySz, &ad0, 1u, nonce, nonceSz, in, inSz,
return AesSivCipher(key, keySz, &ad0, 1U, nonce, nonceSz, in, inSz,
siv, out, 1);
}

Expand All @@ -13861,7 +13861,7 @@ int wc_AesSivDecrypt(const byte* key, word32 keySz, const byte* assoc,
AesSivAssoc ad0;
ad0.assoc = assoc;
ad0.assocSz = assocSz;
return AesSivCipher(key, keySz, &ad0, 1u, nonce, nonceSz, in, inSz,
return AesSivCipher(key, keySz, &ad0, 1U, nonce, nonceSz, in, inSz,
siv, out, 0);
}

Expand Down

0 comments on commit f0890d9

Please sign in to comment.