Rizin
unix-like reverse engineering framework and cli tools
rz_hash.h File Reference
#include <rz_types.h>
#include <rz_list.h>
#include <rz_util/rz_mem.h>

Go to the source code of this file.

Classes

struct  rz_hash_plugin_t
 
struct  rz_hash_t
 
struct  rz_hash_cfg_t
 

Typedefs

typedef ut32 RzHashSize
 
typedef struct rz_hash_plugin_t RzHashPlugin
 
typedef struct rz_hash_t RzHash
 
typedef struct rz_hash_cfg_t RzHashCfg
 

Enumerations

enum  RzHashStatus { RZ_MSG_DIGEST_STATUS_ALLOC = 0 , RZ_MSG_DIGEST_STATUS_INIT , RZ_MSG_DIGEST_STATUS_UPDATE , RZ_MSG_DIGEST_STATUS_FINAL }
 

Functions

 RZ_LIB_VERSION_HEADER (rz_hash)
 

Variables

RzHashPlugin rz_hash_plugin_md4
 
RzHashPlugin rz_hash_plugin_md5
 
RzHashPlugin rz_hash_plugin_sha1
 
RzHashPlugin rz_hash_plugin_sha256
 
RzHashPlugin rz_hash_plugin_sha384
 
RzHashPlugin rz_hash_plugin_sha512
 
RzHashPlugin rz_hash_plugin_fletcher8
 
RzHashPlugin rz_hash_plugin_fletcher16
 
RzHashPlugin rz_hash_plugin_fletcher32
 
RzHashPlugin rz_hash_plugin_fletcher64
 
RzHashPlugin rz_hash_plugin_adler32
 
RzHashPlugin rz_hash_plugin_crca_crc8smbus
 
RzHashPlugin rz_hash_plugin_crca_crc8cdma2000
 
RzHashPlugin rz_hash_plugin_crca_crc8darc
 
RzHashPlugin rz_hash_plugin_crca_crc8dvbs2
 
RzHashPlugin rz_hash_plugin_crca_crc8ebu
 
RzHashPlugin rz_hash_plugin_crca_crc8icode
 
RzHashPlugin rz_hash_plugin_crca_crc8itu
 
RzHashPlugin rz_hash_plugin_crca_crc8maxim
 
RzHashPlugin rz_hash_plugin_crca_crc8rohc
 
RzHashPlugin rz_hash_plugin_crca_crc8wcdma
 
RzHashPlugin rz_hash_plugin_crca_crc15can
 
RzHashPlugin rz_hash_plugin_crca_crc16
 
RzHashPlugin rz_hash_plugin_crca_crc16citt
 
RzHashPlugin rz_hash_plugin_crca_crc16usb
 
RzHashPlugin rz_hash_plugin_crca_crc16hdlc
 
RzHashPlugin rz_hash_plugin_crca_crc16augccitt
 
RzHashPlugin rz_hash_plugin_crca_crc16buypass
 
RzHashPlugin rz_hash_plugin_crca_crc16cdma2000
 
RzHashPlugin rz_hash_plugin_crca_crc16dds110
 
RzHashPlugin rz_hash_plugin_crca_crc16dectr
 
RzHashPlugin rz_hash_plugin_crca_crc16dectx
 
RzHashPlugin rz_hash_plugin_crca_crc16dnp
 
RzHashPlugin rz_hash_plugin_crca_crc16en13757
 
RzHashPlugin rz_hash_plugin_crca_crc16genibus
 
RzHashPlugin rz_hash_plugin_crca_crc16maxim
 
RzHashPlugin rz_hash_plugin_crca_crc16mcrf4xx
 
RzHashPlugin rz_hash_plugin_crca_crc16riello
 
RzHashPlugin rz_hash_plugin_crca_crc16t10dif
 
RzHashPlugin rz_hash_plugin_crca_crc16teledisk
 
RzHashPlugin rz_hash_plugin_crca_crc16tms37157
 
RzHashPlugin rz_hash_plugin_crca_crca
 
RzHashPlugin rz_hash_plugin_crca_crc16kermit
 
RzHashPlugin rz_hash_plugin_crca_crc16modbus
 
