X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fcmac-aes256.c;h=718b3062dcd68c18e11ce18f3603c526f132d729;hb=fb5ee794ece0f21f0b52ee41e66a8b79c159bcf2;hp=fb8ea165fafb70aaeaa9f87c62e501e8f56c38ba;hpb=01f35481fe6f80ee35c79bf873bc69af11331217;p=pspp diff --git a/src/libpspp/cmac-aes256.c b/src/libpspp/cmac-aes256.c index fb8ea165fa..718b3062dc 100644 --- a/src/libpspp/cmac-aes256.c +++ b/src/libpspp/cmac-aes256.c @@ -44,7 +44,7 @@ cmac_aes256(const uint8_t key[32], uint8_t cmac[16]) { const char zeros[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - uint32_t rk[4 * RIJNDAEL_MAXNR + 1]; + uint32_t rk[4 * (RIJNDAEL_MAXNR + 1)]; uint8_t k1[16], k2[16], L[16]; const uint8_t *data = data_; uint8_t c[16], tmp[16];