BeRTOS
|
Generic interface for hashing algorithms. More...
Go to the source code of this file.
Functions | |
void | hash_begin (Hash *h) |
Initialize a hash computation. | |
void | hash_update (Hash *h, const void *data, size_t len) |
Add some data to the computation. | |
uint8_t * | hash_final (Hash *h) |
Finalize the hash computation and return the digest. | |
int | hash_digest_len (Hash *h) |
Return the digest length in bytes. |
Generic interface for hashing algorithms.
Definition in file hash.h.
uint8_t* hash_final | ( | Hash * | h | ) | [inline] |
Finalize the hash computation and return the digest.