RzHashPlugin rz_hash_plugin_crca_crc16x25
 
RzHashPlugin rz_hash_plugin_crca_crc16xmodem
 
RzHashPlugin rz_hash_plugin_crca_crc24
 
RzHashPlugin rz_hash_plugin_crca_crc32
 
RzHashPlugin rz_hash_plugin_crca_crc32ecma267
 
RzHashPlugin rz_hash_plugin_crca_crc32c
 
RzHashPlugin rz_hash_plugin_crca_crc32bzip2
 
RzHashPlugin rz_hash_plugin_crca_crc32d
 
RzHashPlugin rz_hash_plugin_crca_crc32mpeg2
 
RzHashPlugin rz_hash_plugin_crca_crc32posix
 
RzHashPlugin rz_hash_plugin_crca_crc32q
 
RzHashPlugin rz_hash_plugin_crca_crc32jamcrc
 
RzHashPlugin rz_hash_plugin_crca_crc32xfer
 
RzHashPlugin rz_hash_plugin_crca_crc64
 
RzHashPlugin rz_hash_plugin_crca_crc64ecma182
 
RzHashPlugin rz_hash_plugin_crca_crc64we
 
RzHashPlugin rz_hash_plugin_crca_crc64xz
 
RzHashPlugin rz_hash_plugin_crca_crc64iso
 
RzHashPlugin rz_hash_plugin_xor8
 
RzHashPlugin rz_hash_plugin_xor16
 
RzHashPlugin rz_hash_plugin_xxhash32
 
RzHashPlugin rz_hash_plugin_parity
 
RzHashPlugin rz_hash_plugin_entropy
 
RzHashPlugin rz_hash_plugin_entropy_fract
 

Typedef Documentation

◆ RzHash

typedef struct rz_hash_t RzHash

◆ RzHashCfg

typedef struct rz_hash_cfg_t RzHashCfg

◆ RzHashPlugin

◆ RzHashSize

typedef ut32 RzHashSize

Definition at line 24 of file rz_hash.h.

Enumeration Type Documentation

◆ RzHashStatus

Enumerator
RZ_MSG_DIGEST_STATUS_ALLOC 
RZ_MSG_DIGEST_STATUS_INIT 
RZ_MSG_DIGEST_STATUS_UPDATE 
RZ_MSG_DIGEST_STATUS_FINAL 

Definition at line 17 of file rz_hash.h.

17  {
22 } RzHashStatus;
RzHashStatus
Definition: rz_hash.h:17
@ RZ_MSG_DIGEST_STATUS_INIT
Definition: rz_hash.h:19
@ RZ_MSG_DIGEST_STATUS_ALLOC
Definition: rz_hash.h:18
@ RZ_MSG_DIGEST_STATUS_UPDATE
Definition: rz_hash.h:20
@ RZ_MSG_DIGEST_STATUS_FINAL
Definition: rz_hash.h:21

Function Documentation

◆ RZ_LIB_VERSION_HEADER()

RZ_LIB_VERSION_HEADER ( rz_hash  )

Variable Documentation

◆ rz_hash_plugin_adler32

RzHashPlugin rz_hash_plugin_adler32
extern

Definition at line 65 of file algo_adler32.c.

◆ rz_hash_plugin_crca_crc15can

RzHashPlugin rz_hash_plugin_crca_crc15can
extern

◆ rz_hash_plugin_crca_crc16

RzHashPlugin rz_hash_plugin_crca_crc16
extern

◆ rz_hash_plugin_crca_crc16augccitt

RzHashPlugin rz_hash_plugin_crca_crc16augccitt
extern

◆ rz_hash_plugin_crca_crc16buypass

RzHashPlugin rz_hash_plugin_crca_crc16buypass
extern

◆ rz_hash_plugin_crca_crc16cdma2000

RzHashPlugin rz_hash_plugin_crca_crc16cdma2000
extern

◆ rz_hash_plugin_crca_crc16citt

RzHashPlugin rz_hash_plugin_crca_crc16citt
extern

◆ rz_hash_plugin_crca_crc16dds110

RzHashPlugin rz_hash_plugin_crca_crc16dds110
extern

◆ rz_hash_plugin_crca_crc16dectr

