|
Data Structures
|
struct |
SHAstate_st |
Defines
|
#define |
SHA_LONG unsigned int
|
#define |
SHA_LBLOCK 16
|
#define |
SHA_CBLOCK (SHA_LBLOCK*4)
|
#define |
SHA_LAST_BLOCK (SHA_CBLOCK-8)
|
#define |
SHA_DIGEST_LENGTH 20
|
Typedefs
|
typedef SHAstate_st
|
SHA_CTX |
Functions
|
IMPORT_C int |
SHA_Init (SHA_CTX *c)
|
IMPORT_C int |
SHA_Update (SHA_CTX *c, const void *data, size_t len)
|
IMPORT_C int |
SHA_Final (unsigned char *md, SHA_CTX *c)
|
IMPORT_C unsigned char * |
SHA (const unsigned char *d, size_t n, unsigned char *md)
|
IMPORT_C void |
SHA_Transform (SHA_CTX *c, const unsigned char *data)
|
IMPORT_C int |
SHA1_Init (SHA_CTX *c)
|
IMPORT_C int |
SHA1_Update (SHA_CTX *c, const void *data, size_t len)
|
IMPORT_C int |
SHA1_Final (unsigned char *md, SHA_CTX *c)
|
IMPORT_C unsigned char * |
SHA1 (const unsigned char *d, size_t n, unsigned char *md)
|
IMPORT_C void |
SHA1_Transform (SHA_CTX *c, const unsigned char *data)
|