![]() |
wget2
1.0.0
|
Hashing functions. More...
#include <config.h>#include <unistd.h>#include <stdlib.h>#include <strings.h>#include <fcntl.h>#include <sys/stat.h>#include <sys/mman.h>#include <wget.h>#include <private.h>#include <gnutls/gnutls.h>#include <gnutls/crypto.h>
Functions | |
| wget_digest_algorithm_t | wget_hash_get_algorithm (const char *hashname) |
| int | wget_hash_fast (wget_digest_algorithm_t algorithm, const void *text, size_t textlen, void *digest) |
| int | wget_hash_get_len (wget_digest_algorithm_t algorithm) |
| int | wget_hash_init (wget_hash_hd_t *handle, wget_digest_algorithm_t algorithm) |
| int | wget_hash (wget_hash_hd_t *handle, const void *text, size_t textlen) |
| void | wget_hash_deinit (wget_hash_hd_t *handle, void *digest) |
| int | wget_hash_file_fd (const char *hashname, int fd, char *digest_hex, size_t digest_hex_size, off_t offset, off_t length) |
| int | wget_hash_file_offset (const char *hashname, const char *fname, char *digest_hex, size_t digest_hex_size, off_t offset, off_t length) |
| int | wget_hash_file (const char *hashname, const char *fname, char *digest_hex, size_t digest_hex_size) |
Hashing functions.