#include <stdint.h>
Go to the source code of this file.
◆ SHA1_BLOCKSIZE
#define SHA1_BLOCKSIZE 64 |
◆ SHA1_DIGESTSIZE
#define SHA1_DIGESTSIZE 20 |
◆ sha1_final()
void sha1_final |
( |
uint8_t |
hash[SHA1_DIGESTSIZE], |
|
|
sha1_ctx * |
context |
|
) |
| |
◆ sha1_hash()
void sha1_hash |
( |
char * |
hash, |
|
|
const char * |
data, |
|
|
uint32_t |
len |
|
) |
| |
◆ sha1_init()
◆ sha1_transform()
void sha1_transform |
( |
uint32_t |
state[5], |
|
|
const uint8_t |
buffer[SHA1_BLOCKSIZE] |
|
) |
| |
◆ sha1_update()
void sha1_update |
( |
sha1_ctx * |
context, |
|
|
const uint8_t * |
data, |
|
|
uint32_t |
len |
|
) |
| |