1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-11-26 04:26:12 +01:00
BLAKE2/sse
mjvk cf068aafd6
Update cast of load16
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.
2018-05-09 11:47:06 +01:00
..
blake2-config.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2-impl.h Update cast of load16 2018-05-09 11:47:06 +01:00
blake2.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2b-load-sse2.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2b-load-sse41.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2b-round.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2b.c maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2bp.c maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2s-load-sse2.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2s-load-sse41.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2s-load-xop.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2s-round.h maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2s.c maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2sp.c maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
blake2xb.c keylength=0 in B2 instances in b2x* 2016-12-03 10:50:38 +01:00
blake2xs.c keylength=0 in B2 instances in b2x* 2016-12-03 10:50:38 +01:00
genkat-c.c formatting, more c89 2016-10-12 15:19:55 +01:00
genkat-json.c issue #41 2017-03-07 18:42:27 +00:00
makefile formatting, more c89 2016-10-12 15:19:55 +01:00