Rizin
unix-like reverse engineering framework and cli tools
mod255.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_MOD255_H
5
#define RZ_MOD255_H
6
7
#include <
rz_types.h
>
8
9
#define RZ_HASH_MOD255_DIGEST_SIZE 4
10
#define RZ_HASH_MOD255_BLOCK_LENGTH 0
11
12
typedef
ut32
RzMod255
;
13
14
bool
rz_mod255_init
(
RzMod255
*
ctx
);
15
bool
rz_mod255_update
(
RzMod255
*
ctx
,
const
ut8
*data,
size_t
len
);
16
bool
rz_mod255_final
(
ut8
*digest,
RzMod255
*
ctx
);
17
18
#endif
/* RZ_MOD255_H */
len
size_t len
Definition:
6502dis.c:15
ut32
uint32_t ut32
Definition:
demangler_util.h:31
ut8
uint8_t ut8
Definition:
lh5801.h:11
rz_mod255_update
bool rz_mod255_update(RzMod255 *ctx, const ut8 *data, size_t len)
Definition:
mod255.c:13
rz_mod255_init
bool rz_mod255_init(RzMod255 *ctx)
Definition:
mod255.c:7
RzMod255
ut32 RzMod255
Definition:
mod255.h:12
rz_mod255_final
bool rz_mod255_final(ut8 *digest, RzMod255 *ctx)
Definition:
mod255.c:23
rz_types.h
ctx
Definition:
zip_algorithm_bzip2.c:40
librz
hash
algorithms
mod255
mod255.h
Generated by
1.9.1