mirror of
https://github.com/BLAKE2/BLAKE2
synced 2024-11-26 04:26:12 +01:00
cf068aafd6
Bitwise operations promote the cast to uint16_t to int. So to be consistent, first cast to uint to keep unsignedness and prevent implicit promotion. Then cast back to uint16_t after all bitwise operations are completed. This prevents compiler warnings, unneccessary casts and in the case of right shifting (not the case here) unexpected behaviour. |
||
---|---|---|
.. | ||
blake2-config.h | ||
blake2-impl.h | ||
blake2.h | ||
blake2b-load-sse2.h | ||
blake2b-load-sse41.h | ||
blake2b-round.h | ||
blake2b.c | ||
blake2bp.c | ||
blake2s-load-sse2.h | ||
blake2s-load-sse41.h | ||
blake2s-load-xop.h | ||
blake2s-round.h | ||
blake2s.c | ||
blake2sp.c | ||
blake2xb.c | ||
blake2xs.c | ||
genkat-c.c | ||
genkat-json.c | ||
makefile |