Commit Graph

129 Commits

Author SHA1 Message Date
vertur
3a91bf0e97 Wide CRC hashes
* Avoid explicit size for CRC hash.
* Add more CRC8 hashing presets.
* Add more CRC16 hashing presets.
* Add more CRC32 hashing presets.
* Add CRC64 hashing presets (disabled).
* Regroup CRC presets and make they presence configurable. Disable CRC16 and enable CRC64 hashing.
* Prevent from bitset overflow. Enable all CRC hashes.
* Regroup CRC presets again. Enable all original and disable rare-used presets.
* Fix issue with mismatched bitset types.
2018-01-07 20:41:53 +01:00
Lowly Worm
5e70e0f8b6 update incorrect FSF addresses
closes #8123
2017-08-15 22:28:30 -07:00
Guillaume Valadon
ea8adc48da Use void in prototypes (#7974) 2017-07-20 14:50:13 +02:00
pancake
c0c5f81be8 Fix travis again 2017-07-19 13:28:27 +02:00
Fangrui Song
6b4d140d6c Fix help for pi, add comments to switch cases => case d: // "pid" (#7952)
Indent `p=`, fix r_hash_entryopy_fraction (multiplier 256 is changed to 255 to avoid ut8 overflow, avoid ERANGE when calculating log(0), scan data once instead of 256 times)
2017-07-18 10:24:46 +02:00
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
alvarofe
4e19275c1a Fix minor warnings while compiling 2017-05-06 22:56:50 +02:00
pancake
3e0c7bc650 Support meson build for Linux (Requires meson 0.40) 2017-05-02 14:18:36 +02:00
pancake
60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
Giovanni
e9a9ad5f43 Use stdout in rahash2 -h 2017-04-13 11:53:40 +02:00
Giovanni
2b6f6262fc Integrate crca in rahash2 and r2 2017-04-11 22:47:16 +02:00
alvarofe
4d2789fe7b Fix regression introduced in md5 with len == 0 2017-03-05 20:44:09 +01:00
radare
93e11e9d80 RHash cleanup 2017-03-01 09:02:28 +01:00
pancake
46e91531a3 Eliminate assert from sha2.c and r2-indent the whole libr/hash 2017-02-27 00:40:36 +01:00
Maijin
266eee75ae Fix #6560 Unify Windows/Win32 define 2017-02-26 16:51:03 +01:00
alvarofe
39dd847c1f Fix build plus indentation issues 2017-02-24 23:42:17 +01:00
Álvaro Felipe Melchor
88d4649cc6 fix more coverities 2016-12-19 17:23:30 +01:00
pancake
521458908b Fix div by zero and help for $fl 2016-12-19 04:27:13 +01:00
pancake
748ba2ce4a Fix md5 issue for size(0) in rabin2 -SK md5 2016-12-09 19:01:59 +01:00
pancake
baf53e4869 Fix #6127 - ph was breaking tmpseek 2016-11-07 02:33:09 +01:00
pancake
35d9eef757 Fix 20 more covs (divBy0, dbl3, negidx, bufovr, ..) 2016-10-20 15:39:36 +02:00
pancake
75fd458df8 Fix #5007 - Clarify the difference of hash/encoder/crypto 2016-08-15 01:10:42 +02:00
Moritz Eckert
143d2c3791 Fix #4965. Add support for luhn searching and hashing. 2016-08-01 12:34:54 +02:00
Maijin
7938640445 Move all /t/ from r2 to r2r 2016-07-27 19:19:30 +02:00
Maijin
c274afe748 Fix #3286 - Use stdbool.h 2016-07-12 22:15:19 +02:00
pancake
2582e5fd0e Fix #5134 - rahash2 -K entropy was randomized by uninitalized values 2016-06-14 20:29:49 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
d9cdd29268 Fix endian issue in crc16 and crc32 2016-05-16 02:08:59 +02:00
Riccardo Schirone
d9e3a290c1 libr: fix compilation warnings
libr/util/graph: add some comments to the API
2016-05-13 09:57:55 +02:00
Rakholiya Jenish
502870f07b list all encoders/decoders supported by woE/woD and rahash2 -E/-D (fix #4851)
list all encoders/decoders supported by woE/woD and rahash2 -E/-D (fix #4851)
2016-05-11 22:25:54 +02:00
Damien Zammit
9cb03bab32 Cleanup endianness in crc32 and xxhash 2016-05-09 08:56:48 +02:00
pancake
d24bc909ec Update sdb for osx-ppc and other 0.10.2 updates 2016-04-27 00:25:28 +02:00
stanciuadrian
4a7ad2b607 corrected index of message length in SHA512/SHA384 preparation 2016-03-03 03:15:47 +01:00
pancake
b701626cfc Fix some clang-analyzer issues 2015-11-10 12:18:27 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
pancake
f6927fa4f7 Fixes for 0 length hashes 2015-10-18 17:08:23 +02:00
Álvaro Felipe Melchor
b81cb74923 Fix rabin2 test 2015-10-18 16:52:36 +02:00
pancake
888405e50f Various bug fixes in RHash api 2015-10-17 12:18:55 +02:00
Claude Hemberger
be6988fe15 unused variable warning during make
removed the variable
2015-10-16 13:16:49 +02:00
Álvaro Felipe Melchor
6fa7d44482 Fix #1289 2015-10-16 11:24:20 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
96257c4546 Fix Android build and some strict aliasing issues 2015-02-05 14:02:22 +01:00
pancake
7c5c6624c2 Cleanup MD5 code and fix mach0 warning 2015-01-13 03:09:23 +01:00
jvoisin
e3dbefc898 Fix some stupid warnings in md5-related code
"PROTOTYPES should be set to one if and only if the compiler
supports function argument prototyping. [...]".

Hello time-traveller, welcome to the previous century. I heard
that in your modern times, compilers are supporting
_function arguments prototypiing_, is that true?
2015-01-13 02:51:45 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
condret
7ce6922491 rename r_io_open -> r_io_open_nomap and add a new r_io_open that creates a map at 0x0 2014-09-06 23:08:16 +02:00