suricata
|
Go to the source code of this file.
Data Structures | |
struct | Sha256Type |
Typedefs | |
typedef struct Sha256Type | Sha256Type |
Functions | |
int | Sha256StrSet (void *dst, void *src) |
int | Sha256StrJsonSet (void *dst, void *src) |
bool | Sha256StrCompare (void *a, void *b) |
uint32_t | Sha256StrHash (uint32_t hash_seed, void *s) |
void | Sha256StrFree (void *s) |
void | Sha256StrJsonFree (void *s) |
uint32_t | Sha256StrJsonGetLength (void *s) |
Definition in file datasets-sha256.h.
typedef struct Sha256Type Sha256Type |
bool Sha256StrCompare | ( | void * | a, |
void * | b | ||
) |
Definition at line 55 of file datasets-sha256.c.
References Sha256Type::sha256.
void Sha256StrFree | ( | void * | s | ) |
Definition at line 70 of file datasets-sha256.c.
uint32_t Sha256StrHash | ( | uint32_t | hash_seed, |
void * | s | ||
) |
Definition at line 63 of file datasets-sha256.c.
References hashword(), and str.
void Sha256StrJsonFree | ( | void * | s | ) |
Definition at line 75 of file datasets-sha256.c.
References Sha256Type::json, SCFree, and DataJsonType::value.
uint32_t Sha256StrJsonGetLength | ( | void * | s | ) |
Definition at line 83 of file datasets-sha256.c.
References Sha256Type::json, and DataJsonType::len.
int Sha256StrJsonSet | ( | void * | dst, |
void * | src | ||
) |
Definition at line 41 of file datasets-sha256.c.
References DatajsonCopyJson(), dst, Sha256Type::json, Sha256StrSet(), and src.
int Sha256StrSet | ( | void * | dst, |
void * | src | ||
) |
Definition at line 32 of file datasets-sha256.c.
References dst, Sha256Type::rep, Sha256Type::sha256, and src.
Referenced by Sha256StrJsonSet().