Rizin
unix-like reverse engineering framework and cli tools
rz_hash_plugin_t Struct Reference

#include <rz_hash.h>

Public Attributes

const char * name
 
const char * license
 
const char * author
 
bool support_hmac
 
void *(* context_new )()
 
void(* context_free )(void *context)
 
RzHashSize(* digest_size )(void *context)
 
RzHashSize(* block_size )(void *context)
 
bool(* init )(void *context)
 
bool(* update )(void *context, const ut8 *data, ut64 size)
 
bool(* final )(void *context, ut8 *digest)
 
bool(* small_block )(const ut8 *data, ut64 size, ut8 **digest, RzHashSize *digest_size)
 

Detailed Description

Definition at line 26 of file rz_hash.h.

Member Data Documentation

◆ author

const char* rz_hash_plugin_t::author

Definition at line 29 of file rz_hash.h.

Referenced by rz_core_hash_plugin_print(), and rz_hash_show_algorithms().

◆ block_size

RzHashSize(* rz_hash_plugin_t::block_size) (void *context)

Definition at line 34 of file rz_hash.h.

Referenced by rz_hash_cfg_final(), rz_hash_cfg_hmac(), and rz_hash_cfg_init().

◆ context_free

void(* rz_hash_plugin_t::context_free) (void *context)

Definition at line 32 of file rz_hash.h.

Referenced by hash_cfg_config_free(), and hash_cfg_config_new().

◆ context_new

void*(* rz_hash_plugin_t::context_new) ()

Definition at line 31 of file rz_hash.h.

Referenced by hash_cfg_config_new().

◆ digest_size

RzHashSize(* rz_hash_plugin_t::digest_size) (void *context)

Definition at line 33 of file rz_hash.h.

Referenced by hash_cfg_config_new(), and rz_hash_cfg_size().

◆ final

bool(* rz_hash_plugin_t::final) (void *context, ut8 *digest)

Definition at line 37 of file rz_hash.h.

Referenced by rz_hash_cfg_final(), and rz_hash_cfg_iterate().

◆ init

bool(* rz_hash_plugin_t::init) (void *context)

Definition at line 35 of file rz_hash.h.

Referenced by rz_hash_cfg_final(), rz_hash_cfg_init(), and rz_hash_cfg_iterate().

◆ license

const char* rz_hash_plugin_t::license

Definition at line 28 of file rz_hash.h.

Referenced by rz_core_hash_plugin_print(), and rz_hash_show_algorithms().

◆ name

◆ small_block

bool(* rz_hash_plugin_t::small_block) (const ut8 *data, ut64 size, ut8 **digest, RzHashSize *digest_size)

◆ support_hmac

bool rz_hash_plugin_t::support_hmac

Definition at line 30 of file rz_hash.h.

Referenced by rz_hash_cfg_hmac(), and rz_hash_show_algorithms().

◆ update

bool(* rz_hash_plugin_t::update) (void *context, const ut8 *data, ut64 size)

The documentation for this struct was generated from the following file: