Rizin
unix-like reverse engineering framework and cli tools
md4.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2021 deroad <wargio@libero.it>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef RZ_HASH_MD4_H
5 #define RZ_HASH_MD4_H
6 
7 #include <rz_types.h>
8 
9 #define RZ_HASH_MD4_DIGEST_SIZE 0x10
10 #define RZ_HASH_MD4_BLOCK_LENGTH 0x40
11 typedef struct {
12  ut32 digest[4];
17 } RzMD4;
18 
20 bool rz_md4_update(RzMD4 *context, const ut8 *data, ut64 length);
21 void rz_md4_fini(ut8 *hash, RzMD4 *context);
22 
23 #endif /* RZ_HASH_MD4_H */
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 static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
Definition: sflib.h:133
uint32_t ut32
uint8_t ut8
Definition: lh5801.h:11
#define RZ_HASH_MD4_BLOCK_LENGTH
Definition: md4.h:10
bool rz_md4_update(RzMD4 *context, const ut8 *data, ut64 length)
Definition: md4.c:105
void rz_md4_init(RzMD4 *context)
Definition: md4.c:17
void rz_md4_fini(ut8 *hash, RzMD4 *context)
Definition: md4.c:154
Definition: md4.h:11
ut64 index
Definition: md4.h:14
ut64 len_high
Definition: md4.h:15
ut64 len_low
Definition: md4.h:16
ut64(WINAPI *w32_GetEnabledXStateFeatures)()