EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of the hash functions. More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
uint32_t | md_hash (const char *msg, size_t length) |
Computes the Merkle–Damgård construction hash for a message. More... | |
uint32_t | sdbm_hash (const uint8_t *msg, size_t length) |
Computes the sdbm (a public-domain reimplementation of ndbm) http://www.cse.yorku.ca/~oz/hash.html. More... | |
File containing the definition of the hash functions.
uint32_t md_hash | ( | const char * | msg, |
size_t | length | ||
) |
Computes the Merkle–Damgård construction hash for a message.
msg | The message pointer |
length | The message length |
uint32_t sdbm_hash | ( | const uint8_t * | msg, |
size_t | length | ||
) |
Computes the sdbm (a public-domain reimplementation of ndbm) http://www.cse.yorku.ca/~oz/hash.html.
msg | The message pointer |
length | The message length |