RzHashPlugin rz_hash_plugin_crca_crc16dectr
extern

◆ rz_hash_plugin_crca_crc16dectx

RzHashPlugin rz_hash_plugin_crca_crc16dectx
extern

◆ rz_hash_plugin_crca_crc16dnp

RzHashPlugin rz_hash_plugin_crca_crc16dnp
extern

◆ rz_hash_plugin_crca_crc16en13757

RzHashPlugin rz_hash_plugin_crca_crc16en13757
extern

◆ rz_hash_plugin_crca_crc16genibus

RzHashPlugin rz_hash_plugin_crca_crc16genibus
extern

◆ rz_hash_plugin_crca_crc16hdlc

RzHashPlugin rz_hash_plugin_crca_crc16hdlc
extern

◆ rz_hash_plugin_crca_crc16kermit

RzHashPlugin rz_hash_plugin_crca_crc16kermit
extern

◆ rz_hash_plugin_crca_crc16maxim

RzHashPlugin rz_hash_plugin_crca_crc16maxim
extern

◆ rz_hash_plugin_crca_crc16mcrf4xx

RzHashPlugin rz_hash_plugin_crca_crc16mcrf4xx
extern

◆ rz_hash_plugin_crca_crc16modbus

RzHashPlugin rz_hash_plugin_crca_crc16modbus
extern

◆ rz_hash_plugin_crca_crc16riello

RzHashPlugin rz_hash_plugin_crca_crc16riello
extern

◆ rz_hash_plugin_crca_crc16t10dif

RzHashPlugin rz_hash_plugin_crca_crc16t10dif
extern

◆ rz_hash_plugin_crca_crc16teledisk

RzHashPlugin rz_hash_plugin_crca_crc16teledisk
extern

◆ rz_hash_plugin_crca_crc16tms37157

RzHashPlugin rz_hash_plugin_crca_crc16tms37157
extern

◆ rz_hash_plugin_crca_crc16usb

RzHashPlugin rz_hash_plugin_crca_crc16usb
extern

◆ rz_hash_plugin_crca_crc16x25

RzHashPlugin rz_hash_plugin_crca_crc16x25
extern

◆ rz_hash_plugin_crca_crc16xmodem

RzHashPlugin rz_hash_plugin_crca_crc16xmodem
extern

◆ rz_hash_plugin_crca_crc24

RzHashPlugin rz_hash_plugin_crca_crc24
extern

◆ rz_hash_plugin_crca_crc32

RzHashPlugin rz_hash_plugin_crca_crc32
extern

◆ rz_hash_plugin_crca_crc32bzip2

RzHashPlugin rz_hash_plugin_crca_crc32bzip2
extern

◆ rz_hash_plugin_crca_crc32c

RzHashPlugin rz_hash_plugin_crca_crc32c
extern

◆ rz_hash_plugin_crca_crc32d

RzHashPlugin rz_hash_plugin_crca_crc32d
extern

◆ rz_hash_plugin_crca_crc32ecma267

RzHashPlugin rz_hash_plugin_crca_crc32ecma267
extern

◆ rz_hash_plugin_crca_crc32jamcrc

RzHashPlugin rz_hash_plugin_crca_crc32jamcrc
extern

◆ rz_hash_plugin_crca_crc32mpeg2

RzHashPlugin rz_hash_plugin_crca_crc32mpeg2
extern

◆ rz_hash_plugin_crca_crc32posix

RzHashPlugin rz_hash_plugin_crca_crc32posix
extern

◆ rz_hash_plugin_crca_crc32q

RzHashPlugin rz_hash_plugin_crca_crc32q
extern

◆ rz_hash_plugin_crca_crc32xfer

RzHashPlugin rz_hash_plugin_crca_crc32xfer
extern

◆ rz_hash_plugin_crca_crc64

RzHashPlugin rz_hash_plugin_crca_crc64
extern

◆ rz_hash_plugin_crca_crc64ecma182

RzHashPlugin rz_hash_plugin_crca_crc64ecma182
extern

◆ rz_hash_plugin_crca_crc64iso

RzHashPlugin rz_hash_plugin_crca_crc64iso
extern

