Go to the source code of this file.
Classes | |
struct | sha1_context |
Defines | |
#define | uint8 unsigned char |
#define | uint32 unsigned long int |
Functions | |
void | sha1_starts (sha1_context *ctx) |
void | sha1_update (sha1_context *ctx, uint8 *input, uint32 length) |
void | sha1_finish (sha1_context *ctx, uint8 digest[20]) |
#define uint32 unsigned long int |
Definition at line 9 of file sha1.h.
Referenced by sha1_finish(), sha1_process(), and sha1_update().
#define uint8 unsigned char |
Definition at line 5 of file sha1.h.
Referenced by TcaRegistry::read(), sha1_finish(), and TcaRegistry::write().
void sha1_finish | ( | sha1_context * | ctx, | |
uint8 | digest[20] | |||
) |
Definition at line 256 of file sha1.cc.
References PUT_UINT32, sha1_padding, sha1_update(), sha1_context::state, sha1_context::total, uint32, and uint8.
void sha1_starts | ( | sha1_context * | ctx | ) |
void sha1_update | ( | sha1_context * | ctx, | |
uint8 * | input, | |||
uint32 | length | |||
) |
Definition at line 209 of file sha1.cc.
References sha1_context::buffer, sha1_process(), sha1_context::total, and uint32.