#include <inttypes.h>
Go to the source code of this file.
Classes | |
struct | SHA1Context |
Defines | |
#define | SHA1HashSize 20 |
Enumerations | |
enum | { shaSuccess = 0, shaNull, shaInputTooLong, shaStateError } |
Functions | |
int | SHA1Input (SHA1Context *, const uint8_t *, unsigned int) |
int | SHA1Reset (SHA1Context *) |
int | SHA1Result (SHA1Context *, uint8_t Message_Digest[SHA1HashSize]) |
anonymous enum |
Definition at line 42 of file sha1.h.
00043 { 00044 shaSuccess = 0, 00045 shaNull, /* Null pointer parameter */ 00046 shaInputTooLong, /* input data too long */ 00047 shaStateError /* called Input after Result */ 00048 };
int SHA1Input | ( | SHA1Context * | , | |
const uint8_t * | , | |||
unsigned | int | |||
) |
int SHA1Reset | ( | SHA1Context * | ) |
int SHA1Result | ( | SHA1Context * | , | |
uint8_t | Message_Digest[SHA1HashSize] | |||
) |