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
..
2008-03-22 17:01:37 +00:00
2007-10-23 10:48:09 +00:00
2016-02-01 18:15:28 +01:00
2008-04-17 17:40:30 +00:00
2016-02-01 18:15:28 +01:00
2007-10-23 10:48:09 +00:00
2016-02-01 18:15:28 +01:00
2011-12-02 19:42:56 +01:00
2008-04-17 17:40:30 +00:00
2016-02-01 18:15:28 +01:00
2013-12-03 09:26:04 +01:00
2007-10-23 10:48:09 +00:00
2011-08-09 10:54:22 +02:00
2015-02-11 20:04: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
2013-01-11 15:10:38 +01:00
2012-11-08 13:25:02 +01: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
2007-12-12 18:26:25 +00:00
2010-09-28 15:55:24 +00:00
2013-12-03 09:25:57 +01:00
2013-12-03 09:25:57 +01:00
2014-08-20 12:22:35 +02: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
2015-01-19 16:46:05 +01:00
2007-10-23 10:48:09 +00:00
2016-01-15 15:52:11 +01:00
2012-01-24 09:48:17 +01:00
2015-09-01 07:47:14 +02:00
2007-10-23 10:48:09 +00:00
2015-02-26 15:35:49 +01:00
2007-11-28 23:00:11 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2016-02-01 18:15:28 +01:00