22 state->key_size = keylen;
23 for (
i = 0;
i < keylen;
i++) {
54 return !strcmp(algo,
NAME);
62 eprintf(
"Use ROL algorithm to decrypt\n");
102 #ifndef RZ_PLUGIN_INCORE
RZ_API int rz_crypto_append(RzCrypto *cry, const ut8 *buf, int len)
static int ror_get_key_size(RzCrypto *cry)
static bool ror_fini(RzCrypto *cry)
static bool update(RzCrypto *cry, const ut8 *buf, int len)
static bool ror_use(const char *algo)
RZ_API RzLibStruct rizin_plugin
RzCryptoPlugin rz_crypto_plugin_ror
static bool ror_set_key(RzCrypto *cry, const ut8 *key, int keylen, int mode, int direction)
static bool ror_init_state(struct ror_state *const state, const ut8 *key, int keylen)
static bool ror_init(RzCrypto *cry)
static void ror_crypt(struct ror_state *const state, const ut8 *inbuf, ut8 *outbuf, int buflen)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
unsigned char outbuf[SIZE]
unsigned char inbuf[SIZE]
RZ_API void Ht_() free(HtName_(Ht) *ht)
void * calloc(size_t number, size_t size)
#define rz_return_val_if_fail(expr, val)
ut8 key[MAX_ror_KEY_SIZE]
if(dbg->bits==RZ_SYS_BITS_64)
static unsigned char * obuf