suricata
datasets-sha256.c File Reference
#include "suricata-common.h"
#include "conf.h"
#include "datasets.h"
#include "datasets-sha256.h"
#include "util-hash-lookup3.h"
#include "util-thash.h"
Include dependency graph for datasets-sha256.c:

Go to the source code of this file.

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

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.