Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
int | mod (int a, int b) |
static bool | rot_init_state (ut8 *rotkey, const ut8 *key, int keylen) |
static void | rot_crypt (ut8 key, const ut8 *inbuf, ut8 *outbuf, int buflen) |
static void | rot_decrypt (ut8 key, const ut8 *inbuf, ut8 *outbuf, int buflen) |
static bool | rot_set_key (RzCrypto *cry, const ut8 *key, int keylen, int mode, int direction) |
static int | rot_get_key_size (RzCrypto *cry) |
static bool | rot_use (const char *algo) |
static bool | update (RzCrypto *cry, const ut8 *buf, int len) |
static bool | final (RzCrypto *cry, const ut8 *buf, int len) |
static bool | rol_init (RzCrypto *cry) |
static bool | rol_fini (RzCrypto *cry) |
Variables | |
RzCryptoPlugin | rz_crypto_plugin_rot |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 97 of file crypto_rot.c.
Definition at line 8 of file crypto_rot.c.
Referenced by align_upper(), d_print_comp_inner(), d_print_mod(), dmp_get_modules(), ds_print_asmop_payload(), filter(), get_dispatchmessage_offset(), opcall(), opdec(), opinc(), oplea(), oples(), opmov(), oppop(), oppush(), opset(), parse_type_modifier(), print_addr(), proc_mem_img(), rot_crypt(), rot_decrypt(), rot_init_state(), rz_asm_disassemble(), rz_bv_set_all(), rz_core_magic_at(), rz_debug_dmp_init(), rz_debug_dmp_modules(), rz_debug_winkd_attach(), rz_debug_winkd_modules(), rz_file_chmod(), rz_il_op_new_mod(), rz_il_op_pure_dup(), rz_il_op_pure_free(), rz_rand(), sdb_uncat(), set_mod_inf(), windbg_map_get(), windbg_modules_get(), winkd_list_modules(), and winkd_windmodule_free().
Definition at line 108 of file crypto_rot.c.
References free(), rz_return_val_if_fail, and rz_crypto_t::user.
Definition at line 101 of file crypto_rot.c.
References NULL, RZ_NEW0, rz_return_val_if_fail, and rz_crypto_t::user.
Definition at line 28 of file crypto_rot.c.
References buflen, i, inbuf, key, mod(), and outbuf.
Referenced by update().
Definition at line 70 of file crypto_rot.c.
Definition at line 19 of file crypto_rot.c.
References i, key, mod(), and ut8.
Referenced by rot_set_key().
|
static |
Definition at line 57 of file crypto_rot.c.
References rz_crypto_t::dir, if(), key, rot_init_state(), rz_return_val_if_fail, and rz_crypto_t::user.
Definition at line 75 of file crypto_rot.c.
Definition at line 79 of file crypto_rot.c.
References calloc(), rz_crypto_t::dir, free(), len, obuf, rot_crypt(), rot_decrypt(), rz_crypto_append(), RZ_CRYPTO_DIR_ENCRYPT, rz_return_val_if_fail, and rz_crypto_t::user.
Referenced by final().
RZ_API RzLibStruct rizin_plugin |
Definition at line 129 of file crypto_rot.c.
RzCryptoPlugin rz_crypto_plugin_rot |
Definition at line 115 of file crypto_rot.c.