hash.h File Reference
#include "psptypes.h"
Include dependency graph for hash.h:

Data Structures

struct B_HASHCTX

Functions

RDM_EXPORT void b_hashFcnStart (B_HASHCTX *)
RDM_EXPORT void b_hashFcnEmit (B_HASHCTX *, uint8_t)
RDM_EXPORT uint64_t b_hashFcnFinish (const B_HASHCTX *)
uint64_t rdm_hash (uint8_t *values, uint32_t size)

Function Documentation

b_hashFcnEmit()

RDM_EXPORT void b_hashFcnEmit ( B_HASHCTX * ,
uint8_t
)

Referenced by rdm_hash().

Here is the caller graph for this function:

b_hashFcnFinish()

RDM_EXPORT uint64_t b_hashFcnFinish ( const B_HASHCTX * )

Referenced by rdm_hash().

Here is the caller graph for this function:

b_hashFcnStart()

RDM_EXPORT void b_hashFcnStart ( B_HASHCTX * )

Referenced by rdm_hash().

Here is the caller graph for this function:

rdm_hash()

uint64_t rdm_hash ( uint8_t * values,
uint32_t size
)
inline
Examples
cpp50Example_main.cpp.
32 {
33B_HASHCTX h;
35for (uint32_t i = 0; i < size; i++)
36 {
37b_hashFcnEmit (&h, values[i]);
38 }
39
40return b_hashFcnFinish (&h);
41 }

References b_hashFcnEmit(), b_hashFcnFinish(), and b_hashFcnStart().

Here is the call graph for this function:
RDM_EXPORT void b_hashFcnStart(B_HASHCTX *)
RDM_EXPORT void b_hashFcnEmit(B_HASHCTX *, uint8_t)
RDM_EXPORT uint64_t b_hashFcnFinish(const B_HASHCTX *)
Definition: hash.h:22