17 for (
size_t i = 0;
i <
len;
i++) {
19 ctx->low = (
ctx->low & 0xff) + (
ctx->low >> 8);
21 ctx->high = (
ctx->high & 0xff) + (
ctx->high >> 8);
43 for (;
len >= 5802;
len -= 5802) {
44 for (
i = 0;
i < 5802;
i++) {
45 ctx->low =
ctx->low + *data++;
51 for (
i = 0;
i <
len;
i++) {
78 for (;
len >= 360;
len -= 360) {
79 for (
i = 0;
i < 360;
i += 2) {
80 size_t left = 360 -
i;
81 memset(word, 0,
sizeof(word));
90 for (
i = 0;
i <
len;
i += 2) {
91 size_t left =
len -
i;
92 memset(word, 0,
sizeof(word));
121 for (
size_t i = 0;
i <
len;
i +=
sizeof(
ut32)) {
123 memset(word, 0,
sizeof(word));
bool rz_fletcher64_final(ut8 *digest, RzFletcher64 *ctx)
bool rz_fletcher64_update(RzFletcher64 *ctx, const ut8 *data, size_t len)
bool rz_fletcher32_final(ut8 *digest, RzFletcher32 *ctx)
bool rz_fletcher16_final(ut8 *digest, RzFletcher16 *ctx)
bool rz_fletcher8_final(ut8 *digest, RzFletcher8 *ctx)
bool rz_fletcher16_init(RzFletcher16 *ctx)
bool rz_fletcher32_init(RzFletcher32 *ctx)
bool rz_fletcher16_update(RzFletcher16 *ctx, const ut8 *data, size_t len)
bool rz_fletcher8_update(RzFletcher8 *ctx, const ut8 *data, size_t len)
bool rz_fletcher64_init(RzFletcher64 *ctx)
bool rz_fletcher8_init(RzFletcher8 *ctx)
bool rz_fletcher32_update(RzFletcher32 *ctx, const ut8 *data, size_t len)
return memset(p, 0, total)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
#define rz_return_val_if_fail(expr, val)
static void rz_write_le32(void *dest, ut32 val)
static void rz_write_le16(void *dest, ut16 val)
static ut16 rz_read_le16(const void *src)
static ut32 rz_read_le32(const void *src)
static void rz_write_le64(void *dest, ut64 val)
static void rz_write_le8(void *dest, ut8 val)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()