pancake
0619f3254b
Use SPDX namings for crypto, and list them in Vj ##doc
2024-10-18 17:32:56 +02:00
pancake
ff8c883316
Fix last covs
2024-10-01 11:31:28 +02:00
Sylvain Pelissier
da25bc7cce
Refactor listing crypto algorithms into a single function ##crypto
2024-09-29 21:56:53 +02:00
pancake
64d534783c
Expose the ELF hash algorithm in rahash2 -a elf
##crypto
2024-08-08 11:57:05 +02:00
satk0
ebd8bf9042
Replace r_return_val_if_fail with uppercase alternative
2024-08-05 12:26:32 +02:00
pancake
757cbcef2f
Few more cleanups for rahash2 and add the strhash crypto plugin
2024-03-21 11:16:16 +01:00
pancake
61aae9f396
Minor RCrypto/RHash refactorings
2024-03-17 21:04:45 +01:00
pancake
56ad5be58c
Support quiet json plugin listing in rahash2 via -qjL or -jjL ##tools
2024-03-15 20:45:59 +01:00
pancake
88ee0f8cda
Implement rahash2 -Lj to list plugins in JSON ##tools
2024-03-15 20:45:59 +01:00
pancake
061e1385f3
Use RPluginMeta in RCryptoPlugin ##abi
2023-09-13 13:14:05 +02:00
pancake
b852a7f11d
Fix memleak in RCrypto.plugins
2022-10-17 01:14:56 +02:00
pancake
430d6e2310
Fix last covs
2022-09-26 18:23:07 +02:00
pancake
508795730c
Implement rahash2 -qL
2022-09-21 20:54:08 +02:00
pancake
3622b4868a
Fix rahash2 -L listing full hash ##crypto
2022-09-21 20:54:08 +02:00
pancake
2e6d41a9c7
Remove all global variables from RCrypto ##globals
2022-09-21 20:54:08 +02:00
pancake
5f3ed93313
Initial work on the way RCrypto handles plugins ##crypto
...
* Implement RCrypto.entropy plugin to replace the RHash one
* Not yet used, just structured to move forward
* Add description and type fields in the RCryptoPlugin
* De-duplicate RCrypto.list() logic into a single function
* Deprecate RHash.name() and RCrypto.name()
2022-09-21 20:54:08 +02:00
pancake
b705e334f6
Massage more R2_580 pending changes breaking APIs and ABIs
2022-09-16 11:34:19 +02:00
pancake
a6e0d6c480
Merge rhash into rcrypto and improve apis ##api
...
* Update meson and make build systems
* Remove leftovers and unused dependencies
2022-09-15 11:25:40 +02:00
pancake
ee762bf15d
Assertify the crypto api
2022-09-07 10:51:47 +02:00
Sylvain Pelissier
5abc76e288
Add SM4 block cipher ##crypto
2022-08-08 19:23:33 +02:00
pancake
a1df3493b5
Expose the r_atomic_*
apis as public
2022-05-19 23:03:30 +02:00
pancake
24bfac7c17
Report back the right allocated size in RCrypto
2022-05-19 17:51:58 +02:00
pancake
add8a23dbd
Fix handling realloc result on failure
2022-05-19 15:53:30 +02:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
...
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
Sylvain Pelissier
16af634aa6
Remove global usage in AES encryption ##crypto
2021-09-28 10:40:22 +02:00
Sylvain Pelissier
76807f588e
Add AES Key Wrap Algorithm ##crypto
2021-09-25 06:53:57 +02:00
pancake
160fc95e66
Use (void) instead of () in function signatures ( #17026 ) ##refactoring
...
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
mdolmen
411ee616a1
Remove hardcoded supported encoders names ( #16664 ) ##util
2020-04-24 11:49:22 +02:00
Anton Kochkov
20e19d6023
More spelling fixes in the code
2019-06-20 13:36:02 +08:00
Neven Sajko
9fadc2ab9f
Put 'static' first in declarations ( #11526 )
2018-09-15 23:06:11 +02:00
Nics
680d3e3329
Implem and integration of the Serpent cipher (ECB) ( #8917 )
...
* Implem and integration of the Serpent cipher (ECB)
* Fix for loop variables to be C90 compliant.
* Fix coding style
* Add meson config for Serpent
2017-11-30 22:47:29 +01:00
pancake
6758e3753d
Remove configure-plugins dependency for the make meson
2017-05-26 02:43:53 +02:00
pancake
ce7104647e
Add rahash2 -E xor and support -S - and -S @ to slurp stdin or files
2017-03-26 00:38:57 +01:00
Álvaro Felipe Melchor
815f9543b4
Rename des to des-ecb
2017-01-28 14:07:08 +01:00
Giovanni
276f9acae7
Add DES support to rahash2
2017-01-28 12:52:39 +01:00
pancake
ea5c83ce4e
Fix a bunch of malloc(0)
2016-11-08 15:09:52 +01:00
pancake
fc4354eff0
Add cps2 plugin in crypt.c (should be dynamic!)
2016-08-01 17:34:17 +02:00
Sven Steinbauer
547f8bbc5c
Infer fixes Round 2 ( #4993 )
2016-05-24 22:22:15 +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
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
Kitsu
59fc9900f4
Added AES-128/192/256 with ECB mode to rahash2
2016-03-23 22:27:00 +01:00
Evgeny
8e726d0376
#4395
2016-03-23 01:37:37 +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
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
pancake
0e4db84071
Fixes for blob build
2013-08-30 02:59:20 +02:00