12 if ((keylen != 128 / 8) && (keylen != 192 / 8) && (keylen != 256 / 8)) {
16 for (
size_t i = 0;
i < keylen / 4;
i++) {
31 return !strcmp(algo,
"serpent-ecb");
66 for (j = 0; j <
len / 4; j++) {
91 for (j = 0; j <
size / 4; j++) {
125 .
name =
"serpent-ecb",
137 #ifndef RZ_PLUGIN_INCORE
RZ_API int rz_crypto_append(RzCrypto *cry, const ut8 *buf, int len)
static bool serpent_init(RzCrypto *cry)
static bool update(RzCrypto *cry, const ut8 *buf, int len)
static bool serpent_use(const char *algo)
RzCryptoPlugin rz_crypto_plugin_serpent
static bool serpent_set_key(RzCrypto *cry, const ut8 *key, int keylen, int mode, int direction)
RZ_API RzLibStruct rizin_plugin
static int serpent_get_key_size(RzCrypto *cry)
static bool serpent_fini(RzCrypto *cry)
void serpent_decrypt(serpent_state_t *st, ut32 in[DW_BY_BLOCK], ut32 out[DW_BY_BLOCK])
void serpent_encrypt(serpent_state_t *st, ut32 in[DW_BY_BLOCK], ut32 out[DW_BY_BLOCK])
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
RZ_API void Ht_() free(HtName_(Ht) *ht)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
void * calloc(size_t number, size_t size)
#define rz_return_val_if_fail(expr, val)
static ut32 rz_read_at_le32(const void *src, size_t offset)
static ut32 rz_read_le32(const void *src)
if(dbg->bits==RZ_SYS_BITS_64)
static unsigned char * obuf