Gleb Mazovetskiy
fb37bbf675
Disable some signed shift UBSAN warnings
...
On Clang we can do this globally via a sanitizer blacklist, but that's not supported on GCC (yet):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61978
We disable these warnings because all compilers implement them in the
same way according to the N2218 proposal to standardize the behaviour:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2218.htm
2019-10-10 13:51:19 +02:00
Gleb Mazovetskiy
c2056c6cbf
SHA: Fix some implementation-defined behaviour ( #343 )
...
* SHA: Fix negative base shift UB
* SHA: Avoid signed integer overflow
We do cast from uint32_t to int32_t but that should be OK everywhere.
* SHA: Always use portable arithmetic right shift
2019-10-10 09:10:57 +02:00
Anders Jenbo
23e7737c75
Merge branch 'master' of github.com:diasurgical/devilution
...
Fixes #92
2019-05-05 00:27:08 +02:00
Anders Jenbo
ac102d3bfa
Clean up sha.cpp
2019-05-02 00:16:46 +01:00
Xadhoom
6856fb74e2
Merge upstream beanch 'devilution/master'
2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8
Merge branch 'TownDead'
2019-04-24 14:08:25 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Xadhoom
5283a9ffd1
Put everything into namespace dvl
2019-03-11 20:10:23 +00:00
Anders Jenbo
1e4e826a36
Remove delta to devilution
2019-01-23 17:11:52 +01:00
Xadhoom
cadef0d942
Merge upstream branch 'devilution/master'
2019-01-21 09:44:54 +00:00
Anders Jenbo
024d99fc9e
C compatability from s ( #521 )
2018-12-29 21:15:33 +01:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
9c85b3f0eb
clean up codec_init_key
2018-10-21 14:31:20 +02:00
Anders Jenbo
1e1a6349be
Clean up SHA1Input
2018-10-21 14:31:20 +02:00
Anders Jenbo
3877d77b55
Clean up SHA1Reset
2018-10-21 14:31:20 +02:00
Anders Jenbo
8c8e1dbe05
Clean up sha.cpp
2018-10-21 14:31:20 +02:00
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
2018-10-01 21:31:47 -07:00
galaxyhaxz
2bc06ccb9a
SHA1ProcessMessageBlock bin exact
2018-09-26 16:48:55 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
bcb3abe96b
Add files via upload
2018-06-06 21:27:39 -05:00