Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | BLOCK_SIZE 16 |
Functions | |
static bool | serpent_set_key (RzCrypto *cry, const ut8 *key, int keylen, int mode, int direction) |
static int | serpent_get_key_size (RzCrypto *cry) |
static bool | serpent_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 | serpent_init (RzCrypto *cry) |
static bool | serpent_fini (RzCrypto *cry) |
Variables | |
RzCryptoPlugin | rz_crypto_plugin_serpent |
RZ_API RzLibStruct | rizin_plugin |
#define BLOCK_SIZE 16 |
Definition at line 34 of file crypto_serpent.c.
Definition at line 106 of file crypto_serpent.c.
Definition at line 117 of file crypto_serpent.c.
References free(), rz_return_val_if_fail, and rz_crypto_t::user.
Definition at line 23 of file crypto_serpent.c.
References serpent_state::key_size, rz_return_val_if_fail, and rz_crypto_t::user.
Definition at line 110 of file crypto_serpent.c.
References NULL, RZ_NEW0, rz_return_val_if_fail, and rz_crypto_t::user.
|
static |
Definition at line 8 of file crypto_serpent.c.
References rz_crypto_t::dir, i, if(), serpent_state::key, key, serpent_state::key_size, rz_read_at_le32(), rz_return_val_if_fail, and rz_crypto_t::user.
Definition at line 30 of file crypto_serpent.c.
Definition at line 36 of file crypto_serpent.c.
References BLOCK_SIZE, blocks, calloc(), delta, rz_crypto_t::dir, free(), i, if(), k, len, memcpy(), obuf, rz_crypto_append(), RZ_CRYPTO_DIR_ENCRYPT, rz_read_le32(), rz_return_val_if_fail, serpent_decrypt(), serpent_encrypt(), autogen_x86imm::tmp, and rz_crypto_t::user.
Referenced by final().
RZ_API RzLibStruct rizin_plugin |
Definition at line 138 of file crypto_serpent.c.
RzCryptoPlugin rz_crypto_plugin_serpent |
Definition at line 124 of file crypto_serpent.c.