Merge pull request #8955 from anhu/signed

Explicitly declare dilithium_coeff_eta2[] as signed
This commit is contained in:
JacobBarthelmeh
2025-07-03 10:25:46 -06:00
committed by GitHub

View File

@ -2307,7 +2307,7 @@ static int dilithium_expand_a(wc_Shake* shake128, const byte* pub_seed, byte k,
#define DILITHIUM_COEFF_S_VALID_ETA2(b) \
((b) < DILITHIUM_ETA_2_MOD)
static const char dilithium_coeff_eta2[] = {
static const signed char dilithium_coeff_eta2[] = {
2, 1, 0, -1, -2,
2, 1, 0, -1, -2,
2, 1, 0, -1, -2