Werner Koch
22caa5c2d4
Fix possible sign extension problem with newer compilers.
* cipher/des.c (READ_64BIT_DATA): Cast to u32 before shifting by 24.
* cipher/blowfish.c (do_encrypt_block): Ditto.
(do_decrypt_block): Ditto.
* cipher/camellia.c (CAMELLIA_RR8): Ditto.
* cipher/cast5.c (do_encrypt_block): Ditto.
(do_decrypt_block): Ditto.
(do_cast_setkey): Ditto.
* cipher/twofish.c (INPACK): Ditto.
* util/iobuf.c (block_filter): Ditto.
--
For cipher/des.c
Reported-by: Balint Reczey <balint@balintreczey.hu>
See commit 57af33d9e7c9b20b413b96882e670e75a67a5e65 for details.
Signed-off-by: Werner Koch <wk@gnupg.org>
2016-02-01 18:15:28 +01:00
..
2015-02-27 09:33:58 +01:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-12-03 14:41:38 +00:00
2015-02-26 20:00:17 +01:00
2011-12-02 19:42:56 +01:00
2009-08-25 20:00:24 +00:00
2009-07-21 14:30:13 +00:00
2013-07-12 17:26:55 +09:00
2007-10-23 10:48:09 +00:00
2012-01-10 11:31:00 +01:00
2007-10-23 10:48:09 +00:00
2012-12-19 11:43:28 -05:00
2016-02-01 18:15:28 +01:00
2007-10-23 10:48:09 +00:00
2010-09-28 15:55:24 +00:00
2015-01-19 18:59:13 +01:00
2012-12-15 11:28:00 +01:00
2009-07-21 14:30:13 +00:00
2007-10-23 10:48:09 +00:00
2012-01-12 18:10:30 +01:00
2007-10-23 10:48:09 +00:00
2015-02-26 18:30:08 +01:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2012-08-24 16:37:44 +02:00
2007-10-23 10:48:09 +00:00
2010-09-28 15:55:24 +00:00
2015-02-26 18:30:08 +01:00
2006-10-03 00:36:18 +00:00
2007-10-23 10:48:09 +00:00
2011-09-12 15:28:28 +02:00
2007-10-23 10:48:09 +00:00