Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
void | rz_sha1_init (RzSHA1 *context) |
static ut32 | rotate_left_32 (ut32 value, ut32 rot) |
static void | sha1_digest_block (RzSHA1 *context) |
bool | rz_sha1_update (RzSHA1 *context, const ut8 *data, ut64 length) |
void | sha1_padding (RzSHA1 *context) |
void | rz_sha1_fini (ut8 *hash, RzSHA1 *context) |
Definition at line 137 of file sha1.c.
References rz_return_if_fail, rz_write_at_be32(), and sha1_padding().
Referenced by plugin_sha1_final(), and plugin_sha1_small_block().
void rz_sha1_init | ( | RzSHA1 * | context | ) |
Definition at line 9 of file sha1.c.
References rz_return_if_fail.
Referenced by plugin_sha1_init(), and plugin_sha1_small_block().
Definition at line 88 of file sha1.c.
References i, length, RZ_HASH_SHA1_BLOCK_LENGTH, rz_return_val_if_fail, sha1_digest_block(), and ut64().
Referenced by plugin_sha1_small_block(), and plugin_sha1_update().
|
static |
Definition at line 26 of file sha1.c.
References A, B, C, D, E, rotate_left_32(), rz_read_at_be32(), autogen_x86imm::tmp, and W.
Referenced by rz_sha1_update(), and sha1_padding().
void sha1_padding | ( | RzSHA1 * | context | ) |
Definition at line 112 of file sha1.c.
References RZ_HASH_SHA1_BLOCK_LENGTH, rz_write_be32(), and sha1_digest_block().
Referenced by rz_sha1_fini().