libdrizzle Developer Documentation

Data Structures | Defines | Functions
libdrizzle/sha1.h File Reference

SHA1 Declarations. More...

Go to the source code of this file.

Data Structures

struct  SHA1_CTX

Defines

#define SHA1_BLOCK_LENGTH   64
#define SHA1_DIGEST_LENGTH   20
#define SHA1_DIGEST_STRING_LENGTH   (SHA1_DIGEST_LENGTH * 2 + 1)

Functions

void SHA1Init (SHA1_CTX *)
void SHA1Pad (SHA1_CTX *)
void SHA1Transform (uint32_t[5], const uint8_t[SHA1_BLOCK_LENGTH])
void SHA1Update (SHA1_CTX *, const uint8_t *, size_t)
void SHA1Final (uint8_t[SHA1_DIGEST_LENGTH], SHA1_CTX *)

Detailed Description

SHA1 Declarations.

Definition in file sha1.h.