Rizin
unix-like reverse engineering framework and cli tools
parity.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_PARITY_H
5
#define RZ_PARITY_H
6
7
#include <
rz_types.h
>
8
9
#define RZ_HASH_PARITY_DIGEST_SIZE 1
10
#define RZ_HASH_PARITY_BLOCK_LENGTH 0
11
12
typedef
ut32
RzParity
;
13
14
bool
rz_parity_init
(
RzParity
*
ctx
);
15
bool
rz_parity_update
(
RzParity
*
ctx
,
const
ut8
*data,
size_t
len
);
16
bool
rz_parity_final
(
ut8
*digest,
RzParity
*
ctx
);
17
18
#endif
/* RZ_PARITY_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
RzParity
ut32 RzParity
Definition:
parity.h:12
rz_parity_update
bool rz_parity_update(RzParity *ctx, const ut8 *data, size_t len)
Definition:
parity.c:13
rz_parity_init
bool rz_parity_init(RzParity *ctx)
Definition:
parity.c:7
rz_parity_final
bool rz_parity_final(ut8 *digest, RzParity *ctx)
Definition:
parity.c:25
rz_types.h
ctx
Definition:
zip_algorithm_bzip2.c:40
librz
hash
algorithms
parity
parity.h
Generated by
1.9.1