suricata
datasets-sha256.h File Reference
Include dependency graph for datasets-sha256.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Sha256Type
 

Typedefs

typedef struct Sha256Type Sha256Type
 

Functions

int Sha256StrSet (void *dst, void *src)
 
bool Sha256StrCompare (void *a, void *b)
 
uint32_t Sha256StrHash (uint32_t hash_seed, void *s)
 
void Sha256StrFree (void *s)
 

Detailed Description

Typedef Documentation

◆ Sha256Type

typedef struct Sha256Type Sha256Type

Function Documentation

◆ Sha256StrCompare()

bool Sha256StrCompare ( void *  a,
void *  b 
)

Definition at line 40 of file datasets-sha256.c.

References Sha256Type::sha256.

◆ Sha256StrFree()

void Sha256StrFree ( void *  s)

Definition at line 55 of file datasets-sha256.c.

◆ Sha256StrHash()

uint32_t Sha256StrHash ( uint32_t  hash_seed,
void *  s 
)

Definition at line 48 of file datasets-sha256.c.

References hashword(), and str.

Here is the call graph for this function:

◆ Sha256StrSet()

int Sha256StrSet ( void *  dst,
void *  src 
)

Definition at line 31 of file datasets-sha256.c.

References dst, Sha256Type::rep, Sha256Type::sha256, and src.