Add further missing brackets around macro parameters

This commit is contained in:
Hanno Becker 2018-10-26 09:13:26 +01:00 committed by Gilles Peskine
parent ee60034a60
commit 3ac21aca9b
6 changed files with 10 additions and 10 deletions

View file

@ -397,7 +397,7 @@ static uint32_t RCON[10];
*/
#define ROTL8(x) ( ( (x) << 8 ) & 0xFFFFFFFF ) | ( (x) >> 24 )
#define XTIME(x) ( ( (x) << 1 ) ^ ( ( (x) & 0x80 ) ? 0x1B : 0x00 ) )
#define MUL(x,y) ( ( (x) && (y) ) ? pow[(log[x]+log[y]) % 255] : 0 )
#define MUL(x,y) ( ( (x) && (y) ) ? pow[(log[(x)]+log[(y)]) % 255] : 0 )
static int aes_init_done = 0;