Merge libtomcrypt v1.18.2

This commit is contained in:
Matt Johnston
2020-06-10 23:16:13 +08:00
parent 615885be01
commit 4b305c5721
45 changed files with 388 additions and 138 deletions

View File

@@ -52,7 +52,7 @@ int ccm_memory(int cipher,
int err;
unsigned long len, L, x, y, z, CTRlen;
#ifdef LTC_FAST
LTC_FAST_TYPE fastMask = ~0; /* initialize fastMask at all zeroes */
LTC_FAST_TYPE fastMask = ~(LTC_FAST_TYPE)0; /* initialize fastMask at all zeroes */
#endif
unsigned char mask = 0xff; /* initialize mask at all zeroes */