Commit graph

45 commits

Author SHA1 Message Date
pancake
1fa04d98c3 Fix for crypto.cps2 2016-08-03 14:07:03 +02:00
pancake
c4083a207e Add crypto.cps2 plugin 2016-08-01 17:31:36 +02:00
pancake
608b79d2b4 Finally fix the build on osx-ppc 2016-06-06 17:30:07 +02:00
Rakholiya Jenish
a13d46b295 fix CID 1355197, 1355198 and 1355199
cleanup

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-12 23:10:37 +02:00
Rakholiya Jenish
82574209b1 rc6 support (#4826)
fix warning
2016-05-09 16:51:26 +02:00
Rakholiya Jenish
3019bb477c Add support for punycode via woE and woD and rahash2
Also add aes-cbc support by getting IV from user
2016-05-07 12:31:13 +02:00
pancake
4b42e27969 Fix b64 warnings 2016-05-05 16:06:15 +02:00
pancake
aae417badf More OSX-PPC fixes 2016-04-27 01:52:35 +02:00
Rakholiya Jenish
6397b810c8 fix warnings 2016-04-17 19:29:23 +02:00
Rakholiya Jenish
e1660b352a add aes-cbc encryption to rahash2
remove unnecessary comment

update man
2016-04-14 22:39:57 +02:00
Rakholiya Jenish
421a63a849 cleanup code, and use direction for specifying encryption/decryption 2016-04-13 21:54:12 +02:00
Rakholiya Jenish
cfe1cc8c6c refactor the code and fix rc2 ecb implementation
Cleanup in cmd_write.
2016-04-13 12:54:34 +02:00
Rakholiya Jenish
27fba6fa10 Add crypto plugin for base64 and base91
update error occurence.
2016-04-13 10:34:55 +02:00
Rakholiya Jenish
2a68cea14c add woD, and rahash -D option
TODO done

fix error output
2016-04-13 10:34:54 +02:00
pancake
5ef2b3cc0f Fix many warnings 2016-04-11 12:22:15 +02:00
Rakholiya Jenish
402e53b030 correct and complete the blowfish implementation
minor typo fix
2016-04-10 18:04:52 +02:00
Rakholiya Jenish
8ea2e80354 add ROL and ROR support 2016-04-10 00:37:34 +02:00
Rakholiya Jenish
4c1c17f90a add ROT to rahash2
fix indentation

remove unnecessary header inclusion
2016-04-10 00:37:34 +02:00
pancake
c2b151f8c8 Fix a lot more covs 2016-03-31 13:21:51 +02:00
pancake
b6d5e6c9e3 Initial implementation of the make menu 2016-03-25 11:10:16 +01:00
Kitsu
59fc9900f4 Added AES-128/192/256 with ECB mode to rahash2 2016-03-23 22:27:00 +01:00
pancake
8f2c20ded6 Fix android build 2016-03-16 12:21:41 +01:00
pancake
23af75fd16 Fix crash in rahash2 -E blowfish 2016-03-14 10:41:07 +01:00
Aneesh Dogra
571e2a80c8 rahash2: Add RC2 2016-03-09 15:18:50 +01:00
Kishor Bhat
1139833812 RCrypto: Add support for the Blowfish cipher 2016-03-09 08:30:25 +01:00
Pankaj Kataria
aa8a65a852 rahash2 Added xor encryption 2016-03-09 08:28:26 +01:00
pancake
3f5aa46bd5 Add rahash2 -E to encrypt instead of hash 2016-03-07 03:24:52 +01:00
pancake
00ac90f71b Initial import of crypto.rc4 algorithm and modernize RCrypto API 2016-03-07 02:38:50 +01:00
XVilka
720341c2df Improve -fPIC handling, take 2 2015-10-09 22:24:15 +03:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
Jonathan Neuschäfer
523aa3af5c add .version to all plugins 2015-07-12 19:05:33 +02:00
pancake
b252b34358 Some initial work to support emscripten 2012-11-12 17:13:01 +01:00
pancake
e48b9b2f30 Add cfg.sandbox functionality
f.example: $ r2 -c=H -e cfg.sandbox=true -
2012-10-20 00:31:18 +02:00
pancake
403aa4b36d * Fix ~40 off-by-one strncpy's 2011-09-18 20:41:36 +02:00
pancake
0d4faf652e * Set library version number for plugins
- Registers for which version of core was compiled
* Use tar --format=posix when GNU tar
  - Fixes the dependency on BSD systems
* Fix in doc/fortunes
* Fix this class pointer in asm_java
* Re-Fix uglily the bin_elf strtab issue (needs more work)
* Fix Vala regression in r_asm.vapi
2011-07-19 00:12:36 +02:00
pancake
18835c0907 * Drop another unused lib (r_crypto)
- Fix debian farm build and reduce compilation times
2011-04-04 18:09:45 +02:00
Nibble
f853dab09f * More fixes on mingw32 build
* Update VERSION in swig configure script
* Update doc/windows
2010-07-24 12:44:19 +02:00
pancake
e101e5023d * Fix build on mingw32 2010-06-27 22:14:06 +02:00
Nibble
414f5a38bc * More fixes on build system
- 'make mrproper' now works like 'hg purge --all'
  - More fixes on 'make clean'
  - Remove some missing -Wl,-R
2010-06-15 14:10:42 +02:00
Nibble
5c35f6e359 * Rename {r_*_handle_t, R*Handle} to {r_*_plugin_t, R*Plugin} 2010-05-26 01:42:22 +02:00
pancake/imac
9890c6e8b0 * Fix build in OSX
- env.sh now also uses DYLD_LIBRARY_PATH
  - Fixes in ollyasm/dis to link with no global variables
    - Remove double definition of global _state
    - Same for asm_java
  - Split -shared and -Wl,-R into LDFLAGS_{LIB|LINKPATH}
    - Fixes linkage in osx
  - anal_x86_bea plugin now links correctly against BeaEgine.o
  - dietline is now #include'd from line.c
  - no debugger support yet
  - Do not externalize any variable. Some linkage does not support it
* Remove bininfo dependency .. aims to be merged into bin soon
* Added r_str_case() method to change to lower/upper case a string
2010-02-21 20:21:36 +01:00
pancake
eb99dd1203 * Many more fixes for the mingw32 port 2010-01-15 13:02:54 +01:00
pancake
8ba7b6b043 * Many build fixes for mingw32
- See doc/windows
* Rename config.mk to global.mk
  - Avoid name collision (cascade includes in rules.mk)
* Added ${EXT_EXE} in some test program directories
* Split rules.mk into config.mk
  - Some scripts just need to get the environ (config.mk)
  - They dont need the rules

--HG--
rename : config.mk => global.mk
2010-01-15 01:32:28 +01:00
pancake
209fb08a53 * Initial implementation of the r_crypto API
- Thanks skurz0 for the design tips
  - Needs to implement some plugins
  - Not yet working/tested

--HG--
rename : libr/crypto/p/aes.c => libr/crypto/p/crypto_aes_algo.c
rename : libr/crypto/p/aes.h => libr/crypto/p/crypto_aes_algo.h
2009-09-15 01:45:58 +02:00
pancake
e76216e92a * Fix 'install' target (missing double '$')
* Add STATIC_DEBUG and RUNTIME_DEBUG config.mk variables
  - Mirrored in C as R_DEBUG and R_RTDEBUG
  - Defines IFDBG and IFRTDBG macros
  - used in r_lib, checks for RLIB_RTDEBUG environment variable
* Added -f and -L flags to radare2
* Added initial dummy work on r_crypto module
  - Added 'aes' algorithm
* Added EXTRA_TARGETS and EXTRA_CLEAN targets in makefiles
  to build extra programs or libraries in a single directory
* Initial working stuff with hg's bdiff.c
  - Working as a line based diffing tool. 'linediff'
  - Added 2 files for testing linediff
* Prefix io plugins with io_
  - Added ewf and shm io plugins
* Prefix lang plugins with lang_
2009-03-31 00:50:02 +00:00