44 #define PUT_64BIT_LE(cp, value) \
46 rz_write_le32(cp, value[0]); \
47 rz_write_at_le32(cp, value[1], sizeof(ut32)); \
51 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
52 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
53 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
59 #define F1(x, y, z) (z ^ (x & (y ^ z)))
60 #define F2(x, y, z) F1(z, x, y)
61 #define F3(x, y, z) (x ^ y ^ z)
62 #define F4(x, y, z) (y ^ (x | ~z))
65 #define MD5STEP(f, w, x, y, z, data, s) \
66 (w += f(x, y, z) + data, w = w << s | w >> (32 - s), w += x)
166 ctx->state[0] = 0x67452301;
167 ctx->state[1] = 0xefcdab89;
168 ctx->state[2] = 0x98badcfe;
169 ctx->state[3] = 0x10325476;
229 if (padlen < 1 + 8) {
235 if (digest !=
NULL) {
236 for (
i = 0;
i < 4;
i++) {
const lzma_allocator const uint8_t * in
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 count
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
#define MD5STEP(f, w, x, y, z, data, s)
RZ_IPI void rz_MD5Final(unsigned char digest[MD5_DIGEST_LENGTH], rz_MD5_CTX *ctx)
static ut8 PADDING[MD5_BLOCK_LENGTH]
#define PUT_64BIT_LE(cp, value)
static void MD5Transform(ut32 state[4], const ut8 block[MD5_BLOCK_LENGTH])
RZ_IPI void rz_MD5Init(rz_MD5_CTX *ctx)
RZ_IPI void rz_MD5Update(rz_MD5_CTX *ctx, const unsigned char *input, size_t len)
#define MD5_DIGEST_LENGTH
static void rz_write_le32(void *dest, ut32 val)
static ut32 rz_read_at_le32(const void *src, size_t offset)
RZ_API void rz_mem_memzero(void *, size_t)
static bool input(void *ud, zip_uint8_t *data, zip_uint64_t length)