◆ rz_hash_plugin_crca_crc64we

RzHashPlugin rz_hash_plugin_crca_crc64we
extern

◆ rz_hash_plugin_crca_crc64xz

RzHashPlugin rz_hash_plugin_crca_crc64xz
extern

◆ rz_hash_plugin_crca_crc8cdma2000

RzHashPlugin rz_hash_plugin_crca_crc8cdma2000
extern

◆ rz_hash_plugin_crca_crc8darc

RzHashPlugin rz_hash_plugin_crca_crc8darc
extern

◆ rz_hash_plugin_crca_crc8dvbs2

RzHashPlugin rz_hash_plugin_crca_crc8dvbs2
extern

◆ rz_hash_plugin_crca_crc8ebu

RzHashPlugin rz_hash_plugin_crca_crc8ebu
extern

◆ rz_hash_plugin_crca_crc8icode

RzHashPlugin rz_hash_plugin_crca_crc8icode
extern

◆ rz_hash_plugin_crca_crc8itu

RzHashPlugin rz_hash_plugin_crca_crc8itu
extern

◆ rz_hash_plugin_crca_crc8maxim

RzHashPlugin rz_hash_plugin_crca_crc8maxim
extern

◆ rz_hash_plugin_crca_crc8rohc

RzHashPlugin rz_hash_plugin_crca_crc8rohc
extern

◆ rz_hash_plugin_crca_crc8smbus

RzHashPlugin rz_hash_plugin_crca_crc8smbus
extern

◆ rz_hash_plugin_crca_crc8wcdma

RzHashPlugin rz_hash_plugin_crca_crc8wcdma
extern

◆ rz_hash_plugin_crca_crca

RzHashPlugin rz_hash_plugin_crca_crca
extern

◆ rz_hash_plugin_entropy

RzHashPlugin rz_hash_plugin_entropy
extern

Definition at line 65 of file algo_entropy.c.

Referenced by rz_hash_entropy().

◆ rz_hash_plugin_entropy_fract

RzHashPlugin rz_hash_plugin_entropy_fract
extern

Definition at line 65 of file algo_entropy_fractional.c.

Referenced by rz_hash_entropy_fraction().

◆ rz_hash_plugin_fletcher16

RzHashPlugin rz_hash_plugin_fletcher16
extern

◆ rz_hash_plugin_fletcher32

RzHashPlugin rz_hash_plugin_fletcher32
extern

◆ rz_hash_plugin_fletcher64

RzHashPlugin rz_hash_plugin_fletcher64
extern

◆ rz_hash_plugin_fletcher8

RzHashPlugin rz_hash_plugin_fletcher8
extern

◆ rz_hash_plugin_md4

RzHashPlugin rz_hash_plugin_md4
extern

Definition at line 78 of file algo_md4.c.

◆ rz_hash_plugin_md5

RzHashPlugin rz_hash_plugin_md5
extern

Definition at line 78 of file algo_md5.c.

◆ rz_hash_plugin_parity

RzHashPlugin rz_hash_plugin_parity
extern

Definition at line 65 of file algo_parity.c.

◆ rz_hash_plugin_sha1

RzHashPlugin rz_hash_plugin_sha1
extern

Definition at line 78 of file algo_sha1.c.

◆ rz_hash_plugin_sha256

RzHashPlugin rz_hash_plugin_sha256
extern

Definition at line 78 of file algo_sha256.c.

◆ rz_hash_plugin_sha384

RzHashPlugin rz_hash_plugin_sha384
extern

Definition at line 78 of file algo_sha384.c.

◆ rz_hash_plugin_sha512

RzHashPlugin rz_hash_plugin_sha512
extern

Definition at line 78 of file algo_sha512.c.

◆ rz_hash_plugin_xor16

RzHashPlugin rz_hash_plugin_xor16
extern

Definition at line 65 of file algo_xor16.c.

◆ rz_hash_plugin_xor8

RzHashPlugin rz_hash_plugin_xor8
extern

Definition at line 65 of file algo_xor8.c.

◆ rz_hash_plugin_xxhash32

RzHashPlugin rz_hash_plugin_xxhash32
extern

Definition at line 66 of file algo_xxhash32.c.