Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
bool | rz_fletcher8_init (RzFletcher8 *ctx) |
bool | rz_fletcher8_update (RzFletcher8 *ctx, const ut8 *data, size_t len) |
bool | rz_fletcher8_final (ut8 *digest, RzFletcher8 *ctx) |
bool | rz_fletcher16_init (RzFletcher16 *ctx) |
bool | rz_fletcher16_update (RzFletcher16 *ctx, const ut8 *data, size_t len) |
bool | rz_fletcher16_final (ut8 *digest, RzFletcher16 *ctx) |
bool | rz_fletcher32_init (RzFletcher32 *ctx) |
bool | rz_fletcher32_update (RzFletcher32 *ctx, const ut8 *data, size_t len) |
bool | rz_fletcher32_final (ut8 *digest, RzFletcher32 *ctx) |
bool | rz_fletcher64_init (RzFletcher64 *ctx) |
bool | rz_fletcher64_update (RzFletcher64 *ctx, const ut8 *data, size_t len) |
bool | rz_fletcher64_final (ut8 *digest, RzFletcher64 *ctx) |
bool rz_fletcher16_final | ( | ut8 * | digest, |
RzFletcher16 * | ctx | ||
) |
Definition at line 58 of file fletcher.c.
References rz_return_val_if_fail, and rz_write_le16().
bool rz_fletcher16_init | ( | RzFletcher16 * | ctx | ) |
Definition at line 34 of file fletcher.c.
References memset(), and rz_return_val_if_fail.
bool rz_fletcher16_update | ( | RzFletcher16 * | ctx, |
const ut8 * | data, | ||
size_t | len | ||
) |
bool rz_fletcher32_final | ( | ut8 * | digest, |
RzFletcher32 * | ctx | ||
) |
Definition at line 101 of file fletcher.c.
References rz_return_val_if_fail, rz_write_le32(), and UT16_MAX.
bool rz_fletcher32_init | ( | RzFletcher32 * | ctx | ) |
Definition at line 68 of file fletcher.c.
References memset(), and rz_return_val_if_fail.
bool rz_fletcher32_update | ( | RzFletcher32 * | ctx, |
const ut8 * | data, | ||
size_t | len | ||
) |
Definition at line 74 of file fletcher.c.
References i, len, memcpy(), memset(), RZ_MIN, rz_read_le16(), rz_return_val_if_fail, and UT16_MAX.
bool rz_fletcher64_final | ( | ut8 * | digest, |
RzFletcher64 * | ctx | ||
) |
Definition at line 132 of file fletcher.c.
References rz_return_val_if_fail, rz_write_le64(), and ut64().
bool rz_fletcher64_init | ( | RzFletcher64 * | ctx | ) |
Definition at line 111 of file fletcher.c.
References memset(), and rz_return_val_if_fail.
bool rz_fletcher64_update | ( | RzFletcher64 * | ctx, |
const ut8 * | data, | ||
size_t | len | ||
) |
Definition at line 117 of file fletcher.c.
References i, len, memcpy(), memset(), RZ_MIN, rz_read_le32(), rz_return_val_if_fail, and value.
bool rz_fletcher8_final | ( | ut8 * | digest, |
RzFletcher8 * | ctx | ||
) |
bool rz_fletcher8_init | ( | RzFletcher8 * | ctx | ) |
Definition at line 9 of file fletcher.c.
References memset(), and rz_return_val_if_fail.
bool rz_fletcher8_update | ( | RzFletcher8 * | ctx, |
const ut8 * | data, | ||
size_t | len | ||
) |