#include <openssl/e_os2.h>
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | SHAstate_st |
struct | SHA256state_st |
struct | SHA512state_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 |
#define | SHA256_CBLOCK (SHA_LBLOCK*4) |
#define | SHA224_DIGEST_LENGTH 28 |
#define | SHA256_DIGEST_LENGTH 32 |
#define | SHA384_DIGEST_LENGTH 48 |
#define | SHA512_DIGEST_LENGTH 64 |
#define | SHA512_CBLOCK (SHA_LBLOCK*8) |
#define | SHA_LONG64 unsigned long long |
#define | U64(C) C##ULL |
Typedefs | |
typedef struct SHAstate_st | SHA_CTX |
typedef struct SHA256state_st | SHA256_CTX |
typedef struct SHA512state_st | SHA512_CTX |
Functions | |
int | SHA_Init (SHA_CTX *c) |
int | SHA_Update (SHA_CTX *c, const void *data, size_t len) |
int | SHA_Final (unsigned char *md, SHA_CTX *c) |
unsigned char * | SHA (const unsigned char *d, size_t n, unsigned char *md) |
void | SHA_Transform (SHA_CTX *c, const unsigned char *data) |
int | SHA1_Init (SHA_CTX *c) |
int | SHA1_Update (SHA_CTX *c, const void *data, size_t len) |
int | SHA1_Final (unsigned char *md, SHA_CTX *c) |
unsigned char * | SHA1 (const unsigned char *d, size_t n, unsigned char *md) |
void | SHA1_Transform (SHA_CTX *c, const unsigned char *data) |
int | SHA224_Init (SHA256_CTX *c) |
int | SHA224_Update (SHA256_CTX *c, const void *data, size_t len) |
int | SHA224_Final (unsigned char *md, SHA256_CTX *c) |
unsigned char * | SHA224 (const unsigned char *d, size_t n, unsigned char *md) |
int | SHA256_Init (SHA256_CTX *c) |
int | SHA256_Update (SHA256_CTX *c, const void *data, size_t len) |
int | SHA256_Final (unsigned char *md, SHA256_CTX *c) |
unsigned char * | SHA256 (const unsigned char *d, size_t n, unsigned char *md) |
void | SHA256_Transform (SHA256_CTX *c, const unsigned char *data) |
int | SHA384_Init (SHA512_CTX *c) |
int | SHA384_Update (SHA512_CTX *c, const void *data, size_t len) |
int | SHA384_Final (unsigned char *md, SHA512_CTX *c) |
unsigned char * | SHA384 (const unsigned char *d, size_t n, unsigned char *md) |
int | SHA512_Init (SHA512_CTX *c) |
int | SHA512_Update (SHA512_CTX *c, const void *data, size_t len) |
int | SHA512_Final (unsigned char *md, SHA512_CTX *c) |
unsigned char * | SHA512 (const unsigned char *d, size_t n, unsigned char *md) |
void | SHA512_Transform (SHA512_CTX *c, const unsigned char *data) |
typedef struct SHA256state_st SHA256_CTX |
typedef struct SHA512state_st SHA512_CTX |
typedef struct SHAstate_st SHA_CTX |
unsigned char* SHA | ( | const unsigned char * | d, | |
size_t | n, | |||
unsigned char * | md | |||
) |
unsigned char* SHA1 | ( | const unsigned char * | d, | |
size_t | n, | |||
unsigned char * | md | |||
) |
int SHA1_Final | ( | unsigned char * | md, | |
SHA_CTX * | c | |||
) |
int SHA1_Init | ( | SHA_CTX * | c | ) |
void SHA1_Transform | ( | SHA_CTX * | c, | |
const unsigned char * | data | |||
) |
int SHA1_Update | ( | SHA_CTX * | c, | |
const void * | data, | |||
size_t | len | |||
) |
unsigned char* SHA224 | ( | const unsigned char * | d, | |
size_t | n, | |||
unsigned char * | md | |||
) |
int SHA224_Final | ( | unsigned char * | md, | |
SHA256_CTX * | c | |||
) |
int SHA224_Init | ( | SHA256_CTX * | c | ) |
int SHA224_Update | ( | SHA256_CTX * | c, | |
const void * | data, | |||
size_t | len | |||
) |
unsigned char* SHA256 | ( | const unsigned char * | d, | |
size_t | n, | |||
unsigned char * | md | |||
) |
int SHA256_Final | ( | unsigned char * | md, | |
SHA256_CTX * | c | |||
) |
int SHA256_Init | ( | SHA256_CTX * | c | ) |
void SHA256_Transform | ( | SHA256_CTX * | c, | |
const unsigned char * | data | |||
) |
int SHA256_Update | ( | SHA256_CTX * | c, | |
const void * | data, | |||
size_t | len | |||
) |
unsigned char* SHA384 | ( | const unsigned char * | d, | |
size_t | n, | |||
unsigned char * | md | |||
) |
int SHA384_Final | ( | unsigned char * | md, | |
SHA512_CTX * | c | |||
) |
int SHA384_Init | ( | SHA512_CTX * | c | ) |
int SHA384_Update | ( | SHA512_CTX * | c, | |
const void * | data, | |||
size_t | len | |||
) |
unsigned char* SHA512 | ( | const unsigned char * | d, | |
size_t | n, | |||
unsigned char * | md | |||
) |
int SHA512_Final | ( | unsigned char * | md, | |
SHA512_CTX * | c | |||
) |
int SHA512_Init | ( | SHA512_CTX * | c | ) |
void SHA512_Transform | ( | SHA512_CTX * | c, | |
const unsigned char * | data | |||
) |
int SHA512_Update | ( | SHA512_CTX * | c, | |
const void * | data, | |||
size_t | len | |||
) |
int SHA_Final | ( | unsigned char * | md, | |
SHA_CTX * | c | |||
) |
int SHA_Init | ( | SHA_CTX * | c | ) |
void SHA_Transform | ( | SHA_CTX * | c, | |
const unsigned char * | data | |||
) |
int SHA_Update | ( | SHA_CTX * | c, | |
const void * | data, | |||
size_t | len | |||
) |