Prevent unnecessary type coercion

This commit is contained in:
Joost Rijneveld 2019-04-30 11:04:37 +02:00
parent 8357fb1c80
commit 46698bf4c8
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553

View File

@ -107,7 +107,7 @@ int PQCLEAN_MQDSS48_CLEAN_crypto_sign_signature(
unsigned char c[HASH_BYTES * ROUNDS * 2]; unsigned char c[HASH_BYTES * ROUNDS * 2];
gf31 alpha; gf31 alpha;
int alpha_count = 0; int alpha_count = 0;
unsigned char b; int b;
int i, j; int i, j;
uint64_t s_inc[26]; uint64_t s_inc[26];
@ -251,7 +251,7 @@ int PQCLEAN_MQDSS48_CLEAN_crypto_sign_verify(
int i, j; int i, j;
gf31 alpha; gf31 alpha;
int alpha_count = 0; int alpha_count = 0;
unsigned char b; int b;
uint64_t s_inc[26]; uint64_t s_inc[26];
if (siglen != SIG_LEN) { if (siglen != SIG_LEN) {