#include <rz_hash.h>
#include <rz_util/rz_assert.h>
#include <xxhash.h>
Go to the source code of this file.
◆ RZ_HASH_XXHASH32_BLOCK_LENGTH
#define RZ_HASH_XXHASH32_BLOCK_LENGTH 0 |
◆ RZ_HASH_XXHASH32_DIGEST_SIZE
#define RZ_HASH_XXHASH32_DIGEST_SIZE 4 |
◆ plugin_xxhash32_block_size()
static RzHashSize plugin_xxhash32_block_size |
( |
void * |
context | ) |
|
|
static |
◆ plugin_xxhash32_context_free()
static void plugin_xxhash32_context_free |
( |
void * |
context | ) |
|
|
static |
Definition at line 15 of file algo_xxhash32.c.
XXH_PUBLIC_API XXH_errorcode XXH32_freeState(XXH32_state_t *statePtr)
struct XXH32_state_s XXH32_state_t
References XXH32_freeState().
◆ plugin_xxhash32_context_new()
static void* plugin_xxhash32_context_new |
( |
| ) |
|
|
static |
◆ plugin_xxhash32_digest_size()
static RzHashSize plugin_xxhash32_digest_size |
( |
void * |
context | ) |
|
|
static |
◆ plugin_xxhash32_final()
static bool plugin_xxhash32_final |
( |
void * |
context, |
|
|
ut8 * |
digest |
|
) |
| |
|
static |
◆ plugin_xxhash32_init()
static bool plugin_xxhash32_init |
( |
void * |
context | ) |
|
|
static |
◆ plugin_xxhash32_small_block()
◆ plugin_xxhash32_update()
static bool plugin_xxhash32_update |
( |
void * |
context, |
|
|
const ut8 * |
data, |
|
|
ut64 |
size |
|
) |
| |
|
static |
◆ rizin_plugin
Initial value:= {
}
RzHashPlugin rz_hash_plugin_xxhash32
Definition at line 82 of file algo_xxhash32.c.
◆ rz_hash_plugin_xxhash32
Initial value:= {
.name = "xxhash32",
.license = "LGPL3",
.author = "deroad",
.support_hmac = false,
}
static void plugin_xxhash32_context_free(void *context)
static bool plugin_xxhash32_init(void *context)
static void * plugin_xxhash32_context_new()
static bool plugin_xxhash32_small_block(const ut8 *data, ut64 size, ut8 **digest, RzHashSize *digest_size)
static bool plugin_xxhash32_update(void *context, const ut8 *data, ut64 size)
static RzHashSize plugin_xxhash32_digest_size(void *context)
static bool plugin_xxhash32_final(void *context, ut8 *digest)
static RzHashSize plugin_xxhash32_block_size(void *context)
Definition at line 66 of file algo_xxhash32.c.