sha.h File Reference

API published in:
API deprecated in:


#include <openssl/e_os2.h>

Go to the source code of this file.


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)

Define Documentation

#define SHA_CBLOCK   (SHA_LBLOCK*4)
 
#define SHA_DIGEST_LENGTH   20
 
#define SHA_LAST_BLOCK   (SHA_CBLOCK-8)
 
#define SHA_LBLOCK   16
 
#define SHA_LONG   unsigned int
 

Typedef Documentation

typedef struct SHAstate_st SHA_CTX
 

Function Documentation

IMPORT_C unsigned char* SHA const unsigned char *  d,
size_t  n,
unsigned char *  md
 
IMPORT_C unsigned char* SHA1 const unsigned char *  d,
size_t  n,
unsigned char *  md
 
IMPORT_C int SHA1_Final unsigned char *  md,
SHA_CTX c
 
IMPORT_C int SHA1_Init SHA_CTX c  ) 
 
IMPORT_C void SHA1_Transform SHA_CTX c,
const unsigned char *  data
 
IMPORT_C int SHA1_Update SHA_CTX c,
const void *  data,
size_t  len
 
IMPORT_C int SHA_Final unsigned char *  md,
SHA_CTX c
 
IMPORT_C int SHA_Init SHA_CTX c  ) 
 
IMPORT_C void SHA_Transform SHA_CTX c,
const unsigned char *  data
 
IMPORT_C int SHA_Update SHA_CTX c,
const void *  data,
size_t  len
 

Copyright © Nokia Corporation 2001-2008
Back to top