ELinks 0.16.1.1
|
#include "util/sha1.h"
Macros | |
#define | SHA_ROT(X, n) |
Functions | |
static void | sha_hash_block (struct sha1_context *ctx) |
void | init_sha1 (struct sha1_context *ctx) |
void | update_sha1 (struct sha1_context *ctx, const unsigned char *dataIn, unsigned long len) |
void | done_sha1 (struct sha1_context *ctx, sha1_digest_bin_T digest) |
unsigned char * | digest_sha1 (const unsigned char *data, unsigned long length, sha1_digest_bin_T digest) |
unsigned char * digest_sha1 | ( | const unsigned char * | data, |
unsigned long | length, | ||
sha1_digest_bin_T | digest ) |
void done_sha1 | ( | struct sha1_context * | ctx, |
sha1_digest_bin_T | digest ) |
void init_sha1 | ( | struct sha1_context * | ctx | ) |
|
static |
void update_sha1 | ( | struct sha1_context * | ctx, |
const unsigned char * | dataIn, | ||
unsigned long | len ) |